LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-10-2002, 04:37 PM   #1
Doalwa
LQ Newbie
 
Registered: Apr 2002
Location: Germany
Distribution: Mandrake Linux 8.2
Posts: 22

Rep: Reputation: 15
Question about QT-3.0.5


I wanted to give KDE 3.0.2 a try which requires QT 3.0.5. I downloaded the qt-x11-3.0.5.tar.gz package and untarred it to /usr/local as described in the INSTALL file that came with the tar.gz package. This created the qt-3.0.5 directory in /usr/local...I then renamed the directory from qt-3.0.5 to qt using mv qt-3.0.5 qt ..just like it was described in the INSTALL file..then i had to create a file called .profile in my home directory and set the PATH's to qt..I did it exactly as descriobed in the manual..the entries in .profile looked as follows:

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

export QTDIR PATH MANPATH LD_LIBRARY_PATH

I then did a reboot..logged in again as nomral user..changed to /usr/local/qt and did ./configure ... only to get an error message saying that I didn't set up the $QTDIR variable right, it would currently point to "" , but it had to point to the currenct installation directory /usr/local/qt ...which is exactly what i set up in the .profile file shown above..so ..lol...i'm pretty confused, what did go wrong this time??? I'm using gcc 3.0.5 as a compiler and I am using BASH as shell..so somebody please help me, I can't seem to find any errors??
 
Old 08-10-2002, 05:15 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,571

Rep: Reputation: 180Reputation: 180
I think (can't check now) that in the INSTALL file they're writing about global profile (/etc/profile). Settings in this file are for all users and that's what you want, I suppose.
 
Old 08-11-2002, 07:27 AM   #3
Doalwa
LQ Newbie
 
Registered: Apr 2002
Location: Germany
Distribution: Mandrake Linux 8.2
Posts: 22

Original Poster
Rep: Reputation: 15
Well, they're actually talking about the .profile file in one's home directory, but maybe it'll work out that way.
 
Old 08-12-2002, 01:55 AM   #4
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,550

Rep: Reputation: 136Reputation: 136
maybe itīs not big help but i installed qt 3.04 a couple weeks ago setting the QTDIR in my home/.profile and the install worked.
maybe you could try:'source /home/name/.profile' in case .profile isnīt read while booting?
cheers, jens
 
Old 08-12-2002, 04:00 AM   #5
dai
Member
 
Registered: May 2002
Location: Wales
Distribution: Slack 8.1, Gentoo 1.3a, Red Hat 7.3, Red Hat 7.2, Manrake 8.2
Posts: 328

Rep: Reputation: 30
You have 2 options you can either go into each of your users home directory and add the QT lines to each of thier .bash_profile or you can go to /etc/.(whatever)_profile and add it there
 
Old 08-12-2002, 04:18 AM   #6
Doalwa
LQ Newbie
 
Registered: Apr 2002
Location: Germany
Distribution: Mandrake Linux 8.2
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks for your suggestions, in the end i decided to skip the installation of QT and just upgrade my existing kde installation using precompiled RPM packages..maybe I'll give qt another try later
 
  


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
Question, Apples Contribution to Open Source + MacOs file structure question Higgy3k Other *NIX 5 07-25-2005 04:23 AM
Not your regular GRUB question - just a short question for a fried MBR!! ziphem Linux - General 3 01-31-2005 01:51 PM
2 part question: Speeding up MDK9.1/GNOME question wardialer Linux - Newbie 6 10-14-2004 03:16 PM
login prompt question & kde scheme question JustinCoyan Slackware 2 06-09-2004 02:02 PM
RE: Suse 8.0 hardware question {newbie question, pls help} Radiouk Linux - Distributions 2 06-04-2002 12:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:26 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration