trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: June 2012

FTBFS tqca-tls (x86_64) can't find TQt3 (i686 builds?)

From: "David C. Rankin" <drankinatty@...>
Date: Sat, 23 Jun 2012 00:31:43 -0500
Tim, All,

  I just started a full x86_64 build. 1st since name change and I've hit a snag
with tqca-tls. My /etc/profile.d/tqt.sh is executable this time :) The build
can't find TQt:

==> Setting PATH and Trinity Environment variables
==> Patching...
==> Starting configure...
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.

==> ERROR: A failure occurred in build().
    Aborting...

HuH??

  Looking at the conf.log it looks like a bad joke on 64 bit boxes concerning
what was generated:

g++ -c -pipe -Wall -W -O2 -D_REENTRANT  -DX11_INC='"/usr/X11R6/include"'
-DX11_LIBDIR='"/usr/X11R6/lib64"' -DX11_LIB='"-lXext -lX11 -lm"' -DCC='"gcc"'
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/opt/tqt3/mkspecs/default -I.
-I'/usr/include/tqt' -I/opt/tqt3/include -I/usr/X11R6/include -o conf.o conf.cpp
g++ -Wl,-rpath,/opt/tqt3/lib64 -o conf conf.o    -L/opt/tqt3/lib64
-L/usr/X11R6/lib64 -ltqt-mt -lXext -lX11 -lm -lpthread
/usr/bin/ld: cannot find -ltqt-mt
collect2: error: ld returned 1 exit status
make: *** [conf] Error 1

Where is this /opt/tqt3/lib'64' garbage coming from?  Arch just 'lib' not any
'lib64' dir names when handling libraries. Where in this package are the 'lib'
or 'lib64' search directories and lib directory names controlled? Like noted
earlier, I can build tqca-tls on i686 all day long, but this is one of the first
i've built on x86_64 and something isn't quite right. Prior to the name change
stuff, this built like clockwork. Where should we look for the culprit here
(there isn't much here).

  What say the gurus? Ideas?








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