LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 01-18-2005, 03:16 PM   #1
dotancohen
Member
 
Registered: Dec 2004
Location: Haifa
Distribution: Fedora Core 4, Kubuntu
Posts: 235

Rep: Reputation: 32
Qt QuiTing. Seriously, compiling problem with QT


Despite the fact that Synaptic reports that I have qt version 1:3.3.3-8 (and qt-devel with the same version number)on my fedora core 3 system, when I ./configure I get:
configure: error: Qt (>= Qt 3.2) (headers and libraries) not found. Please check your installation!

and rpm -q qt3 returns:
warning: cannot get shared lock on /var/lib/rpm/Packages
package qt3 is not installed

I think it important to note that I do have /usr/lib/qt-3.3

What can I do?

Thanks in advance.

Dotan Cohen
 
Old 01-18-2005, 03:35 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
Perhaps its looking for the mt libs? ( /usr/lib/libqt-mt.la )

Also try setting the QTDIR and/or the --with-qt-libraries=/usr/lib/qt-3.3 in configure.
 
Old 01-18-2005, 03:35 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
ldconfig -v | grep qt

rpm -qa | grep -i qt

Also, which product are you trying to compile?
Maybe the ./configure script has an issue with
its version-check in this case...


Cheers,
Tink
 
Old 01-18-2005, 03:56 PM   #4
dotancohen
Member
 
Registered: Dec 2004
Location: Haifa
Distribution: Fedora Core 4, Kubuntu
Posts: 235

Original Poster
Rep: Reputation: 32
Leonscape,
Ah, exacly how? IŽd love to try it but when exactly do I make the change?

Tinkster,
I have tried several programs, they all end in this. The two current ones are kimdaba and kphotobook. I entered what you had written, and tried again, and got this (of course this is just the end of a long stack):

checking for Qt... libraries /usr/lib/qt-3.3/lib, headers /usr/lib/qt-3.3/include using -mt
checking for moc... /usr/lib/qt-3.3/bin/moc
checking for uic... /usr/lib/qt-3.3/bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!

So, weŽve made progress. According to a quick search on google, this is fixed by installing kdelibs-devel RPM. So that is what Synaptic is doing while I type this. Lets see...
 
Old 01-18-2005, 04:04 PM   #5
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
What I was talking about was
xport QTDIR /usr/lib/qt-3.3

or

./configure --with-qt-libraries=/usr/lib/qt-3.3

But this problem is already solved, since your now past that point.
 
Old 01-18-2005, 04:10 PM   #6
dotancohen
Member
 
Registered: Dec 2004
Location: Haifa
Distribution: Fedora Core 4, Kubuntu
Posts: 235

Original Poster
Rep: Reputation: 32
It worked!!!!
Thank you guys so much.
 
  


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
usb quiting ktc0ut Suse/Novell 1 05-25-2005 05:09 AM
Firefox quiting when clicking on a link? BajaNick General 7 01-30-2005 11:46 AM
UT2004 error causing random quiting HenchmenResourc Linux - Games 2 07-09-2004 04:36 PM
How to quit the X interface without quiting the system? chamberlain Linux - General 3 06-20-2004 07:47 PM
Compiling Problem... ThE_DeaD Linux - Newbie 10 12-14-2003 03:14 PM


All times are GMT -5. The time now is 02:08 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration