Version: 0.8.3 (using KDE KDE 3.5.2) Installed from: Gentoo Packages It fails to build without having cppunit installed aclocal: configure.in: 93: macro `AM_PATH_CPPUNIT' not found in library Adding the relevant macro to acinclude.m4.in, configure creation spits out configure.in:88: error: possibly undefined macro: AC_MEMORY_LEAK_CHECK If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.in:123: error: possibly undefined macro: AC_PDF_GENERATION configure.in:129: error: possibly undefined macro: AC_LIBOFX and configure fails later accoridngly. These macros are in acinclude.m4 of KMymoney 0.8.2, but not in acinclude.m4.in so recreation of acinclude.m4 would have failed with this version, too.
Why are you running aclocal? This can't work from the tar-ball. Start with ./configure then you won't have any problems. If you want rebuild the configure script, you have to get the sources from CVS. Those also contain the files you mention. Or am I missing something completely?
configure fails as described above, when cppunit is not available on the system.
Does it help to run configure with option '--disable-cppunit'? I am curious, because I built KMyMoney 0.8.3 on systems that do not have cppunit installed without any problems. Please provide your config.log and the screen output in case this does not work for you (attach them to the bug entry).
btw.: I got two "Your message to KMyMoney2-developer awaits moderator approval" emails from lists.sf.net by now, as well as the one from bugs.kde.org. Would be nice, if the sf.net list emails would not reach those who file bugs here.
Point is: if you want to re-automake/autoconf things, you need cppunit installed, period. Else, it's not required.
Thomas: I wasn't correct regarding configure. It get's indeed recreated. Rex, if this is your last word I have to accept this, of course. I just don't understand why you won't add the relevant macros to acinclude.m4.in. Imho rerunning autotools should always work out of the box and flawlessly. If it's only because of necessary bug fixes downstream (which happens unfortunately too often).
I'm not a kmymoney2 dev, I'm just telling you how things are and work. What you don't understand is that the missing macros are contained in cppunits's .m4 files, which you *would* have, had you installed cppunit as both I and Thomas have suggested. Does that help? Either way, not a kmymoney2 bug.
I understand that very well. My point is that cppunit is not a needed dependency, unless you want to run the make tests, so it shouldn't break missing cppunit, when it's not intended to run the tests.
Well, if you want to/have to recreate configure, please use the foreseen way: run 'make -f Makefile.dist'. That will take care of everything. Jumping into the middle of the logic is not a good idea here. There are a couple of tweaks around the normal autotools in KDE applications which you would miss and things would go crazy afterwards. So please stick with the instructions. Either use configure as is or run 'make -f Makefile.dist' to rebuild it.