trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: February 2014

[SOLVED - SORT OF] Re: [trinity-devel] python-tqt FTBFS - ImportError: No module named sip4_tqt

From: "David C. Rankin" <drankinatty@...>
Date: Sat, 08 Feb 2014 18:24:32 -0600
On 02/08/2014 06:16 PM, Darrell Anderson wrote:
>>  It can't find usr/include/tqt/tqobject.h. WTF?
> 
> Did you add the following to your script:
> 
>   -y tqt-mt \
> 
> Darrell
> 

AARGH! I hate python. For now, it is building. I cannot explain it, but the only
thing I did was move the CFLAGS/CXXFLAGS to the bottom of the configure call
instead of the top:

#   CFLAGS="${CFLAGS} -L${TDEDIR}/lib -I/usr/include/tqt -I${TDEDIR}/include
-I${QTDIR}/include" \
#   CXXFLAGS="${CXXFLAGS} -L${TDEDIR}/lib -I/usr/include/tqt -I${TDEDIR}/include
-I${QTDIR}/include" \
  echo yes | python2 configure.py \
    -b "${TDEDIR}/bin" \
    -d "${PY2LIB}/python_tqt" \
    -q "${QTDIR}" \
    -y tqt-mt \
    -v /usr/share/sip/tqt \
    -w \
  CFLAGS="${CFLAGS} -L${TDEDIR}/lib -I/usr/include/tqt -I${TDEDIR}/include
-I${QTDIR}/include" \
  CXXFLAGS="${CXXFLAGS} -L${TDEDIR}/lib -I/usr/include/tqt -I${TDEDIR}/include
-I${QTDIR}/include"

And now it builds. 3 hours wasted just to find out python wants flags at the end
of the call. (You wonder why it is frustrating when things move around in
TDE..... ;-)

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