problems compiling with Qt

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Thu Mar 25 20:03:13 UTC 2004


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?

> 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?

> -John (JohnThompson at new.rr.com)

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2174.nptl
Sirendipity 20:57:16 up 6 days, 5:39, load average: 1.07, 1.12, 1.09 
                   [ Γνωθι σ'αυτον - gnothi seauton ]
             my life is a planetarium - and you are the stars
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20040325/e06f2197/attachment-0002.bin 


More information about the users mailing list