Skip to content

KDE 3.0 Compilation Requirements

Library Requirements / Options. KDE 3.0 requires or benefits from the following libraries, most of which should be already installed on your system or available from your OS CD or your vendor's website:

BasicHelp/Manuals
  • Qt 3.0.3 (required)
  • an X Server (required) with various optional extensions (XFree86 4.2.x, which includes all the enumerated extensions, is recommended)
    • the RENDER extension for beautiful anti-aliased fonts
    • the DPMS extension Energy Star display power management
    • the Xinerama extension for modern multi-head displays
    • the XVideo extension for enhanced video playback
  • GhostScript for PostScript/PDF support (preferably 6.50 or later)
  • MySQL, PostgreSQL, or unixODBC for database support
  • Berkely DB II is highly recommended for KBabel, the KDE translation tool
  • Python for scripting in some KOffice components
  • Perl for scripting in KSirc and automating updates of configuration files for new releases
  • gzip and bzip2 for data compression
  • TeX and for LaTeX document processing
  • libxml2 >= 2.3.13 and libxslt >= 1.0.7 for reading documentation
  • ht://dig for indexing and searching documentation with KDevelop
 
HardwareNetworking
  • CUPS >= 1.1.9 for enhanced printing administration, options and usability
  • gphoto2 >= 2.0.1 devel for accessing images on digital cameras
  • SANE for scanning support
  • lm-sensors for monitoring motherboards
  • mtools for accessing a floppy disk as floppy:/ from Konqueror
  • pppd for dialup networking
  • libsmb for browsing Windows/NetBIOS shares
  • libldap for LDAP address book support
  • FAM for efficient file/directory change notification
 
Browsing/InternetEncryption/Security
  • Java Virtual Machine >= 1.3 for Java applet support
  • a recent version of Lesstif or Motif for Netscape Communicator plugin support
  • WINE for executing certain MS Windows controls and applets
  • Crossover Plugin for Quicktime, Shockwave Director, Windows Media Player 6.4 and MS Office viewer support
  • OpenSSL >= 0.9.6x for HTTPS, SFTP, SSH, VPN and more (versions 0.9.5x are no longer supported)
  • GnuPG or PGP for email/document encryption/decryption
  • JSSE 1.0.2 for Java applets requiring SSL/HTTPS (common with online banking) - included with a JVM 1.4
  • PAM for services (such as login) authentication
 
GraphicsMultimedia
  • OpenGL for some 3D screensavers and some 3D graphics programs
  • SDL >= 1.2.0 for some Noatun plugins
  • libtiff for viewing facsimiles
  • libmng, libpng and libjpeg for viewing images
  • imlib 1 for using Kuickshow for viewing a wide variety of image formats
  • freetype 2 for anti-aliased font handling and manipulation
  • PDFinfo for enhanced PDF file browsing

Compiler Requirements. KDE is designed to be cross-platform and therefore supposed to compile with a variety of GNU/Linux - UNIX compilers. However, both the set of available compilers as well as KDE is advancing very rapidly, so the ability to compile KDE on various UNIX systems depends on users reporting compile problems with possible fixes to the KDE project.

In addition, C++ support by gcc, the most popular compiler used on GNU/Linux and many traditional UNIX systems, has undergone major improvements. There are many known compile and code generation problems with older gcc/egcs releases, therefore the support for those compilers has been dropped.

In particular, gcc versions earlier than gcc-2.95, such as egcs-1.1.2, gcc-2.8.x or gcc-2.7.x are no longer supported. In addition, some components of KDE 3.0, such as aRts, generally will be incorrectly compiled by unpatched versions of gcc 3.0.x (this problem should be fixed with the release of gcc-3.1). The code generation bug does not lead to a compile failure, but rather just unexpected problems at runtime.

While there have been reports of successful KDE compilations with recent versions of the "Red Hat-gcc" 2.96 and gcc-3.1 CVS snapshots, the KDE project at this time continues to recommend the use of gcc-2.95.* for compiling KDE.