I downloaded (towards dawn) the source pieces for KDE 2.1.1 along with version
2.3.0 of Qt. With the steps below, I was able to build and install each of
the parts, and have the result run really quickly and smoothly, at least thus
I'm really impressed. It has some really nice improvements over the kde 1.1.2
I've been using for a while. This is on a Toshiba Portege 7200 laptop running
something that's between RedHat 6.2 and RedHat 7.0 (lots of stuff updated, but
not formally upgraded).
The two catches I've found was that I had to run
from its src tree to convert my ~/.kde/share/applnk files from `*.kdelnk'
to `*.desktop' so they'd actually be recognized and used. Of course I had a
good number that did not have `.kdelnk' on them, so I had to rename them by
hand and adjust the `.directory' file entries as well.
Second, I'm still trying to figure out the glitch that's making some of my KDE
preferences not be carried over. I put ~/.kderc into ~/.kde/share/config, but
that didn't seem to solve it for me.
Still, pretty slick I think.
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
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.
CTO, nobie.com (http://www.nobie.com/)
-- Finally true Net marketing in .ie
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!