LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Re: KDE 2.1.1 + Qt 2.3.0 == easy easy baby

[ILUG] Re: KDE 2.1.1 + Qt 2.3.0 == easy easy baby

Brendan Kehoe brendan at zen.org
Mon Apr 16 15:48:04 IST 2001


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.

B

0. Download Qt (qt-x11-2.3.0.tar.gz) from:

ftp://ftp.trolltech.com/qt/source/qt-x11-2.3.0.tar.gz

Get the KDE parts from:

ftp://ftp.esat.net/.0/ftp.kde.org/pub/kde/stable/2.1.1/distribution/tar/generic/src/

kdeadmin-2.1.1.tar.bz2
kdebase-2.1.1.tar.bz2
kdebindings-2.1.1.tar.bz2
kdegames-2.1.1.tar.bz2
kdegraphics-2.1.1.tar.bz2
kdelibs-2.1.1.tar.bz2
kdemultimedia-2.1.1.tar.bz2
kdenetwork-2.1.1.tar.bz2
kdepim-2.1.1.tar.bz2
kdesupport-2.1.tar.bz2
kdetoys-2.1.1.tar.bz2
kdeutils-2.1.1.tar.bz2

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:
   mkdir /usr/kde
   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:
export PATH=/usr/kde/bin:$PATH

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:

kdelibs
kdebase
kdeadmin
kdenetwork
kdeutils
kdesupport
kdegraphics
kdepim
kdegames
kdemultimedia
kdetoys

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.org

http://www.zen.org/~brendan/




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell