On 03/03/2012 03:13 PM, David C. Rankin wrote:
Tim, all,
I'm trying to build tqca-tls with ./configure --qtdir=${QTDIR} and I'm getting a configure failure:
Configuring qca-tls ... Verifying TQt 3.x Multithreaded (MT) build environment ... fail
There was an error compiling 'conf'. Be sure you have a proper TQt 3.x Multithreaded (MT) build environment set up.
<snip>
How to fix? Looks like the configure file need to be updated to take the '--prefix=' option and set TDEDIR and then do something like:
// Make sure tqtinterface can be found conf->addIncludePath("${TDEDIR}/include/tqt");
I got configure fixed with a temporary hack hardcoding /opt/trinity. This is just a temporary hack for me. How do we correctly fix configure so it will accept '--prefix='? (my configure/Make skills are limited :) The patch I used was:
--- configure.orig 2012-03-03 15:09:40.527391331 -0600 +++ tqca-tls/configure 2012-03-03 16:03:57.828044145 -0600 @@ -184,7 +184,7 @@ conf->addLib("-lssl -lcrypto");
// Make sure tqtinterface can be found - conf->addIncludePath("/usr/include/tqt"); + conf->addIncludePath("/opt/trinity/include/tqt");
return true; } @@ -507,7 +507,7 @@ TEMPLATE = app CONFIG += qt x11 thread console TARGET = conf -INCLUDEPATH += '/usr/include/tqt' +INCLUDEPATH += '/opt/trinity/include/tqt'
DEFINES += X11_INC='"$$QMAKE_INCDIR_X11"' DEFINES += X11_LIBDIR='"$$QMAKE_LIBDIR_X11"'