|
|
[[_TOC_]]
|
|
|
|
|
|
## The git branch is broken! What do I do now?
|
|
|
|
|
|
Usually the reason for this is that one of the developers made a change to the code that requires a clean reconfigure. Please run a `git pull --rebase` to update your local repository.
|
|
|
|
|
|
If you still have a problem compiling, contact the project maintainers. Refer to the [Support page](https://kmymoney.org/support.html) for the means of contact available.
|
|
|
|
|
|
## When I compile from source, all the icons show up as missing. What did I do wrong?
|
|
|
|
|
|
See [Debugging](#debugging) section for details. Note that this issue is solved in master by having the [icons embedded into binaries](#packaging-specifics).
|
|
|
|
|
|
## How can I use distcc to help speed up compilation of KMyMoney, or other KDE (C++) applications?
|
|
|
|
|
|
[distcc](http://distcc.samba.org) is a tool developed from the Samba team to help distribute compiling of applications on multiple machines at once. You have to set up distcc on each machine that you want to compile on, and distcc takes care of distributing the compile tasks to all of the various machines. [An article at ibm.com](http://www-106.ibm.com/developerworks/linux/library/l-distcc.html?ca=dgr-lnxw07Distcc) is what got me started, and cut down my compile times by a factor of 8.
|
|
|
|
|
|
After I first installed distcc, I couldn't get the distributed compiling to work. I stumbled upon [this post](http://forums.gentoo.org/viewtopic.php?t=22092) in the gentoo forums which told me how to get distcc to work with C++ applications. After I created the /usr/bin/dist++ shell script, (and performing an 'export CXX=dist++'), the next time I ran make on KMyMoney, it was being compiled on two machines.
|
|
|
|
|
|
My compile with distcc was about 8 times as fast as compiling just on my local machine. My local machine is a Athlon XP 1700, 512 MB ram. Compiling with just the local machine took 17m51s after running make clean on my current codebase. I added my second computer, a 2.4 GHz Celeron, with 384 MB ram, and the compile time shrank to 2m45s.
|
|
|
|
|
|
Another useful link on this topic is at [OSNews.com](http://www.osnews.com/comment.php?news_id=7460). |