2 cmake build problems: (2) kdelibs4_snapshot

Brad King brad.king at kitware.com
Wed Mar 1 23:07:11 CET 2006


Kurt Pfeifle wrote:
> Looks like kdelibs4_snapshot installation didnt install that "kalyptus" 
> script. And indeed, not any "dcopidl" subdir at all in the named
> "/opt/kde40svn/share/config/"
> 
> Going back to kdelibs4_snapshot build directory:
> 
>  - from top kdelibs4_snapshot build directory, "make" finishes without 
>    error, and "sudo make install" also does not show any error;
>  - "cd dcop/dcopidlng ; make" finishes without error (dfaure told me 
>    in IRC it is all Perl, so no wonder :)

The top "make" should have built this already anyway.

>  - but "cd dcop/dcopidlng ; sudo make install" gives this error:
>    [....]
>    make[1]: Leaving directory `/home/kdev4/src/kde40svn/trunk/KDE/build/kdelibs4_snapshot'
>    make -f CMakeFiles/Makefile2 preinstall
>    make[1]: Entering directory `/home/kdev4/src/kde40svn/trunk/KDE/build/kdelibs4_snapshot/dcop/dcopidlng'
>    make[1]: CMakeFiles/Makefile2: No such file or directory
>    make[1]: *** No rule to make target `CMakeFiles/Makefile2'.  Stop.

This is a bug in the recent relinking support added in CMake for rpath 
stuff that shows up when a directory does not build anything.  I'll fix 
it in CMake.

The problem in KDE is simply that the dcop/dcopidlng/CMakeLists.txt file 
has no rule to install the perl script.

-Brad


More information about the Kde-buildsystem mailing list