cmake and RPATH

David Faure faure at kde.org
Thu Feb 16 17:14:50 CET 2006


On Thursday 16 February 2006 16:35, Thiago Macieira wrote:
> Brad King wrote:
> >FYI, I've been working on an implementation in CMake to relink targets
> >with an install-tree RPATH before installing.  This is needed even if
> >you don't want any RPATH in the install tree to remove the RPATH that
> >points to the build tree.
> 
> Which begs the question of the default. Why does it build with an rpath of 
> the build tree?
> 
> Most KDE applications can't run before installing, due to other missing 
> stuff (kparts, icons, desktop files, rc files, etc.). I'd expect most 
> developers to be used to installing before running/testing by now.

The kdevelop users would really like a solution which doesn't need installing
first, and for some of the stuff you mention (e.g. rc files) we have solutions
(in KStandardDirs iirc). So if at least the build system allows to run uninstalled
apps (which the old one did), we can work on the other (kde) issues so that
it is actually possible.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).


More information about the Kde-buildsystem mailing list