Click to See Complete Forum and Search --> : Kde2 install question.


bkurt
11-01-2000, 09:27 AM
I have slack 7.1 with kde 3.3.6 already installed in /opt/kde. Now if I go and compile kde2 and use the --prefix option when running ./configure and have it installed in /opt/kde will it just overwrite the original kde with no problems or could there be issues with that one?? Thanks!

WhiteTrashGOD
11-01-2000, 01:32 PM
Why not use /opt/kde2?

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

mastersibn
11-01-2000, 01:36 PM
Originally posted by WhiteTrashGOD:
Why not use /opt/kde2?


Good question. I actually installed to /opt/kde, but the menus were full of duplicate items. Solution?
rm -rf /opt/kde /home/<username>/.kde

and then reinstall Kde.

------------------
grab my gnupg key (http://jove.prohosting.com/~msibn/sibn-p.asc) if you feel so inclined.


cAPS lOCK? wHAT cAPS lOCK?
I cna ytpe 300 wrods pre mniuet!!!

bkurt
11-01-2000, 01:42 PM
Ok, if I were to install it into /opt/kde2 what would I need to do to have it started by default when I run startx. Would it be to just put:
exec /opt/kde2/bin/startkde rather than
exec startkde. Or do I just need to modify my path so it searches /opt/kde2 first?? Thanks again.

bkurt
11-01-2000, 01:43 PM
I meant to say I would be putting those lines in my .xinitrc file in my home directory.

The Shmoky One
11-01-2000, 01:57 PM
if ya got slack, did you install the kde already on yer system via tgz package? if u did and u just wanna try out kde2 for a bit while not losing a good workable version u got already, why not just removepkg the old kde, compile and makepkg kde2, and then install kde2 into /opt/kde? just a question since it's what i do everytime i wanna try out new updated versions of software so as to avoid doing any ugly stuff dealing with things in my path and so on and so forth...

[This message has been edited by The Shmoky One (edited 01 November 2000).]

mastersibn
11-01-2000, 01:58 PM
Originally posted by bkurt:
Ok, if I were to install it into /opt/kde2 what would I need to do to have it started by default when I run startx. Would it be to just put:
exec /opt/kde2/bin/startkde rather than
exec startkde. Or do I just need to modify my path so it searches /opt/kde2 first?? Thanks again.

Slack 7.1 puts /opt/kde/bin in your $PATH, so if you installed Kde2 to /opt/kde2 then all you'd need to do is open /etc/bashrc and /etc/profile and locate the point with `export PATH=......` and replacing '/opt/kde/bin' with /opt/kde2/bin and everything should be ok.

Please note that you will need to install Qt 2.2.x if you would like the Kde2 build to complete properly.

ALSO, I have a fairly simple shell script - http://jove.prohosting.com/~msibn/installkde.sh - that will attempt to locate the kde packages you've downloaded (only looking in your current directory, of course), and compile and install them for you. It was written with Slack in mind. It's safest if you run it from a directory that only root can write to- meaning /tmp and /home/yourname are generally bad places to run it. /root is a good place, though.

One final word: The script has NOT BEEN FULLY TESTED. I just wrote it a few hours ago, and to test it would require I download and recompile Kde2 all over again- on my system, that takes +/- 10 hours. It -should- work, but I'm not making any guarantees or warranties. http://www.linuxnewbie.org/ubb/tongue.gif

(btw, it doesn't work if you stream it directly from wget or lynx to /bin/bash, but it does if you download and run it locally. Odd, but something I'll eventually work out...)

------------------
grab my gnupg key (http://jove.prohosting.com/~msibn/sibn-p.asc) if you feel so inclined.


cAPS lOCK? wHAT cAPS lOCK?
I cna ytpe 300 wrods pre mniuet!!!

bkurt
11-01-2000, 02:49 PM
Thanks for all the help mastersibn. I think I will just try installing to /opt/kde2 and change the path as you said. Then if all goes well I just remove the original kde at a later time. Just compiled qt 2.2.1 last night so that should be ready to go. One last question here. After I installed xfree86 4.0.1 and tried to restart to graphical login via init 4. It gets to where is says Starting X11 Session Manager and then just stops and hangs. Anyone seen this?? Text login works fine so it's not a major deal but I was just curious. Thanks again for all the help.

mastersibn
11-01-2000, 03:46 PM
Originally posted by bkurt:
Thanks for all the help mastersibn. I think I will just try installing to /opt/kde2 and change the path as you said. Then if all goes well I just remove the original kde at a later time. Just compiled qt 2.2.1 last night so that should be ready to go. One last question here. After I installed xfree86 4.0.1 and tried to restart to graphical login via init 4. It gets to where is says Starting X11 Session Manager and then just stops and hangs. Anyone seen this?? Text login works fine so it's not a major deal but I was just curious. Thanks again for all the help.

I don't rightly know; I can't get a gui login to work on my system at all; I have kdm installed and configured, but instead of logging in what happens is the screen goes black for a second, and then returns to kdm. I have always loaded X manually, and it looks like I'm going to be doing that for some time to come.

Helping is no problem; It's the least I can do to help out by answering as many questions as I'm able; I've got lots of help here, and it's the easiest way to ease the load of questions for everybody. http://www.linuxnewbie.org/ubb/biggrin.gif

------------------
grab my gnupg key (http://jove.prohosting.com/~msibn/sibn-p.asc) if you feel so inclined.


cAPS lOCK? wHAT cAPS lOCK?
I cna ytpe 300 wrods pre mniuet!!!