LinuxQuestions.org
Help answer threads with 0 replies.
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 08-10-2004, 02:12 PM   #1
vavoem
Member
 
Registered: Oct 2003
Location: Rotterdam, the Netherlands
Distribution: Debian Sarge
Posts: 102

Rep: Reputation: 15
having problems installing any qt based software


whenever i try some software based on qt from trolltech
i get messages there is no qt installed but there is.

i run redhat 9
i have qt 3.1.1 installed.

i have tried to update to 3.3.2 but this says i need x11

can someone help me out please!
 
Old 08-10-2004, 03:39 PM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
You may need to set up the QTDIR environment variable to tell your new software where to find qt. Put something like this before your install command:
Code:
QTDIR=/usr/local/qt
Some more information would be useful here. Are you installing qt programs from source or through RPMs?

You can't install qt without X11 as far as I am aware; again, are you trying to install from source or RPMs?

You can pass the --nodeps flag to RPM when --install–ing or --upgrading something if you are sure that you actually do have the dependencies installed (probably not from an RPM).

Hope that's of some help,

— Robert J. Lee
 
Old 08-11-2004, 12:39 AM   #3
vavoem
Member
 
Registered: Oct 2003
Location: Rotterdam, the Netherlands
Distribution: Debian Sarge
Posts: 102

Original Poster
Rep: Reputation: 15
Yum tells me that the latest version of qt is installed whoever i found on the trolltech website there's a later version 3.3.2 wich i reccon could be the problem.

I've downloaded that one and ./configured

and put all the statements for pointing to the qt dir in .bash_profile like the install file told me to.

This all seems to run fine up till here

now i run
make

And there is where it all goes wrong.

cannot find x11 that directory does not exist.


The rpm's on redhats cd tells me it's allready installed.

This is my guess;
I think i have to change the things i put in .bash_profile to point to the rpm installed by the redhat cd to get things working.

How can i find out where the original 3.1.1 is installed?

The only thing in /usr/local/qt i put there myself being the downloaded newest version.
Trolltech website tells me i probably do not need it (the newest) when i only want to use it to compile applications developped with qt . (wich i want)
 
Old 08-14-2004, 07:11 AM   #4
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
Some thoughts:

To find out where the original QT was installed, you can run
Code:
rpm -ql qt
(assuming that the package name was “qt”; if not try “qt-devel” etc.)

After putting things in .bash_profile, you will need to log in again before the changes will take effect; .bash_profile is only checked for each session when you log in.

To tell it where x11 is installed, you will need to pass an option to configure like [code]./configure --with-x11=/usr/X11R6/[/root]; try
Code:
./configure --help
to get more configure options. You could also try
Code:
./configure --without-x11
if you don't have X-windows installed.

Hope that's of some help,

— Robert J. Lee
 
  


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
problems installing software markyb SUSE / openSUSE 2 04-07-2005 04:46 PM
Best rpm based distro for installing/upgrading software easily? RoaCh Of DisCor Linux - Software 16 01-16-2005 12:53 PM
Problems installing new software trblcmn Linux - Newbie 13 12-09-2003 10:59 PM
problems with installing software deezay Linux - Software 2 04-05-2002 06:44 AM
Problems installing new software nocternalone Linux - Software 2 04-03-2002 03:34 PM

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

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