problem with cmake 2.6RC6 and KDE 4

Dirk Mueller mueller at kde.org
Mon Apr 14 11:54:34 CEST 2008


Hi, 

I've switched to cmake 2.6 for dashbot 
(http://ktown.kde.org/~dirk/dashboard/). The problem I have now is this: 

CMake Error at cmake/automoc/cmake_install.cmake:39 (FILE):
  file CHRPATH could not write new RPATH "/opt/testing/lib" to the file
  "/var/tmp/kdelibs-796689-build/opt/testing/bin/kde4automoc": No valid ELF
  RPATH entry exists in the file;


how can I get rid of that? this is KDE trunk, configured with: 

cmake -DKDE4_BUILD_TESTS=ON -DCMAKE_INSTALL_PREFIX=/opt/testing -DCMAKE_BUILD_TYPE=release

a slightly related and annoying note: for some projects (e.g. strigi) it 
writes an empty rpath into the binaries during installation instead of 
removing the rpath. that breaks certain checks and is dangerous, as some 
ld.so versions interpret empty as "current directory" which allows trivially 
to hijack applications by e.g. adding a hacked libc.so.6 to the start up 
directory. 


Thanks,
Dirk


More information about the Kde-buildsystem mailing list