Message: previous - next
Month: June 2012

Re: [trinity-devel] FTBFS tqca-tls (x86_64) can't find TQt3 (i686 builds?)

From: "David C. Rankin" <drankinatty@...>
Date: Sun, 24 Jun 2012 16:50:03 -0500
On 06/24/2012 04:33 PM, David C. Rankin wrote:
> On 06/24/2012 04:14 PM, Timothy Pearson wrote:
>> Do you set QTDIR for your builds?  I need to know because the
>> autodetection logic is pretty much split into two parts, one path for if
>> QTDIR is set and a different path if it is not.
>> Thanks!
>> Tim
> Yes,
>   This is with
> ./configure --qtdir=/opt/tqt3 \
> --debug
> and it 'still' dumps lib64 into the conf.log file:
> Configuring qca-tls ...
> QTDIR=/opt/tqt3
> 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().
> 16:29 archangel:/dat_e/ch47/david/build> cat src/tqca-tls/conf.log
> 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 -lpth
> There is no /opt/tqt3/lib64 it is '/opt/tqt3/lib' and I can't get it to use it???


  Just for reference, I've tried this both with the current code and with the
commit _reverted_ (and both with/without) setting --qtdir=/opt/tqt3 (to force a
manual find). In all cases, some logic somewhere is still writing the
/opt/tqt3/lib64 location.

  This is on a 64bit box, but there are no lib64 dirs used anywhere in Arch. It
has to be simply 'lib'. It is a forest-for-the-trees issue for me at this point.
I can't find it.

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