Can we please have an updated and confirmed working "build KDE from source as separate user"?

David Faure faure at kde.org
Thu Jan 5 16:48:42 GMT 2012


On Thursday 05 January 2012 16:03:53 Mark wrote:
> I did exactly that and it doesn't change one thing. It still reads from /usr
> 
> [kde-devel at Mark-Linux ~]$ kde4-config --localprefix
> /home/kde-devel/.kde/
> [kde-devel at Mark-Linux ~]$ kde4-config --path exe
> /home/kde-devel/.kde/lib/kde4/libexec/:/home/kde-devel/kde/lib/kde4/libexec/
> :/home/kde-devel/kde/bin/ [kde-devel at Mark-Linux ~]$
> 
> I added my "profile.sh" to .kde/env/ and still nothing.
> 
> [kde-devel at Mark-Linux ~]$ echo $LD_LIBRARY_PATH
> /home/kde-devel/kde/lib:/home/kde-devel/kde/lib:/home/kde-devel/kde/lib:/hom
> e/kde-devel/kde/lib: [kde-devel at Mark-Linux ~]$ echo $PATH
> /home/kde-devel/kde/bin:/home/kde-devel/kde/bin:/home/kde-devel/kde/bin:/hom
> e/kde-devel/kde/bin:/home/kde-devel/kde/bin:/usr/local/bin:/usr/bin:/bin:/us
> r/local/sbin:/usr/sbin:/sbin:/usr/share/java/apache-ant/bin:/usr/bin/vendor_
> perl:/usr/bin/core_perl [kde-devel at Mark-Linux ~]$

You're testing your shell's settings, not the settings viewed by kde apps.
What I do is to source ~/.kde4/env/foo.sh from my shell too, so they both see 
the same.

(Or rather, I make both foo.sh and my shell source the same setup file)

This is off-topic for kde-core-devel, let's discuss this on IRC if you still 
can't get it to work.

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. KDE Frameworks 5





More information about the kde-core-devel mailing list