LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-07-2004, 02:05 AM   #1
Trinity22
Member
 
Registered: Jul 2003
Location: oregon coast
Distribution: Fedora Core 3
Posts: 280

Rep: Reputation: 30
How to make config realize that yes, qt/source are installed?


QT is installed. As is the source files. Yet when trying to configure I get

Quote:
checking for Qt... configure: error: Qt (>= Qt 3.0) (headers and libraries) not found. Please check your installation!
I don't know what to do. Can anyone tell me what went wrong or what I don't have?

Trinity
 
Old 01-07-2004, 04:07 AM   #2
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Rep: Reputation: 30
Don't know exactly, but it might be relevant that I had similar trouble with GTK and Glibc. I had installed it from the Mandrake rpms, but I couldn't compile a piece of software that required it - things were in the wrong places.

I eventually fixed the problem by downloading GTK, Glibc and the dependencies (ATK and Pango) and installing them from source. I was then able to compile the application that used them.

I suggest you do the same: get the newest version of Qt (3.3.0 beta 1) from Trolltech and install it as per the instructions given. Then you might be able to compile your software.

Rinky-dinky-linky: http://www.trolltech.com/download/qt/x11.html
 
Old 01-07-2004, 04:15 AM   #3
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
You should have a QTDIR environment variable. On my RedHat 8 system, it's value is:
Code:
[root@charlene martin]# echo $QTDIR
/usr/lib/qt-3.1
Regards
Martin
 
Old 01-07-2004, 04:20 AM   #4
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Rep: Reputation: 30
If that works for you then forget about my advice.
 
Old 01-09-2004, 11:26 AM   #5
Trinity22
Member
 
Registered: Jul 2003
Location: oregon coast
Distribution: Fedora Core 3
Posts: 280

Original Poster
Rep: Reputation: 30
I'm not sure I'd be able to compile a qt when I can't even compile a theme, you know?

As for the suggestion by MartinN. My system fails to recognize that. So not sure what to do with that either.

Still up for suggestions. QT 3.1.2-1.1.9 and QT-devel 3.1.2-1.1.9 are installed according to Synaptic.

Trinity
 
Old 01-09-2004, 12:00 PM   #6
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Rep: Reputation: 30
Sure you could install qt - it's just a series of steps to follow. Download the tarball (file with .tar.gz or .tar.bz2 suffix) expand it, and follow the instructions given in the INSTALL file.

Following up on Martin's advice, do you have a directory (or a link) called /usr/local/qt ?
 
Old 01-10-2004, 12:08 PM   #7
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Hi again, Trinity!

I can really feel your frustration, because I felt the same a couple of weeks ago, when I installed QT from source on my VectorLinux machine. The compilation took 48 hours!! on a Pentium 166.

Anyway, this is what it looks like now, when it works:
Code:
bash-2.05b# echo $QTDIR
/usr/local/qt
bash-2.05b# ls -alF /usr/local/qt
total 284
drwxr-sr-x   19 658      593          4096 Dec 24 11:40 ./
drwxr-xr-x   15 root     root         4096 Dec 24 10:35 ../
-rw-r--r--    1 root     593          1316 Dec 24 11:28 .qmake.cache
-rw-r--r--    1 658      593          7777 Dec  5 16:16 FAQ
-rw-r--r--    1 658      593          4245 Dec  5 16:16 INSTALL
-rw-r--r--    1 658      593         18361 Dec  5 16:16 LICENSE.GPL
-rw-r--r--    1 658      593          4689 Dec  5 16:16 LICENSE.QPL
-rw-r--r--    1 658      593           694 Dec  5 16:17 MANIFEST
-rw-rw-r--    1 658      593          2751 Aug 11 16:37 Makefile
-rw-r--r--    1 658      593          1142 Dec  5 16:16 PLATFORMS
-rw-r--r--    1 658      593          1405 Dec  5 16:16 README
-rw-r--r--    1 658      593           913 Dec  5 16:16 README-QT.TXT
drwxr-sr-x    2 658      593          4096 Dec 24 11:28 bin/
-rw-rw-r--    1 658      593         10131 Dec  4 09:16 changes-3.3.0
-rw-rw-r--    1 658      593         10131 Dec  4 09:16 changes-3.3.0-b1
-rwxr-xr-x    1 root     593           123 Dec 24 11:40 config.status*
drwxr-sr-x    5 658      593          4096 Dec  5 16:14 config.tests/
-rwxrwxr-x    1 658      593        104619 Dec  4 11:37 configure*
drwxr-sr-x    4 658      593          4096 Dec  5 16:12 doc/
drwxr-sr-x   79 658      593          4096 Dec 21 20:15 examples/
drwxr-sr-x    5 658      593          4096 Dec 21 20:15 extensions/
drwxr-sr-x    3 658      593          8192 Dec 24 11:28 include/
drwxr-sr-x    3 658      593          4096 Dec 24 11:42 lib/
drwxr-sr-x   57 658      593          4096 Dec 24 11:27 mkspecs/
drwxr-sr-x    2 root     593          4096 Dec 23 17:05 phrasebooks/
drwxr-sr-x    2 658      593          4096 Dec  5 16:13 pics/
drwxr-sr-x    7 658      593          4096 Dec 21 20:25 plugins/
drwxr-sr-x    5 658      593          4096 Dec 24 11:27 qmake/
drwxr-sr-x   25 658      593          4096 Dec 24 11:42 src/
drwxr-sr-x    2 root     593          4096 Dec 23 17:04 templates/
drwxr-sr-x   14 658      593          4096 Dec 21 20:13 tools/
drwxr-sr-x    2 658      593          4096 Dec 23 17:05 translations/
drwxr-sr-x   18 658      593          4096 Dec 21 20:15 tutorial/
bash-2.05b#
Hope this helps.

Regards
Martin
 
Old 01-10-2004, 02:02 PM   #8
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Quote:
Originally posted by Trinity22
I'm not sure I'd be able to compile a qt when I can't even compile a theme, you know?

As for the suggestion by MartinN. My system fails to recognize that. So not sure what to do with that either.
You could try setting it - not sure what you mean by 'doesn't recognize' unless you just mean 'unset' - so 'export QTDIR=whatever-your-qtdir-is'. Echo it to make sure it's set. Then try again. But... compile a theme?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to realize automount(direct) guduke Linux - Enterprise 1 10-24-2005 04:52 AM
package compiling from source, make & make install concepts shujja Linux - Newbie 2 09-20-2005 12:18 AM
ZSNES doesn't realize i have SDL installed when i run ./configure kubrickfan799 Linux - Games 15 10-25-2004 06:40 PM
Installed using ./configure, make, make install, how to remove? EnVoy Mandriva 4 03-10-2004 07:05 PM
fedora couldn't realize my c, d drive gobi Fedora 4 01-18-2004 06:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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