trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: February 2014

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

From: "David C. Rankin" <drankinatty@...>
Date: Sat, 08 Feb 2014 15:29:38 -0600
On 02/08/2014 03:09 PM, Darrell Anderson wrote:
>>  Both in my sip package and in your listing above, we still have 
>> /usr/bin/sip,
>> so the conflict remains with upstream sip. What did this 
>> accomplish? All I see
>> is that the files were moved into a new 'sip4_tqt' directory -- 
>> was that the
>> total intent of the move?
> 
> You have /usr/bin/sip because you are installing sip4-tqt to 
> $PREFIX /usr rather than /opt/trinity.
> 
> My sip4-tqt package has /opt/trinity/bin/sip and 
> /opt/trinity/include/sip.h
> 
> The files in my package that are installed to /usr are python site-
> packages.
> 
> Likewise with python-tqt.
> 


Darrell,

  I can't even git python-tqt to build anymore:

Error: Unable to build mkfeatures utility.
This is the GPL version of PyTQt 3.18.1 (licensed under the GNU General Public
License) for Python 2.7.6 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? TQScintilla 1.7.1 is being used.
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 qtext module should be built...
Checking to see if the TQAssistantClient class is available...
Creating features file...

  I have looked at your SlackBuild and I am building with:

  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" \
  echo yes | python2 configure.py \
    -d "${PY2LIB}/sip4_tqt" \
    -y tqt-mt \
    -v /usr/share/sip/tqt

  What has changed? This used to build flawlessly?


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