On Thursday 12 September 2002 19.06, Sjoerd Hiemstra wrote:
Hi,
I would like to install a program that needs Qt 3.0.2 or later for compilation, which I did not have on my 7.1. (To which I'll stick for a while because the 64 MB RAM of my P166 is not enough for 8.0.) On rpmfind.net I found a Qt 3.0.4-7 rpm for SuSE 7.1.
rpm -qi qt3 Name : qt3 Version : 3.0.4 Release : 7 .... etc.
I did an 'export QTDIR=/usr/lib/qt3'. But './configure' gives this error:
checking for Qt... configure: error: Qt (>= Qt 3.0.2) (headers and libraries) not found. Please check your installation! For more details about this problem, look at the end of config.log.
The end of config.log says:
configure: failed program was: #if ! (QT_VERSION >= 302) #error 1 #endif
Does anyone see what is needed to compile the program with Qt3?
TIA, SH
What version of g++ was used to compile the qt3 you installed, and what version of g++ do you have on your system? g++ has had (still has?) grave problems with compatibility between versions. A c++ library compiled with 2.95.2 will most likely be unusable with 2.95.3 and vice versa. Your best bet is probably to download the src.rpm and recompile it using the compiler installed on your system. regards Anders