trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: June 2012

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

From: Darrell Anderson <humanreadable@...>
Date: Sun, 24 Jun 2012 15:58:17 -0700 (PDT)
> I got it -- I wall just have to patch the mkspec for
> linux-g++-64 when I build TQt3. Simple patch -- just took a while to find the issue.
> 
> I have tqca-tls building now after editing the mkspec.

David, do you need to patch mkspec? I ran into the same (or similar) problem last week. The solution is to use the respective (T)Qt3 "platform" configure option:

./configure \
...
-platform ${PLATFORM} \
...

Where ${PLATFORM} is defined in your build script. For Slackware I do this:

if [ "$LIBDIRSUFFIX" = "64" ]; then
  PLATFORM="linux-g++-${LIBDIRSUFFIX}"
else
  PLATFORM="linux-g++"
fi

As Arch does not use a suffix, possibly all you need do is this:

./configure \
...
-platform linux-g++ \
...


Darrell