Setting paths which depend on CMAKE_INSTALL_PREFIX

David Jarvie djarvie at kde.org
Fri Jun 5 15:44:36 CEST 2009


On Friday 5 June 2009 11:42, Andreas Pakulat wrote:
> On 05.06.09 10:20:25, David Faure wrote:
>> You need to set $KDEDIRS somewhere that kde startup will read, and rerun
>> kbuildsycoca4, when you use another prefix than your KDE install prefix.
>> So in general it's much easier to install every kde app into the KDE
>> install prefix.
>
> I expect that people that compile from sources are able to find this
> particular information in whatever tutorial they follow. Else that
> tutorial is broken.

In my experience, not everybody who compiles individual packages from
source knows much about what they are doing, and they certainly don't
always read even the most obvious instructions on how to do it. So I don't
think your expectation is correct. There will inevitably be quite a few
people who just do the basic build + install, and then complain or file
bug reports (or worse, just give up on the package) when the application
doesn't work.

> If a user is confronted with make install needing more permissions than he
> will just run sudo make install. People do that, without thinking because
> it'll get them a result in no time.
>
> In fact IMHO every of our tutorials should suggest to install into
> $HOME/foobar and then set KDEDIRS+run kbuildsycoca4.

This requires significantly more expertise and - in the eyes of an
inexperienced user - risk, than a mere build + install needs.

-- 
David Jarvie.
KAlarm author & maintainer.
http://www.astrojar.org.uk/kalarm



More information about the Kde-buildsystem mailing list