problems compiling with Qt

John Thompson JohnThompson at new.rr.com
Fri Mar 26 00:48:33 UTC 2004


On Thu, 25 Mar 2004 21:03:13 +0100
Alexander Dalloz <alexander.dalloz at uni-bielefeld.de> wrote:

> Am Do, den 25.03.2004 schrieb John Thompson um 18:38:
> 
> > Thanks.  I have added /usr/lib/qt-3.1/lib to /etc/ld.so.conf and run
> > ldconfig. I have put LDFLAGS=-L/usr/lib/qt-3.1/lib and
> > CPPFLAGS=-I/usr/lib/qt-3.1/include in to the build environment and
> > yet it still fails:
> > 
> > 	[...]
> > 
> > configure:21754: rm -rf SunWS_cache; g++ -o conftest
> > -Wnon-virtual-dtor -Wno-long-long-Wundef -Wall -pedantic -W
> > -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
> > -ansi-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2
> > -O2 -g-pipe -march=i686 -fno-exceptions -fno-check-new
> > -I/usr/lib/qt3/include -I/usr/X11R6/include-DQT_THREAD_SUPPORT
> > -I/usr/lib/qt-3.1/include -D_REENTRANT
> > -L-L/usr/lib/qt-3.1/lib-L/usr/lib/qt3/lib -L/usr/X11R6/lib  
> > conftest.cc  -lqt-mt -lpng -lz -lm -ljpeg -ldl  -lXext -lX11-lSM
> > -lICE  -lpthread 1>&5
> 
> -L-L/usr/lib/qt-3.1/lib is wrong in the command line above
> 
> > 	[...]
> > 
> > configure:21797: error: Qt (>= Qt 3.0.3) (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!
 
> Is the config.log not helpful?

Err... that *WAS* from config.log!  And no, it wasn't helpful to me.  I can send it to you if you'd like to look at it. 
 
> > Any other ideas?
 
> Sorry to be not more helpful with this. as far as I remember I once
> needed to run autoconf / automake inside a sources directory to let
> the configure script recognize the QT libs and includes. I just can't
> remember which application I compiled. The programmer/builder made a
> mistake bundling the things. What exactly do you want to compile?

That was trying to compile kgpg, but it fails in the same manner with any Qt-dependent compilation.  I can install and run pre-compiled Qt binaries; I just can't compile them myself.


-- 

-John (JohnThompson at new.rr.com)





More information about the users mailing list