./configure problem, unable to find Qt... sometimes
Linux - NewbieThis 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.
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.
./configure problem, unable to find Qt... sometimes
Hey guys, just got myself a new laptop, and I'm having some troubles installing some programs from source. For example, when I attempt to install Kbfx my ./configure craps out saying:
Code:
Checking for Qt... configure: error: Qt (>= Qt 3.2) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!
Now I know that I have the latest Qt libraries installed.
When I installed Yakuake, the script found Qt no problem, this is what it said:
Code:
checking for Qt... libraries /usr/lib/qt3/lib64, headers /usr/lib/qt3/include using -mt
so now that I know where Qt is installed to, how can I tell the other configure scripts where to find it??
"Checking for Qt... configure: error: Qt (>= Qt 3.2) (library qt-mt) not found."
"checking for Qt... libraries /usr/lib/qt3/lib64, headers /usr/lib/qt3/include using -mt"
"Now I know that I have the latest Qt libraries installed. "
Check the version number of Qt. Is it higher than Qt 3.2?
The other possibility is that ./configure is often ambiguous about whether it is looking for the binary or development version of a package. Check whether you also have the Qt development package installed.
usually provides some extra flags you can pass to ./configure - typically, one of the flags will allow you to point to a specific location for a set of libs (such as Qt).
Thanks for the help guys, but I still can't get this to work. I made sure that I have the most up-to-date version of Qt.
I ran ./configure --help, and tried passing "./configure --with-qt-libaries=/usr/lib/qt3/lib64 --with-qt-includes=/usr/lib/qt3/include", and "./configure --with-qt-dir=/usr/lib/qt4", but I am still getting the same error. Any ideas?
I know very little about compiling. But if you want to extend your path so it will look in other places just read this:
If, at any time, you want to extend your search path temporarily, just for the duration of the rest of this login session, you can add a new entry to the end at the command prompt with (for example):
$ PATH=$PATH:/usr/games (where /usr/games is where you want it to search)
If, however, you want to make a permanent change, you should do this in your personal .bash_profile, and your new path will take effect at the next login.
Maybe you could extend your search path to include the location you found QT in the other script?
Hey thanks for all of the replies guys, but I think I found the soution if anyone else is having this problem. I forgot to mention that I am using an AMD64 processor, and everything seems to work fine when I run
Code:
./configure --enable-libsuffix=64
I just took a shot in the dark and it seemed to work fine
Hi everybody, I cannot compile due to Qt error, (>=3.2) I've tried to compile as all of you have said but I can't, I'm using suse 10. Thanks very much and regards!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.