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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-18-2005, 03:16 PM
|
#1
|
Member
Registered: Dec 2004
Location: Haifa
Distribution: Fedora Core 4, Kubuntu
Posts: 235
Rep:
|
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
|
|
|
01-18-2005, 03:35 PM
|
#2
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313
Rep:
|
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.
|
|
|
01-18-2005, 03:35 PM
|
#3
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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
|
|
|
01-18-2005, 03:56 PM
|
#4
|
Member
Registered: Dec 2004
Location: Haifa
Distribution: Fedora Core 4, Kubuntu
Posts: 235
Original Poster
Rep:
|
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...
|
|
|
01-18-2005, 04:04 PM
|
#5
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313
Rep:
|
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.
|
|
|
01-18-2005, 04:10 PM
|
#6
|
Member
Registered: Dec 2004
Location: Haifa
Distribution: Fedora Core 4, Kubuntu
Posts: 235
Original Poster
Rep:
|
It worked!!!!
Thank you guys so much.
|
|
|
All times are GMT -5. The time now is 12:23 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|