Compiling KMyMoney from CVS

asoliverez's picture

This is actually just a reminder to myself on how to compile CVS from scratch, but I thought it could be handy to others.

I run Kubuntu Jaunty, so you have to install the KDE3 development libs (please note that the kdelibs4-dev is the package for KDE3. Weird Debian package naming!):

sudo apt-get install kdelibs4-dev

After that, in the source folder, run this command.

make -f Makefile.dist && ./configure --enable-qtdesigner --enable-debug=full --without-arts && make && sudo make install && make check

This sentence will compile with debug symbols and support for Qt Designer, install, and run the unit tests after the install.

UPDATE: No need to setup a PPA, the development libs for KDE3 are still in the Jaunty repositories. Thanks Clay!

Comments

kdelibs4

Well, actually. If you look at the kdelibs that shipped with kde 3, it was called kdeXXX.so.4 - long story, but it involved version bumps back in the kde 1.1 era, iirc. Debian just has a tendency to name their packages to match the .so file versions, which I guess is sane for most libs...

Cheers -- Troy

Order of commands

Is there any reason I don't see why you execute the tests after installation? I would do that before. BTW, make check includes the regular make AFAIK. So the command line would be

make -f Makefile.dist && ./configure --enable-qtdesigner --enable-debug=full --without-arts && make check && sudo make install

asoliverez's picture

make install is needed before make check

In my experience, I have always needed to run make install before the tests. There have been instances where I didn't, and the tests wouldn't run. That's why I use this particular order.