Cannot "make install" in KDE4 because CMake sets the wrong install-dir

Alexander Neundorf neundorf at kde.org
Fri Jun 8 05:28:35 BST 2007


On Thursday 07 June 2007 07:24, Carsten Niehaus wrote:
> Moin
>
> kdelibs from 2 days ago, Qt 4.3-final, CMake 2.4.6. OpenSUSE 10.2, latest
> svn of kdeedu.
>
> As you can see here
>
> http://rafb.net/p/KsCM3V63.html
>
> I am using a clean build-dir and using
>
> -DCMAKE_INSTALL_PREFIX=/home/kde4/kde/
>
> I have not the slightest idea why make install wants the files to go to
> /usr.
>
> Can anyone help here? Please CC me in replies.

Your the third person who considers this new behaviour (KDE apps follow to 
kdelibs install location) a bug.
It reuses the install dirs from the installed kdelibs.
I changed it now so the install dirs are only reused if the current 
CMAKE_INSTALL_PREFIX equals the install dir from kdelibs.
Let me know if that works for you as expected.

You have to update kdelibs/cmake/modules/FindKDE4Internal.cmake to get the new 
behaviour.

Bye
Alex



More information about the kde-core-devel mailing list