relative install paths in cmake
Alexander Neundorf
neundorf at kde.org
Thu Jul 13 18:13:44 BST 2006
On Thursday 13 July 2006 16:15, Jason Harris wrote:
> Hello,
>
> I posted this on kde-devel a few days ago, but it didn't get a response
> there.
>
> In my CMakeCache.txt file (in kdeedu), there are three installation path
> variables giving me trouble: LIBEXEC_INSTALL_DIR, LIB_INSTALL_DIR, and
> PLUGIN_INSTALL_DIR. For example, the LIBEXEC one looks like this:
>
> //The subdirectory relative to the install prefix where libraries
> // will be installed (default is /lib)
> LIBEXEC_INSTALL_DIR:PATH=/lib/kde4/libexec
>
> and the other two are similar (i.e., these are the only three whose comment
> description claims them to be a relative path).
>
> The problem is, "make install" tries to install stuff under
> "/lib/kde4/libexec", NOT $INSTALL_PREFIX/lib/kde4/libexec. So they aren't
> really relative paths, despite the description. Since my user doesn't have
> permission to write in /lib, "make install" fails.
Ok, I guess you have current kdelibs ?
I think it was this patch:
http://websvn.kde.org/trunk/KDE/kdelibs/cmake/modules/FindKDE4Internal.cmake?rev=560859&r1=560781&r2=560859
What's the value of LIB_INSTALL_DIR and EXEC_INSTALL_PREFIX in your
CMakeCache.txt ?
Bye
Alex
--
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org - http://www.kde.org
alex AT neundorf.net - http://www.neundorf.net
More information about the kde-core-devel
mailing list