LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-24-2005, 07:38 PM   #1
death_au
LQ Newbie
 
Registered: Mar 2005
Location: Australia
Distribution: Debian - Installed from KNOPPIX CD
Posts: 21

Rep: Reputation: 15
Question ./configure can't find Qt


I went searching for this problem first, and I found someone else was having the same problem, but it was due to them having a 64-bit processor, which I do not.
The problem is, when I run ./configure (I'm attempting to install KWanda for reference) it tells me it cannot find "Qt ( QT >= 2.2.2) (libraries)", but I am using Qt 3.(something), and I have compatiblity packages installed too.
I tried using the --with-qt-libs option, giving it all the possible locations the library files it is looking for could be (e.g. /usr/libs/ /usr/libs/Qt3/ etc. I looked in KPackage to see where files went from the QT install) but still no luck...
Does anyone have any ideas?
 
Old 10-24-2005, 08:00 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
In my installation of Knoppix, they're in /usr/lib/qt3 (note the lowercase qt3). I'm not certain that's causing the error.
 
Old 10-24-2005, 09:15 PM   #3
death_au
LQ Newbie
 
Registered: Mar 2005
Location: Australia
Distribution: Debian - Installed from KNOPPIX CD
Posts: 21

Original Poster
Rep: Reputation: 15
I'll give it a go when I get home, but I'm pretty sure that's what I tried. Is it possible that the KWanda configure is looking for something that's not in later versions of Qt? I think it's unlikely, as I have the Qt-compat package installed, but is it possible?
 
Old 10-25-2005, 01:13 AM   #4
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Have you installed the -devel packages for Qt? To compile something against something else you need the includes files that are installed by -devel packages
 
Old 03-01-2007, 06:46 PM   #5
JazzItSelf
Member
 
Registered: Oct 2003
Location: Boston
Distribution: Slackware64-current
Posts: 44

Rep: Reputation: 18
I have a similar problem, although I'm trying to compile kde!

I've compiled the qt libs from source, so I know that I have them and the devel files, I also know that I compiled it with thread support.

There must be some reference somewhere that I'm missing, although I've tried as many as I can think of.
(my path to the qt dir is /usr/local/qt)
CPLUS_INCLUDE_PATH=/usr/local/qt/include
LD_LIBRARY_PATH=/usr/local/qt/lib
QTDIR=/usr/local/qt
PKG_CONFIG_PATH=/usr/local/qt/lib:<stuff> (this is where it keeps qt.pc and qt-mt.pc)
PATH=/usr/local/qt/bin:<stuff>

but configure still fails with:

checking for Qt... configure: error: Qt (>= Qt 3.3 and < 4.0) (library qt-mt) not found. Please check your installation!
Make sure that you have compiled Qt with thread support!

Funny thing though, I even got this error when I let kde compile and install qt as well!

Can anyone think of something I may have missed? What else can I do to debug this problem?
 
Old 03-03-2007, 09:43 AM   #6
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Try running
Code:
./configure --help
and look through the available options. There should be options to point it to where the qt libraries and include files are.
 
  


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
./configure can never find x ??? Stevetgn Linux - Software 4 04-28-2009 10:11 PM
./configure can't find gtk+ ELconkestador Linux - Software 6 10-24-2005 07:01 PM
configure cannot find libXext vivian Linux - Software 2 05-17-2005 05:57 AM
./configure cant find libXext addison014 Linux - Newbie 4 03-15-2005 03:10 PM
can't find it and configure it... NonSumPisces Linux - Software 1 05-26-2004 06:29 PM

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

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