Getting Started/Build/Historic/KDE 2.2.2: Difference between revisions
m (s/code/tt) |
m (https://download.qt.io/archive/qt/) |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 3: | Line 3: | ||
== Requirements == | == Requirements == | ||
To compile KDE you need: | To compile KDE you need: | ||
* [ | * [https://download.qt.io/archive/qt/ Qt 2.3.1] | ||
* [ftp://ftp.gnu.org/pub/gnu/automake/ Automake 1.5] and [ftp://ftp.gnu.org/pub/gnu/autoconf/ Autoconf 2.5] | * [ftp://ftp.gnu.org/pub/gnu/automake/ Automake 1.5] and [ftp://ftp.gnu.org/pub/gnu/autoconf/ Autoconf 2.5] | ||
* a C++ compiler which supports exceptions, preferably [http://gcc.gnu.org/gcc-2.95/gcc-2.95.3.html gcc-2.95.x]. | * a C++ compiler which supports exceptions, preferably [http://gcc.gnu.org/gcc-2.95/gcc-2.95.3.html gcc-2.95.x]. | ||
Line 16: | Line 16: | ||
In order to run KDE applications, you need the Qt and kdelibs packages. For a simple desktop (with a window manager, panel, etc), you will also need kdebase. The other packages contain many other applications by topic: networking, graphics, multimedia, games, utilities, toys, software development, etc. | In order to run KDE applications, you need the Qt and kdelibs packages. For a simple desktop (with a window manager, panel, etc), you will also need kdebase. The other packages contain many other applications by topic: networking, graphics, multimedia, games, utilities, toys, software development, etc. | ||
You can find the Qt library (version 2.3.1) at | You can find the Qt library (version 2.3.1) at https://download.qt.io/archive/qt/ | ||
KDE 2.2.2 is available from | KDE 2.2.2 is available from ftp://ftp.kde.org/pub/kde/Attic/2.2.2/src/ | ||
== Installation == | == Installation == |
Latest revision as of 11:21, 27 August 2022
This page explains how to download and install KDE 2.2.2 from sources.
Requirements
To compile KDE you need:
- Qt 2.3.1
- Automake 1.5 and Autoconf 2.5
- a C++ compiler which supports exceptions, preferably gcc-2.95.x.
- bunzip2 to decompress .bz2 files. You can find it here. Get libbz2 while you're at it, it enables reading of .tar.bz2 files in konqueror, and one day, will give access to .bz2 files to all KDE applications.
- If you want SSL support (for instance for secure web sites in konqueror), make sure you install openssl, version 0.9.6 or later (versions 0.9.5x are not supported).
- For Netscape-plugins support in konqueror, make sure to install lesstif.
- For a better regular-expressions support in Javascript, install libpcre.
- For the KDE help system, you'll need to install libxml2, version 2.3.13 or newer.
- There are additional modules that are compiled if the required library is present, but they aren't critical to run KDE. For instance, libldap for the LDAP kioslave, and cdparanoia for the audiocd kioslave.
Download
In order to run KDE applications, you need the Qt and kdelibs packages. For a simple desktop (with a window manager, panel, etc), you will also need kdebase. The other packages contain many other applications by topic: networking, graphics, multimedia, games, utilities, toys, software development, etc.
You can find the Qt library (version 2.3.1) at https://download.qt.io/archive/qt/
KDE 2.2.2 is available from ftp://ftp.kde.org/pub/kde/Attic/2.2.2/src/
Installation
Unlike most compiled software, Qt is compiled in the place where it will stay instead of using a 'make install'. Please read the INSTALL instructions in the Qt package. You need to set the QTDIR and KDEDIR to the locations where Qt and KDE will be installed, respectively. Also, append $QTDIR/bin and $KDEDIR/bin to your $PATH and $LD_LIBRARY_PATH. Alternatively, instead of using $LD_LIBRARY_PATH, you may add your Qt and KDE library paths to /etc/ld.so.conf, but don't forget to run ldconfig as root after installing Qt and kdelibs, otherwise configure scripts will fail to find the newly installed libraries!
bunzip2 qt-x11-2.3.1.tar.bz2 tar xvf qt-x11-2.3.1.tar cd qt-2.3.1 less INSTALL # Set up QTDIR, KDEDIR, PATH, and LD_LIBRARY_PATH cd $QTDIR ./configure -sm -gif -system-jpeg -no-opengl make
Make sure to compile and install kdelibs before any other packages. Also, if you want to use kdeaddons, it should be compiled last as it requires kdebase, kdemultimedia, etc.
For each KDE package:
bunzip2 <package>.tar.bz2 tar xvf <package>.tar cd <package> ./configure make make install
- Note
- If compiling on a system where GNU make is not the default make (that is, most systems other than Linux), please run gmake && gmake install instead of make && make instally.
- All packages mentioned here have to be compiled with the same compiler!
See the KDE 2.2.2 Info Page for some common encountered problems when running KDE 2.2.2.