Thursday, November 06, 2003

KDevelop 3.0 (snapshot20031031) with MDK 9.2
From the Kdevelop forum, posted by Bluepanther


1.) do the make cvs "make -f Makefile.cvs". It will generate the configure script and so on
2.) exec "./configure --prefix=/usr" now it configures all and creates the Makefile's
3.) edit the file "languages/Makefile"
3.1.) search for the entry "SUBDIRS=" and remove: pascal, ada (this three plugins make an error by compiling it... you will miss it when you need one or both of this two languages, but if you needn't it you won't need it
4.) now execute "make" in the root directory of the sources
5.) now su to root and "make install"
6.) now ther comes the dirty part ^^... cd to the directory "/usr/local" and execute "ln -s /usr kde". why you ask? it's simple, when you wana create a new project with the wizzard, it searsches for a perl module called "kdevelop.pm". but it won't search in the correct dir "/usr/share/..." it search in the dir "/usr/local/kde/share/..." and so you need this link
7.) now lets make the last step... kdevelop will not find itself... I now this is funny but true. when you start it now it will cry, that it doesn't find its plugins ^^
But the solution is simple.
Execute in a console "export KDEDIRS=/usr/bin:/usr:$KDEDIRS && kbuildsycoca"

so, now its done, execute "kdevelop"... it will start fine, and now you can work with it. I don't know if there are mor problems, but if I find sone I will try to solve it and post it here.

Mandrake bashrc profile for compiling Gideon
this was also posted in the forum

The other thing you have to do is set the KDEDIRS environment variable so that KDE understands where to find application data (otherwise Gideon will start and not be able to find its own bits and pieces).

I put the following things in my .bash_profile :

export PATH=$PATH:$HOME/usr/bin:/usr/lib/qt3/bin
export KDEDIR=/usr
export QTDIR=/usr/lib/qt3
export KDEDIRS=/usr:/home/nic/usr
export LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH
export LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LIBRARY_PATH

I run Mandrake, so the locations of KDE and QT may be different for you..

Sources:
KDevelop Forum #1
KDevelop Forum #2