Skip to Main Content
Linux Desktop Hacks
book

Linux Desktop Hacks

by Nicholas Petreley, Jono Bacon
March 2005
Beginner to intermediate content levelBeginner to intermediate
342 pages
15h 55m
English
O'Reilly Media, Inc.
Content preview from Linux Desktop Hacks
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Linux Server Hacks, Volume Two

Linux Server Hacks, Volume Two

William von Hagen, Brian K. Jones
Introducing Linux Distros

Introducing Linux Distros

Jose Dieguez Castro

Publisher Resources

ISBN: 0596009119Supplemental ContentCatalog PageErrata