Main Page | Recent changes | Edit this page | Page history

Printable version | Disclaimers | Privacy policy

Not logged in
Log in | Help
 

KDevelop 4/compiling

From KDevelop

< KDevelop 4

[edit] Howto compile KDevelop 4

Make sure to install the required KDE development packages, see KDevelop 4/requirements for a list of requirements. In particular make sure to install KDE4 kdelibs development packages (or build from sources) and make sure that you're using a KDE4 enabled shell. That means KDEDIRS variable should point to the installation directory of KDE4, not KDE3.

[edit] Installing KDevelop Development Platform

First you'll have to install the kdevplatform module, its currently only available as svn checkout from: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdevplatform. To check it out into $HOME/src execute the following:

       svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdevplatform $HOME/src/kdevplatform

After that is done, create a build directory inside the new kdevplatform directory and change into that directory:

       mkdir $HOME/src/kdevplatform/build
       cd $HOME/src/kdevplatform/build

Now you can run cmake to generate the build files, I will use $HOME/kde4 as installation target directory:

       cmake -DCMAKE_INSTALL_PREFIX=$HOME/kde4 ../

And after that run make and make install:

       make && make install

Now the KDevelop Development Platform is installed in $HOME/kde4. If you installed KDE4 from packages or didn't install it into $HOME/kde4 you'll have to adjust the KDEDIRS variable to additionally include $HOME/kde4.

[edit] Installing KDevelop

This follows the same procedure as kdevplatform, just with a different subversion checkout:

       svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdevelop $HOME/src/kdevelop
       mkdir $HOME/src/kdevelop/build
       cd $HOME/src/kdevelop/build
       cmake -DCMAKE_INSTALL_PREFIX=$HOME/kde4 ../
       make && make install

After that KDevelop4 should be runnable from $HOME/kde4/bin/kdevelop.

If you find any bugs or problems with KDevelop4 please don't report them on bugs.kde.org, KDevelop4 is not yet meant for general use and changes very fast. Please report any issues you find on our developer mailinglist.

Retrieved from "http://www.kdevelop.org/mediawiki/index.php/KDevelop_4/compiling"

This page has been accessed 7,438 times. This page was last modified 12:57, 12 June 2008. Content is available under GNU Free Documentation License 1.2.


[Main Page]
Main Page
Community portal
Current events
Recent changes
Help
Donations

Edit this page
Discuss this page
Page history
What links here
Related changes

Special pages
Bug reports