How to get KDevelop-2.0 run

F@lk Brettschneider gigafalk at yahoo.com
Tue May 15 14:37:09 BST 2001


Hi Sandy,

please publish this on the News list of www.kdevelop.org.

Cheers,
F at lk
-------------- next part --------------
How to download, compile and install a KDevelop-2.0 snapshot on command line
============================================================================

1.) Create a subdirectory in your home directory:
-------------------------------------------------

cd ~
mkdir kde2src
cd kde2src

2.) Get the source code from the CVS server of KDE:
---------------------------------------------------

cvs -z3 -d :pserver:anonymous at cvs.kde.org:/home/kde co -P -r KDEVELOP_1_4 kdevelop
cvs -z3 -d :pserver:anonymous at cvs.kde.org:/home/kde co -P kde-common
mv kdevelop kdevelop-2.0cvs
cd kdevelop-2.0cvs
ln -s ../kde-common/admin admin

3.) Set the necessary compiler environment:
-------------------------------------------
(Note: The Qt-directory and the KDE-directory can be on a different location
       depending on your Linux distribution. I use the SuSE-7.1 settings)

export QTDIR=/usr/lib/qt2
export KDEDIR=/opt/kde2
export LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib
export LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib

If you are still using a KDE version <= KDE-2.1.1 set additionally:
export CXXFLAGS="-DUSE_QTPRINT_SYSTEM -DUSE_KDE_2_2_1"

4.) Configure the compiler and Compile it:
------------------------------------------

make -f Makefile.cvs
./configure --prefix=$KDEDIR --enable-debug
make

5.) Install it to the global KDE directory:
-------------------------------------------

su root    (and type the root password in)
make install

6.) Start KDevelop2.0
---------------------
Open the 'K' menu of KDevelop and go to 'Development', then click on 'KDevelop 2.0'


...and off we go!


More information about the KDevelop mailing list