cmake doesn't know where to fine kde includes and libs in gentoo. Patch for /usr/share/cmake/Modules/FindKDE3.cmake follows: --- FindKDE3.cmake 2006-09-19 17:06:41.000000000 +0000 +++ /home/farcaller/FindKDE3.cmake 2006-09-19 16:58:08.000000000 +0000 @@ -99,7 +99,7 @@ #SET(CMAKE_MODULE_LINKER_FLAGS "-Wl,--fatal-warnings -avoid-version -Wl,--no-undefined -lc") #now try to find some kde stuff - +EXEC_PROGRAM(kde-config ARGS --prefix OUTPUT_VARIABLE KDE_CFG_PFX) #at first the KDE include direcory # kpassdlg.h comes from kdeui and doesn't exist in KDE4 anymore FIND_PATH(KDE3_INCLUDE_DIR kpassdlg.h @@ -110,6 +110,7 @@ /usr/include/ /usr/include/kde /usr/local/include/kde + ${KDE_CFG_PFX}/include ) #now the KDE library directory @@ -120,6 +121,7 @@ /opt/kde3/lib /usr/lib /usr/local/lib + ${KDE_CFG_PFX}/lib ) GET_FILENAME_COMPONENT(KDE3_LIB_DIR ${KDE3_KDECORE_LIBRARY} PATH )
kde peoples - patch satisfactory?
The lib path can e.g. be lib64 or 32 Please use kde-config --expandvars --install lib respective kde-config --expandvars --install include Should probably go upstream and replace the ugly hardcoded paths.
yes, please get this upstream or reopen with a good patch