Now download the prerequisites and compile the libraries
First you have to compile the QT 2.2.2 or QT 2.2.3 sources. I assume the user has his QT sources in /usr/lib/qt2, his KDE2 sources in /usr/src/kde2/kdelibs and his KDE2 directory is /usr/local/kde2, if you don't like it use your own settings for this.
export QTDIR=/usr/lib/qt-2.2.2 cd $QTDIR ./configure -sm -system-libpng -system-jpeg make
If you have enough RAM and a fast computer you can speedup the compile process by adding "-j2" to the make options. For example "make -j2". If you have a slow computer with little RAM exit X windows and run make from a terminal to speed up the process. After the compiling process is finished you have to compile your KDE2 stuff. Please do something like this:
export QTDIR=/usr/lib/qt-2.2.2 export KDEDIR=/usr/local/kde2 cd /usr/src/kde2/kdelibs ./configure make make install
The compilation of QT and KDE should finish without problems or errors. It's possible to add "-j2" again to speed up the compiling process if you have enough RAM and a fast PC.