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

Thomas Zander zander at kde.org
Mon Jan 2 07:11:10 GMT 2012


On Monday 02 January 2012 00.49.17 Mark wrote:
> There isn't a good description for what needs to be placed in .bashrc
> and.profile and/or .bash_profile.

Here is what works for me; (in ~/.bash_profile)
---------->
KDEDIR=/home/tzander/work/kde/build-47/installed
export QTDIR=/home/tzander/work/kde/build-47/qt
export KDEDIRS=$KDEDIR
export QTEST_COLORED=1
export PKG_CONFIG_PATH=$KDEDIR/lib/pkgconfig:$PKG_CONFIG_PATH
export MANPATH=$MANPATH:$QTDIR/doc/man/man3
export PATH=$HOME/bin:$KDEDIR/bin:
$QTDIR/bin::/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
unset XDG_DATA_DIRS
unset XDG_CONFIG_DIRS

# for development
export CMAKE_PREFIX_PATH=$KDEDIR
alias cs='cd `pwd | sed -e 's#kde/build-47#kde#'`'
alias cb='cd `pwd | sed -e 's#kde#kde/build-47#'`'
export KDE_DEBUG_NOAREANAME=1
export KDE_DEBUG_NOPROCESSINFO=1
<----------

Additionally; I added this line in my ~/.bashrc
------------->
source ~/.bash_profile
<---------




More information about the kde-core-devel mailing list