LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 11-08-2002, 02:38 AM   #1
marsonist
Member
 
Registered: Sep 2002
Location: Stuttgart, Germany
Distribution: SuSE 9.1 Pro
Posts: 171

Rep: Reputation: 30
setting path for new KDEDIR


I'm attempting to install kde 3.1 rc2 and qt3.1 on my SuSE 8.1 system. I did the following command for both qt and kde respectively:

QTDIR=/usr/local/qt
PATH=$QTDIR/bin:$PATH
MANPATH=$QTDIR/man:$MANPATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export QTDIR PATH MANPATH LD_LIBRARY_PATH

as per the QT install file.

I am midway through my KDE installation without hitch. However, I've noticed that if I open up another shell and attempt to compile part of KDE that it doesn't find the new QT. Is the command that I entered above only for the current shell? I looked at my /etc/profile, but it doesn't seem to have either a QTDIR or KDEDIR variable. /etc/profile also has a comment not to edit it directly, or changes might be overwritten while upgrading.

Again, my installation is proceeding better than planned, but how can I be sure that my path has been configured right?


Thanks,
Steve
 
Old 11-08-2002, 07:17 AM   #2
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
All you are doing there is setting environment variables for the current shell you are in. If you want these variables to be set everytime then you should add it to the .profile or .bash_rc file for the user who needs it set.
 
Old 11-08-2002, 07:28 AM   #3
marsonist
Member
 
Registered: Sep 2002
Location: Stuttgart, Germany
Distribution: SuSE 9.1 Pro
Posts: 171

Original Poster
Rep: Reputation: 30
So would these be set in the user home directories, or in /etc. I'm hoping to find a global variable that might spare me having to edit each user or any future users.

Thanks
Steve
 
Old 11-08-2002, 01:43 PM   #4
marsonist
Member
 
Registered: Sep 2002
Location: Stuttgart, Germany
Distribution: SuSE 9.1 Pro
Posts: 171

Original Poster
Rep: Reputation: 30
I used the echo $KDEDIR command and saw my old kde path, but I haven't been able to find where my computer is getting that info. I looked at both my /etc/profile and /etc/bash.bashrc and haen't found any reference to either KDEDIR or QTDIR. I haven't been able to find any files of similar nature in my user directories either. Any thoughts on where this rouge setting might be found would be greatly appreciated.
 
Old 11-10-2002, 02:58 AM   #5
marsonist
Member
 
Registered: Sep 2002
Location: Stuttgart, Germany
Distribution: SuSE 9.1 Pro
Posts: 171

Original Poster
Rep: Reputation: 30
Since I haven't been able to find any great answers on the topic, I just decided to symlink the old kde and qt directories to where the new ones reside. I can now at least run the new kde, but not without difficulties. I can't get the upgraded KDM to start kde. I will post this separately however.
 
Old 11-11-2002, 08:08 AM   #6
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Add the variables to /etc/profile, logout and back in again and they should be set.
 
  


Reply



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
Setting PATH martint Linux - Newbie 2 11-15-2003 04:27 PM
Requesting clear definition of QTDIR and KDEDIR. xode Programming 2 11-13-2003 07:39 PM
Setting the path.... joel112 Slackware 5 08-28-2003 01:27 PM
setting PATH tda Linux - Newbie 1 04-29-2002 12:54 PM
PATH SETTING webboss Linux - Newbie 2 03-17-2001 05:29 PM

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

All times are GMT -5. The time now is 10:33 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