trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: November 2011

Re: [trinity-devel] configure: error: Qt (>= Qt 4.3 and < 5.0)...

From: /dev/ammo42 <mickeytintincolle@...>
Date: Wed, 9 Nov 2011 23:26:24 +0100
Le Sat, 5 Nov 2011 07:13:51 +0100,
/dev/ammo42 <mickeytintincolle@...> a écrit :

> Le Sat, 5 Nov 2011 06:16:18 +0100,
> /dev/ammo42 <mickeytintincolle@...> a écrit :
> 
> > Le Fri, 4 Nov 2011 10:19:07 -0700 (PDT),
> > Darrell Anderson <humanreadable@...> a écrit :
> > 
> > > I'm trying to build the 3.5.13 packages from the tarballs. I keep
> > > seeing the following error:
> > > 
> > > checking for Qt... checking for pkg-config... /usr/bin/pkg-config
> > > configure: error: Qt (>= Qt 4.3 and < 5.0) (library QtCore -lQtGui
> > > -lQtNetwork -ltqt-mt) not found. Please check your installation!
> > > 
> > > I looked at the logs, configure, etc., but I don't see anything
> > > obvious.
> > > 
> > > What is the magic trick?
> > You probably built the Qt4 tqtinterface. My build script includes
> > -DWITH_QT3=1 which tells tqtinterface to use Qt3 instead.
> Actually I did just run into the same issue trying to build kdegames.
> According to config.log the autoconf system is too dumb to read the
> tqt include dirs from the tqt.pc file, whereas the CMake build system
> gets it right. And since the tqt test is supposed to fail iff the
> tqtinterface is the Qt4 one, configure wrongly assumes tqt is tqt4 and
> searches for Qt4.
Partial threadjacking:
Removing Qt4 didn't solve the build issues as it did for you (perhaps
tqtinterface should be rebuilt after Qt4 removal ?), but I managed to
build kdemultimedia with the following commands (still without Qt4):
$ make -f Makefile.cvs
$ sed -i 's#/usr/include/tqt#/opt/kde3/include/tqt#g' configure
$ ./configure --prefix=/opt/kde3 --with-additional-libs=/opt/kde3/lib
$ make -j5 LDFLAGS="-Wl,--as-needed -lqt-mt -lkdecore -lkdeui -lglib-2.0
-lmad -lvorbisfile -lpthread -lDCOP -lkmime -lgthread -lvorbis -lkio"
(apparently the Makefile forgot the libs with which the programs and
DSO need a link…).
TLDR: autotools == huge mess.
> > > 
> > > Darrell
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > trinity-devel-unsubscribe@... For
> > > additional commands, e-mail:
> > > trinity-devel-help@... Read list messsages
> > > on the Web archive: http://trinity-devel.pearsoncomputing.net/
> > > Please remember not to top-post:
> > > http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
> > > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > trinity-devel-unsubscribe@... For additional
> > commands, e-mail: trinity-devel-help@... Read
> > list messsages on the Web archive:
> > http://trinity-devel.pearsoncomputing.net/ Please remember not to
> > top-post:
> > http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> trinity-devel-unsubscribe@... For additional
> commands, e-mail: trinity-devel-help@... Read
> list messsages on the Web archive:
> http://trinity-devel.pearsoncomputing.net/ Please remember not to
> top-post:
> http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
>