trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: June 2012

FTBFS - python-tqt -- sip: TQ_LONG is undefined

From: "David C. Rankin" <drankinatty@...>
Date: Tue, 19 Jun 2012 16:48:56 -0500
Tim, Darrell, All,

  python-tqt fails to build from source. It looks like it may be related to a
sip problem (see 1st two lines below). I haven't changed my build scripts of
either sip or python-tqt. What should I check? Full error follows:

sip: TQ_LONG is undefined
Error: Unable to create the C++ code.
This is the GPL version of PyTQt 3.18.1 (licensed under the GNU General Public
License) for Python 2.7.3 on linux2.

Type 'L' to view the license.
Type 'yes' to accept the terms of the license.
Type 'no' to decline the terms of the license.

Do you accept the terms of the license? qextscintillaglobal.h could not be found
in /opt/tqt3/include and so the qtext
module will not be built. If TQScintilla is installed then use the -n argument
to explicitly specify the correct directory.
Checking to see if the qtcanvas module should be built...
Checking to see if the qtnetwork module should be built...
Checking to see if the qttable module should be built...
Checking to see if the qtxml module should be built...
Checking to see if the qtgl module should be built...
Checking to see if the qtui module should be built...
Checking to see if the qtsql module should be built...
Checking to see if the TQAssistantClient class is available...
Creating features file...
Checking to see if the TQCDEStyle class is built in...
Checking to see if the TQCDEStyle class is built in...
Checking to see if the TQInterlaceStyle class is built in...
Checking to see if the TQInterlaceStyle class is built in...
Checking to see if the TQMotifStyle class is built in...
Checking to see if the TQMotifStyle class is built in...
Checking to see if the TQMotifPlusStyle class is built in...
Checking to see if the TQMotifPlusStyle class is built in...
Checking to see if the TQPlatinumStyle class is built in...
Checking to see if the TQPlatinumStyle class is built in...
Checking to see if the TQSGIStyle class is built in...
Checking to see if the TQSGIStyle class is built in...
Checking to see if the TQWindowsXPStyle class is built in...
Checking to see if the TQWindowsXPStyle class is built in...
Checking to see if the TQWindowsStyle class is built in...
Checking to see if the TQWindowsStyle class is built in...
TQt v3.4.0 free edition is being used.
SIP 4.10.5 is being used.
These PyTQt modules will be built: qt qtcanvas qtnetwork qttable qtxml qtgl
qtui qtsql.
Support for these TQt classes has been disabled: TQInterlaceStyle
TQWindowsXPStyle.
The PyTQt modules will be installed in /usr/lib/python2.7/site-packages.
The PyTQt .sip files will be installed in /usr/share/sip.
The TQt header files are in /opt/tqt3/include.
The tqt-mt TQt library is in /opt/tqt3/lib.
pyuic will be installed in /usr/bin.
pylupdate will be installed in /usr/bin.
Generating the C++ source for the qt module...



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