trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: April 2012

Re: [trinity-devel] Can't build tqca on 64-bit

From: Francois Andriot <francois.andriot@...>
Date: Wed, 25 Apr 2012 21:07:38 +0200
Le 25/04/2012 20:45, Darrell Anderson a écrit :
> I appreciate the patches but they did not help. :(
>
> The problem is not detecting $QTDIR but $LIBDIR when $LIBDR=$PREFIX/lib64 rather than $LIBDR=$PREFIX/lib.
>
> The configuration process always fails because libtqt-mt.so.3 is located in $LIBDR=$PREFIX/lib64 rather than $LIBDR=$PREFIX/lib.
>
> The whole problem is telling the configure process where to find libtqt-mt.so.3.
>
> Darrell
>
>

And where is your "libtqt-mt.so.3" located ? Isn't TQT3 supposed to be 
installed in /usr ? So that libraries are under /usr/lib64 directly 
... that's what I do and it works very well ...

If TQT3 is in non-standard prefix (ex: /opt/trinity), you can modify the 
"configure" script a bit more than I did.
Look at the line "for p in /usr/lib64/tqt /usr/lib/tqt ..." . These are 
all the path where we look for TQT3 libraries.
Just add the path you want, like ${PREFIX}/lib64 and ${PREFIX}/lib at 
the beginning the path list, and it should do the trick.

If you have too much trouble with this "configure" script, you can stop 
using it and build tqca directly with only 3 commands !
(just check that the "qmake" command is in your PATH ...)

export QTDIR=/opt/trinity
qmake qca.pro
make



Francois