configure qt thread issue (just compiled qt w/ -thread option)
Hi, I'm trying to run configure with kaudiocreator. I'm using RH 8.0. I'm got and error message like
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! So I went out and got the qt source code from trolltech version 3.3.2. I ran #./configure -thread #make #make install then i went back and tried configure with kaudiocreator again and am still getting the same error message. What did I do wrong? Thanks. |
Make sure that you:
1. Have your qt install dir in your /etc/ld.so.conf 2. have QTDIR set 3. Have your qt library in your LD_LIBRARY_PATH |
Did you un-install the qt rpm that came with deadrat?
Cheers, Tink |
Quote:
|
Quote:
|
Are you familiar with what PATH is?
|
Quote:
rpm = Redhat Package Manager. Wild guess: RH came with some version of Qt, you installed new version, but old version gets picked up first. Cheers, Tink |
Quote:
|
Yes, what you describe as a PATH is what I'm talking about.
LD_LIBRARY_PATH and QTDIR are similiar in this regard...they just mean something different. PATH is where you locate binaries. LD_LIBRARY_PATH is where you locate libraries. QTDIR is where you locate your QT Install. Things like LD_LIBRARY_PATH and QTDIR usually only come in to effect when you're compiling things. Here are some examples of things I have set in my .bashrc for the things I do. PATH=/bin:/usr/bin:/sbin:/usr/X11R6/bin:/usr/local/bin:\ /usr/sbin:/usr/local/sbin:/home/scripts:/usr/local/mysql/bin:/usr/local/qt/bin:\ /usr/local/kde/bin:/usr/local/mrtg-2/bin:. KDEDIR=/usr/local/kde KDEDIRS=/usr/local/kde QTDIR=/usr/local/qt-3.3.1 LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/local/mysql4/lib:\ /usr/local/qt/lib:/usr/local/mysql4/lib/mysql:/usr/local/ssl/lib:/usr/X11/lib:\ /usr/local/kde/lib:/usr/local/lib/gaim PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/X11R6/lib/pkgconfig Once you determine that you have your pathes for things set correctly ( please don't use mine, above is nothing more than an example of how they can be set via your .bashrc ) trying recompiling and see what happens. If you still don't understand, then I suggest that whatever you're attempting to do, find an RPM instead, until such a time as you've learned a little more. |
All times are GMT -5. The time now is 01:05 PM. |