[Kmymoney-devel] cmake on Ubuntu Problem

Fathi Boudra fabo at kde.org
Tue Mar 23 08:52:17 CET 2010


>> This got me 99% of the way, but there was an additional dependency missed
>> from this list:
>> gettext

gettext is needed for translations and documentations.

There's a requirement (cmake check) when you use the released tarballs,
but not If you use the source code from KDE svn:
find_package(Msgfmt REQUIRED)
find_package(Gettext REQUIRED)
add_subdirectory( po )
add_subdirectory( doc-translations )
add_subdirectory( doc )

During the cmake tests, you should have the following lines:
-- Looking for dgettext
-- Looking for dgettext - found
-- Found Gettext: built in libc
-- Configuring done
-- Generating done

I guess you used a tarball ? and the gettext check should have failed.
It seems it doesn't failed as expected ?

@Alvaro: gettext isn't a dependency of kdelibs package (in packaging term).
we don't do something wrong wrt kdelibs.
We require gettext in KMyMoney as we need it and the test should have failed,
now let's figure out why :)

Note: Debian/Ubuntu build log shows gettext is installed with the
build dependencies I gave previously.
https://buildd.debian.org/fetch.cgi?&pkg=kmymoney&ver=3.96.1-1&arch=i386&stamp=1268951118&file=log

Cheers,

Fathi


More information about the KMyMoney-devel mailing list