
Run KDE on the Bleeding Edge #44
Chapter 5, KDE Desktop
|
147
HACK
Details on getting code via CVS are discussed in “Grab the Latest Source
Code”
[Hack #86]. The anonymous CVSROOT for the KDE code is:
:pserver:anonymous@kde.org:/home/kde
You need to grab the qt-copy, arts, kdelibs, and kdebase modules from CVS.
Compile the modules in the order in which they appear in the earlier list.
Compiling the Code
When you have checked out the code for each module, you need to go into
each module directory, and issue a number of commands to configure and
compile the software. The first command is:
foo@bar:~$ make -f Makefile.cvs
This performs some special logic on the files in the module so that it is suit-
able for compiling. You need to use this command only with a CVS copy of
KDE and not normal, stable, packaged versions. Next, you need to config-
ure the module. This means running a special script called configure, which
checks that you have everything needed to compile the code (such as a com-
piler, linker, etc.) and finalizes the code and makes it ready for compilation.
You can normally run configure like this:
foo@bar:~$ ./configure
Although this is fine, configure has a few options that can be useful. The first is
the
--prefix option that can be used to specify where the compiled software
will be stored. As an example, to store your CVS version of KDE in /opt/kde,
use the following command:
foo@bar:~$ ./configure ...