Message: previous - next
Month: April 2012

Re: [trinity-devel] python-tqt, python-trinity on 64-bit

From: "David C. Rankin" <drankinatty@...>
Date: Fri, 20 Apr 2012 17:49:53 -0500
On 04/20/2012 05:33 PM, Darrell Anderson wrote:
> I'm not getting that far. The build fails immediately at the beginning:
> Error: No TQt libraries could be found in /opt/trinity/lib.
> make: *** No targets specified and no makefile found.  Stop.
> Darrell

  cd ${srcdir}/${pkgname#*-}
  echo yes | python2 \
  CFLAGS="${CFLAGS} -I/usr/include/tqt -I${TDEDIR}/include -I${QTDIR}/include
-fpermissive" \
  CXXFLAGS="${CXXFLAGS} -I/usr/include/tqt -I${TDEDIR}/include
-I${QTDIR}/include -fpermissive"

  # patch SIP_MODULE_NAME (build faile 4/5/12) in sipAPIqt.h
  # locate #define _qtAPI_H, then add
  #define SIP_MODULE_NAME "sip"
  msg "Patching (post-configure) sipAPIqt.h...."
  sed -i '/#define _qtAPI_H/s|$|\n#define SIP_MODULE_NAME "sip"|'

are you giving the full python2 configure:

echo yes | python2 \

that's all I'm doing.

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