trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: December 2012

Re: [trinity-devel] Can not seem to get tqt to build.

From: "Darrell Anderson" <darrella@...>
Date: Sat, 08 Dec 2012 14:13:38 -0600
>Thanks for that Darrel.  I am tryng to follow what Arch recommends 
but
>it is to no avail.  Perhaps I am doing something wrong, or there 
>is a configuration to get the package to build tat I do not know 
of.
>The package is tqt3, though I have tried to get qt3 to build too 
and
>that does not build either.  So I am pretty confident now that it 
is
>user(me) error somewhere, somehow.

I know this can be frustrating.

There are some Archers subscribed to this list and they should be 
helping you. A lack of responses is status quo in this list. 
Sometimes I wonder why we bother keeping this mail list active. :(

Just a wild guess, do you have qt4 installed in your build 
environment? If yes then possibly try removing that package in your 
build environment. Posting a build log might help too. I use the 
tee command to create a log.

Here are my tqt3 configure options. Notice that -platform must be 
explicitly declared when building on 64-bit.

if [ "$LIBDIRSUFFIX" = "64" ]; then
  PLATFORM="linux-g++-${LIBDIRSUFFIX}"
else
  PLATFORM="linux-g++"
fi
echo "yes" | \
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \
  -v \
  -prefix $INSTALL_PREFIX \
  -libdir $LIBDIR \
  -release \
  -I/usr/include/mysql \
  -I/usr/include/freetype2/freetype \
  -L/usr/lib${LIBDIRSUFFIX} \
  -qt-imgfmt-png \
  -qt-imgfmt-mng \
  -qt-imgfmt-jpeg \
  -qt-gif \
  -qt-style-motif \
  -system-zlib \
  -system-libpng \
  -system-libmng \
  -system-libjpeg \
  -shared \
  -no-pch \
  -thread \
  -stl \
  -no-g++-exceptions \
  -platform ${PLATFORM} \
  -cups \
  -ipv6 \
  -nis \
  -sm \
  -xshape \
  -xinerama \
  -xcursor \
  -xrandr \
  -xrender \
  -tablet \
  -xkb \
  -xft \
  -plugin-imgfmt-mng \
  -plugin-sql-mysql \
  -plugin-sql-sqlite \
  -plugin-style-cde \
  -plugin-style-compact \
  -plugin-style-motifplus \
  -plugin-style-platinum \
  -plugin-style-sgi \
  -plugin-style-windows \
  -lfontconfig \
  -inputmethod \
  -enable-opengl \
  -dlopen-opengl \
  || exit 1

I hope this helps. :)

Darrell