LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-10-2004, 02:07 PM   #1
juzchillin
LQ Newbie
 
Registered: May 2004
Location: Maryland
Distribution: Mandrake 9.1
Posts: 9

Rep: Reputation: 0
Kde3.2.2 upgrade using konstruct


I recently downloaded konstruct for the purpose of installing kde 3.2.2 on my computer, and upgrade from kde 3.1 i have right now, I ran konstruct which basically downloaded all the tarballs , unpacked them, ran ./configure, make and make install automatically, and if there was a dependency problem, i could download the dependency and restart make install and it would skip down to where i left off.

My problem is the new kde3.2.2 is in my /root/kde3.2.2 directory, how do I get my mandrake linux to look for kde there and not its default folder, and btw, i looked for .xsession, and the rest of the files I was told to edit to get this to work and non were in my ~/ folder, please help, thankyou.
 
Old 05-10-2004, 06:59 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Having it in your /root directory makes it only available for root. ( The better place would have been something like /usr/local/kde3.2.2

Anyway you need to set some environmental variables.

$KDEDIRS where ever KDE is installed.
$KDEHOME where you want to have .kde ( Useful for keeping two versions separate settings )
$QTDIR The version of Qt ( If you didn't use a different version of Qt then its fine where it is. )

You also need to add $KDEDIRS/bin ( and $QTDIR/bin if needed ) to the front of your path. and LD_LIBRARY_PATH needs $KDEDIRS/lib ( and $QTDIR/lib if needed ).

the xinit $KDEDIRS/bin/startkde will start the new version of kde.

Its this complicated if you want to keep both versions at once. ( and not install it where it normally expects to be. ) I use it to keep CVS and current versions at once.

To simplify this I use a script

Code:
#!/bin/sh

# sets the Qt and KDE paths
QTDIR=/usr/local/src/qt-copy
KDEDIRS=/usr/local/kde-unstable
LD_LIBRARY_PATH=$KDEDIRS/lib:$QTDIR/lib
PATH=$KDEDIRS/bin:$QTDIR/bin:$PATH
KDEHOME=~/.kde-unstable

export QTDIR KDEDIRS LD_LIBRARY_PATH PATH KDEHOME

xinit $KDEDIRS/bin/startkde
.xsession if usually a simple file with something like exec startkde in it. If it doesn't exist simply create one.

Last edited by leonscape; 05-10-2004 at 07:01 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kde 3.5 konstruct upgrade problem chuck0 Linux - Software 1 12-07-2005 08:19 PM
KDE3.4 upgrade caulfiek SUSE / openSUSE 6 08-13-2005 05:48 AM
In need of help - Upgrade to kde3.3.2 RoaCh Of DisCor Mandriva 3 01-20-2005 12:27 PM
Konstruct install of KDE3.2 on Knoppix installed to HD--will it work? alxdotnet Linux - Distributions 3 02-10-2004 11:45 PM
kde3 upgrade athenerx Linux - Newbie 1 07-23-2002 03:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration