trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

Re: [trinity-devel] tdeutils: Why does it try "Detected TQt4..."

From: "David C. Rankin" <drankinatty@...>
Date: Wed, 14 Mar 2012 19:35:03 -0500
On 03/14/2012 07:22 PM, David C. Rankin wrote:
> Tim, Darrell, all,
> 
>   I've moved to trying to get tdeutils to build again. Currently I'm attempting
> to build with:
> 
>   ## Generate config files and update with autoreconf
>   cd ${srcdir}/${pkgname#*-}
>   make -f admin/Makefile.common
>   autoreconf
> 
>   ## configure
>   msg "Configuring - ${pkgname}..."
>   ./configure \
>     --prefix=${TDEDIR} \
>     --with-qt-dir=${QTDIR} \
>     --with-qt-includes=${QTDIR}/include \
>     --with-extra-includes="${TDEDIR}include/tqt/Qt" \
>     --with-qt-libraries=${QTDIR}/lib \
>     --with-extra-libs=${TDEDIR}/lib/trinity \
>     --sysconfdir=/etc \
>     --localstatedir=/var \
>     --enable-closure
> 
>   For some reason, the build tries to use Qt4? Where can I work-around this? The
> error is:
> 
> checking for IceConnectionNumber in -lICE... yes
> checking for libXext... yes
> Detected TQt4...
> checking for pthread_create in -lpthread... yes
> checking for extra includes... added
> checking for extra libs... added
> checking for libz... -lz
> checking for libpng... -lpng -lz -lm
> checking for libjpeg6b... no
> checking for libjpeg... -ljpeg
> checking for perl... /usr/bin/perl
> checking for Qt... checking for pkg-config... /usr/bin/pkg-config
> configure: error: Qt (>= Qt 4.3 and < 5.0) (headers and libraries) not found.
> Please check your installation!
> For more details about this problem, look at the end of config.log.
> 
>   Do we need to patch something to check for tqt instead of qt?
> 

I'm not exactly sure where to look, but from config.log, it looks like it can't
find the Qt/<headers>.h files it needs:

conftest.cpp:2:24: fatal error: Qt/qglobal.h: No such file or directory
compilation terminated.
configure:22601: $? = 1
configure: failed program was:
#include "confdefs.h"
#include <Qt/qglobal.h>
#include <Qt/qapplication.h>
#include <Qt/qcursor.h>
#include <Qt/qstylefactory.h>
#if ! (TQT_VERSION >= 0x040300 && TQT_VERSION < 0x050000)
#error 1
#endif

(I fixed the --with-extra-includes=${TDEDIR}/include/tqt/Qt line) doesn't help...

-- 
David C. Rankin, J.D.,P.E.