Setting paths which depend on CMAKE_INSTALL_PREFIX

Matthew Woehlke mw_triad at users.sourceforge.net
Tue Jun 9 01:37:57 CEST 2009


Andreas Pakulat wrote:
> On 05.06.09 19:42:12, Michael Jansen wrote:
>>>>> will screw their /usr directory.
>>>> How? Typically "make install" as user is not able to write into
>>>> root-owned /usr. So it has to be intentionnal, anyway, in that setup.
>> /usr/local is root owned too. At least here. So many tutorials say
> 
> Ah, right, my bad. I've made it user-writeable for my user here as I
> wanted to share my KDE4 (because its the only DE on this machine).

The correct approach, of course, is what I do:

$ echo $KDEDIR
/usr/local/kde
$ su
# mkdir /usr/local/kde
# chown kdebuilder:builder /usr/local/kde
# exit
$ # cmake, make, make install

:-)

-- 
Matthew
Please do not quote my e-mail address unobfuscated in message bodies.
-- 
Current geek index: 68%



More information about the Kde-buildsystem mailing list