./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! 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 Thanks guys |
"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. --------------------------- Steve Stites |
Code:
./configure --help |
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? |
Quote:
Look in config.log, it should give some indication about what it's trying (and failing) to do. Also, make sure you have the qt development libs/headers installed. Some distros split run time and development stuff into seperate packages. |
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 |
error: Qt (>= Qt 3.0) (library qt-mt) not found (64 bit)
thanks
i was pulling my hair out over this too, and yeah i also am using the athlon64 and hence 64bit version of opensuse 10; compiling with --enable-libsuffix=64 worked whereas adding all of the --with-qt-dir=... --with-qt-libraries=... --with-qt-includes=... had not helped |
Hi @ ALL
I had the same problem and I fixed it with: ln -s /usr/lib/qt-3.3 /usr/lib/qt This works with RedHat Linux :-) Bye rumbero |
All together now :)
./configure --enable-libsuffix=64 --without-kde --with-qt-dir=/usr/lib/qt It worked!!! AMD, Gnome and symlink to /usr/lib/qt Thanks! |
Qt >=3.2
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!
|
Can you maybe provide some more info?
|
All times are GMT -5. The time now is 01:00 AM. |