SVN Branches
| svn branch | purpose | scheduled versions | release date |
|---|---|---|---|
| trunk/extragear/sdk/ | unstable development for KDE >= 4.3 entirely new code base, rewritten from scratch |
KDevelop-4.0 | ( 31 March 2010 ) |
| KDE/3.5 | stable for KDE >= 3.4 | KDevelop-3.5.0 has been released with KDE-3.5.8 KDevelop-3.5.x bugfix versions will be released together with KDE-3.5.x | KDE-3.5.8 release schedule ( 16 October 2007 ) |
| KDE/3.5 | stable for KDE >= 3.4 | KDevelop-3.4.0 has been released with KDE-3.5.6 KDevelop-3.4.x bugfix versions will be released together with KDE-3.5.x | KDE-3.5.6 release schedule ( 25 January 2007 ) |
| kdevelop/3.3 | stable for KDE >= 3.2 | KDevelop-3.3.0 has been released with KDE-3.5 KDevelop-3.3.x bugfix versions will be released together with KDE-3.5.x | KDE-3.5 release schedule ( 29 November 2005 ) |
| KDE/3.4 | stable for KDE >= 3.2 | KDevelop-3.2.0 has been released with KDE-3.4 KDevelop-3.2.x bugfix versions will be released together with KDE-3.4.x | KDE-3.4 release schedule ( 16 March 2005 ) |
| KDE/3.3 | stable for KDE >= 3.2 | KDevelop-3.1.0 has been released with KDE-3.3 KDevelop-3.1.x bugfix versions will be released together with KDE-3.3.x | KDE-3.3 release schedule ( 19 August 2004 ) |
| KDE/3.2 | stable for KDE >= 3.0 entirely new code base, rewritten from scratch | KDevelop-3.0.0 has been released with KDE-3.2 KDevelop-3.0.x bugfix versions will be released together with KDE-3.2.x | KDE-3.2 release schedule ( 03 February 2004 ) |
| kdevelop/2 | stable for KDE-2 and KDE-3. | Version 2.0.0 has been released with KDE-2.2.0 Development of 2.x versions has absolutely been stopped with 2.1.4, version 2.1.5 is just an adaptation to KDE-3.1. |
released on 15/August/2001 |
| kdevelop/1.4 | stable for KDE-1 and KDE-2. | Development of 1.x versions has absolutely been stopped. | released on 6/December/1999 |
To get the latest source code from one of the branches:
Create a directory to put your sources
- $ mkdir kdevelop
- $ cd kdevelop
- command line for HEAD branch:
- $ svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdevelop/ kdevelop
- command line for KDE/3.2 branch:
- $ svn co svn://anonsvn.kde.org/home/kde/branches/KDE/3.2/kdevelop/ kdevelop
KDE/3.2 with the name of the branch you want.
Instructions for a self-compiled version of KDevelop 3.0.x
Get the sources for the KDE_3_2_BRANCH like is explained above.
Before continuing please check if your computer has the required software installed.
Initialize the build system:
The next step is to configure it, to find out more about all the available configure options invoke:
Before continuing please check if your computer has the required software installed.
Initialize the build system:
$ cd kdevelop
$ make -f admin/Makefile.common cvs-clean
$ make -f Makefile.cvs
In order to compile and install KDevelop on your system,
type the commands (we assume you have bash shell) from below in the base directory.
$ export KDEDIR=/where/your/kde3/is
$ export QTDIR=/where/your/qt3/is
$ export LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH
$ export LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LIBRARY_PATH
$ export PATH=$QTDIR/bin:$KDEDIR/bin:$PATH
Note: For obvious reasons you should edit the first two lines to match your configuration! :)The next step is to configure it, to find out more about all the available configure options invoke:
$ ./configure --help
Here is an example of a debug-compiled version:
$ ./configure --enable-debug=full --prefix=$KDEDIR --with-kdelibsdoxy-dir=$KDEDIR/share/doc/HTML/en/kdelibs-apidocs
Here is an example of a release-compiled version:
$ ./configure --prefix=$KDEDIR --with-kdelibsdoxy-dir=$KDEDIR/share/doc/HTML/en/kdelibs-apidocs
You can avoid compiling some KDevelop components that you do not need, for example, I use the following configure command:
$ ./configure --enable-debug=full --prefix=$KDEDIR --with-kdelibsdoxy-dir=$KDEDIR/share/doc/HTML/en/kdelibs-apidocs
--disable-ada --disable-bash --disable-fortran --disable-haskell --disable-java --disable-pascal --disable-perl
--disable-php --disable-python --disable-ruby --disable-sql --disable-antproject --disable-genericproject
--disable-scriptproject --disable-trollproject --disable-clearcase --disable-perforce --disable-subversion
On KDE 3.0.x systems (only for KDE < 3.1) you should also give the following commands:
$ ln -s $KDEDIR/share/apps/ksgmltools2/customization/dtd doc/kdevelop/dtd
$ ln -s $KDEDIR/share/apps/ksgmltools2/customization/dtd doc/kde_app_devel/dtd
$ ln -s $KDEDIR/share/apps/ksgmltools2/customization/dtd doc/kdearch/dtd
Finaly you can build it and install it:
$ make
$ make install (as root)
How to keep your version up to date
After you downloaded and successfully compiled one of the CVS branches above, you'll want to keep it up to date in order to get all the patches. To avoid typing in all the statements that set the necessary environment variables every time you update, you should set them in your .bashrc or .cshrc file.
If you use bash shell add the following lines:
export KDEDIR=/where/your/kde3/is export QTDIR=/where/your/qt3/is export LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH export LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LIBRARY_PATH export PATH=$QTDIR/bin:$KDEDIR/bin:$PATHIf you use tcsh add the following lines:
setenv KDEDIR /where/your/kde3/is setenv QTDIR /where/your/qt3/is setenv LD_LIBRARY_PATH $QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH setenv LIBRARY_PATH $QTDIR/lib:$KDEDIR/lib:$LIBRARY_PATH setenv PATH $QTDIR/bin:$KDEDIR/bin:$PATH
Note: For obvious reasons you should edit the first two lines to match your configuration! :)
Next go to the directory where you've put the kdevelop from CVS files and issue the update command:
$ cd where_kde3src_is/kdevelop $ cvs update -dP
The next step depends on the output of the previous command:
If you got something like:
U /some_directory_path/Makefile.am
You should do:
$ make -f Makefile.cvsand then _ALL_ of the following steps.
If you got something like:
P /some_directory_path/Makefile.am
You should do:
$ ./configure --enable-debug=full --prefix=$KDEDIR --with-kdelibsdoxy-dir=$KDEDIR/share/doc/HTML/en/kdelibs-apidocsand then _ALL_ of the following steps.
$ make $ make install (as root)If for some reason the make command fails you can force it to ignore errors by adding the -k option. Depending on the error gravity you might end up with a working or non-working version of kdevelop. So do the "make -k install" at your own risk!!!. Any way these errors usually go away after a couple of hours so you might want to try an update again later before the dangerous :) make install command.
$ make -k $ make -k install (as root)That's it! You now have the most up to date version of KDevelop. To start it just do:
$ kdevelopAll you have to do to keep it up to date is to repeat these steps whenever someone on the kdevelop-devel mailing list fixes a bug.
So you're strongly encouraged to join this mailing list.
You should report the bugs you find with the bug submition form. You should not report compilation errors to the bug database. For compilation errors use the mailing list instead.
You can take a look at the bugs in the bug database.
How to compile on FreeBSD
Follow the normal instructions, but use gmake instead of make and after
$ gmake -f Makefile.cvs
do:
$ export CXXFLAGS="-L/usr/X11R6/lib -I/usr/local/include/db41 -I/usr/local/include -L/usr/local/lib -I/usr/X11R6/include"
Note that you need the berkeley db 4.1 installed, if you have another
version, you need to adjust the path.Change the line "ac_cv_bdb=no" to "ac_cv_bdb=yes" in the configure file because otherwise, configure can't find the db libraries.
To see which version you have installed:
$ pkg_info | grep db41
db41-4.1.25_1 The Berkeley DB package, revision 4.1
The FreeBSD guys renamed libdb.so to libdbxx.so. So replace "-ldb" by "-ldb41" in lib/catalog/Makefile.amThen you can continue the normal process:
$ ./configure --prefix=/blah --enable-debug=full
Other versions
- KDevelop - HEAD SVN Branches & Compiling
- KDevelop - 3.5.x SVN Branches & Compiling
- KDevelop - 3.4.x SVN Branches & Compiling
- KDevelop - 3.3.x SVN Branches & Compiling
- KDevelop - 3.2.x SVN Branches & Compiling
- KDevelop - 3.1.x SVN Branches & Compiling
- KDevelop - 3.0.x SVN Branches & Compiling
- Compiling section at KDevelop - 2.x main info
- Compiling section at KDevelop - 1.x main info
This page was last updated on: Mon Feb 2 01:50:26 2009
If there are any problems with the website, please contact the webmaster.