Click to See Complete Forum and Search --> : Anyone Got KDE2 to run under RedHat 6.2?


c_guy
11-06-2000, 02:03 PM
I have been fighting with kde2 for over a week now and can't seem to get it to compile , since I have been unable to get the rpm's for 6.2 (and the ones for 7 give me dependency problems like crazy), I don't now where to go from here, When I try to compile qt, i get error messages, and then when I try to compile kde2, it says it can't find qt 2. Has anyone got this to work and how did you do it? I must be missing something here but i'm not sure what... I even tried to install the rpm's for mandrake , but got depencency problems there as well. HELP>>>..

Thanks,

{c}guy

WhiteTrashGOD
11-06-2000, 03:15 PM
This is what worked for me:

Make a dir called /usr/lib/qt If it does not already exist:

mkdir /usr/lib/qt

Move the qt2 tarball to your new directory:

mv -R qt2* /usr/lib/qt

Untar the file (if I remember correctly it is a bzipped tarball):

tar Xvfi qt2*

Configure qt2:

./configure --PREFIX=/usr/lib/qt

(the prefix line tells configure where to install qt)

make
make install

Now mv all of your KDE2 tarballs to /opt/kde2

Make sure to remove all existing KDE versions.

Untar all of the KDE2 tarballs. You will need to install them in this order:

kdesupport
kdelibs
kdebase
After this, the order is not important.

The command line for configure should be:

./configure --qtlib=/usr/lib/qt --prefix=/opt/kde2
make
make install

Note - this takes for-freaking EVER!

Once you are all done, you need to add both your new qt and kde2 directories to your PATH and change your .Xclients-default (or whatever your distro uses - I use RedHat) removing all instances of other window managers and add the line:

exec startkde

If all goes well, you should be running kde2 the next time you startx.

Hope this helps!



------------------
For Unto the Trailer Park is Born a Savior....

-=WhiteTrashGOD=-