ftp://ftp.kde.org/pub/kde/stable/latest/src/ You will also need to download the latest matching version of QT (QT 3.0 for KDE 3.0): ftp://ftp.trolltech.com/qt/source/ [ qt-x11-free-3.0.x.tar.gz ] cd /usr/local tar xzf /usr/src/qt-x11-free-3.0.?.tar.gz ln -s qt-x11-free-3.0.? qt-3 ln -s qt-3 qtI use a quick shell-script to compile QT... #!/bin/bash cd /usr/local/qt-3 export QTDIR=$PWD export YACC='byacc -d' export PATH=$PATH:$QTDIR/bin ./configure -release -shared -system-zlib \ -qt-gif -system-libpng -system-libjpeg -system-libmng \ -qt-imgfmt-mng -qt-imgfmt-jpeg -qt-imgfmt-png -thread \ -stl -sm -xrender -xinerama -no-g++-exceptions make symlinks sub-src sub-toolsI use another quick shell script to compile and install all the parts of KDE 3 ...
#!/bin/bash
VERSION=0.3
BUILDDIR=/usr/src/kde3/build
SOURCEDIR=/usr/src/kde3
export QTDIR=/usr/local/qt-3
for each in arts-1.${VERSION} kdelibs-3.${VERSION}a kdebase-3.${VERSION} \
kdeaddons-3.${VERSION} kdeartwork-3.${VERSION} kdegraphics-3.${VERSION} \
kdemultimedia-3.${VERSION} kdenetwork-3.${VERSION} kdepim-3.${VERSION} \
kdeutils-3.${VERSION}
do
cd $BUILDDIR; tar xyf $SOURCEDIR/${each}.tar.bz2;
cd ${each} && \
./configure --disable-debug --with-xinerama --with-ssl-dir=/usr/local/ssl > ../${each}-configure.log && \
make && make install && cd .. && rm -rf ${each}
done
The script is set up so that if a directory is left behind in $BUILDDIR it means it did not finish compiling and installing correctly. You will need to go into each leftover directory in $BUILDDIR and try and determine why it didn't compile.
Add /usr/local/kde/bin to your default login profile (usually in /etc/profile, something like export PATH=$PATH:....:/usr/X11R6/bin:/usr/local/kde/bin). Edit your /etc/inittab file. If you're not running Slackware (which is already set up), edit/replace the line that starts with x:5:respawn:... x:5:respawn:/usr/local/kde/bin/kdm -nodaemon Restart the init process (which is always PID 1) kill -HUP 1 Finally, from the kdebase source directory run: ./kdm/kfrontend/genkdmconf --no-old (this will generate a generic kdmrc file without using any existing XFree86 files as defaults) Finally - to clean things up you will want to edit: /usr/local/kde/share/config/kdm/kdmrc And uncomment and edit this line: MinShowUID=100 If you can start KDM and log into KDE sucessfully (run /sbin/init 5), then make it your default by editing /etc/inittab again. (Use runlevel 4 for Slackware). id:5:initdefault:
Last modified: Wednesday, December 31 1969 @ 19:00 EST
© Ian Samuel, 2010 http://braindump.MrZesty.net |