I discovered a bug in the way I built Qt before. You have to configure with
`-gif' to make it build in GIF support in the Qt libraries. Without it, GIFs
can't be used for the screen background, and the Konqueror browswer cannot
display GIFs from web sites. Tsk, tsk. I updated the steps below to include
that little tidbit.
0. Download Qt (qt-x11-2.3.0.tar.gz) from:
Get the KDE parts from:
1. build qt:
QTDIR=`pwd` ./configure -thread -no-g++-exceptions -gif
make 2>&1 | tee log
2. Create a dir as root, and make yourself own it:
chown brendan /usr/kde
Then stop being root, since it's unneeded from here on out. If you'd like to
put it somewhere else (and thus not require root to create that placement),
feel free. I'd used /usr/kde in the past on other machines, so thought I'd
revert back to that.
3. Build & install qt 2.3.0:
tar cf - bin lib | (cd /usr/kde/; tar xvf -)
tar -chf - include/|(cd /usr/kde/; tar xvf -)
4. Make sure all subsequent configure runs see it:
5. Build the various parts of KDE using:
./configure --prefix=/usr/kde --with-qt-dir=/usr/kde --with-qt-includes=/usr/kde/include --with-qt-libraries=/usr/kde/lib
make CC='gcc -march=i686' CXX='g++ -march=i686' 2>&1|tee log
make install 2>&1|tee install.log
I'm building with gcc 2.95.2, though I'm next going to try to do the whole
batch (into /usr/kde2 maybe) using my current checkout of the gcc 3.0 branch.
It should give a lot of further speed enhancements due to better optimization.
But the priority was to get a new system up and running before playing around
that much. :)
I did the KDE packages in this order:
I invoked each of those by hand (well, cut and paste) but in retrospect
tucking it into a shell script and just doing them all automatically would've
been less time consuming. But I was having too much fun watching it all
build and looking at the result, I think. :)
6. That's it. Made sure my .bash_profile put /usr/kde/bin in my $PATH, and
then gave it a run. I haven't deleted the rpm-installed KDE 1.1.2 packages
yet, but don't see myself holding out for too long.
Brendan Kehoe brendan at zen.orghttp://www.zen.org/~brendan/
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!