[Digikam-devel] Problems building digikam from trunk

Gerhard Kulzer gerhardkgmx at gmail.com
Wed Feb 13 10:07:49 GMT 2008


On Wednesday 13 February 2008 Angelo Naselli wrote:
> Hi i seem i can't build digikam from trunk.
> First of all Gilles' bootstrap doesn't work for x86_64
> arch, but that's not the point, will provide a better
> one later. 
> Anyway the real point is i can't build it because from
> graphics cmake fails:
> CMake Error: IMLIB_DIR is not set.  It must be set to the directory containing IMLIBConfig.cmake in order to use IMLIB.
> the failing line is macro_optional_find_package(IMLIB)
> I seem to have imlib installed, but i don't know what cmake is
> looking for.... 
> So i commented that line and after that it seems cmake (or kde stuff don't know)
> does not care of PKG_CONFIG_PATH, after running cmake i've got 
> (libkipi for instance):
> [...]
> -- Found Kipi library in cache: /usr/lib64/libkipi.so
> [...]
> -- libkipi library found.......... YES
> That means the kde3 one, but
> pkg-config libkipi --cflags --libs
> -I/home/angelo/src/KDE/TEST-KDE4/include  -L/home/angelo/src/KDE/TEST-KDE4/lib64 -lkipi
> 
> That means pkg-config knows what taking thanks to PKG_CONFIG_PATH, e.g. my local 
> installation...
> 
> Any help?

This has to do with you KDE4 installation, Angelo, cmake does not find the macros that come with KDE4 like macro_optional_find_package. Find these macros and link that directory into the cmake macro folder (anyway, that's the way I solved it for me).
Gerhard
> Thanks
> 	Angelo
> 



-- 
><((((º> ¸.·´¯`·... ><((((º> ¸.·´¯`·...¸ ><((((º>
http://www.gerhard.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20080213/e68b7548/attachment.sig>


More information about the Digikam-devel mailing list