[PyQt] Cannot 'configure' PyQt4.9 before build on Linuxmint

Brian Kelley kelley at eyesopen.com
Wed Apr 25 15:19:34 BST 2012


Sadly this doesn't work either, the "-e" flag in pyqt configure just tells
what modules to build, so I was turning the failing modules off.

Back to the drawing board (the shell script does expose the problem
however)

Brian

On 4/24/12 1:44 PM, "Brian Kelley" <kelley at eyesopen.com> wrote:

>I got hit by this as well.  Apparently having the correct sip in your path
>may not be enough.  I have attached a script that properly builds sip+qt
>assuming you have downloaded the current tarballs.  It also has the
>command that fails (SLED10-64/Ubuntu10-64) so Phil can take a look at it.
>
>Essentially:
>
>I had to specifically tell PyQt's configure where the sip include file
>(include/sip.h) was.
>
>> sip -V
>4.13.2
>> which sip
>.../sip-4.13.2/bin/sip
>
>> python configure.py \
>  -q .../Trolltech/Qt-4.8.0/bin/qmake \
>   -e .../sip-4.13.2/include \
>   -v .../sip-4.13.2/share/sip
>
>
>Note that "-e" and "-v" are the same flags as how you configured sip which
>is how I figured this out in the first place (purely by serendipity, I
>copied the wrong configure flags in a shell by accident)
>
>I kind of think this might be a bug in the PyQt configure, but then I know
>all about configuration hell so I have some sympathy ( I had to patch Qt
>4.8 to properly build WebKit on SLED10-64 as well ).  I don't have
>sympathy for the amount of time it took me to figure this out though, so
>hopefully this will help future coders. :)
>
>Brian
>
>
>
>On 4/19/12 2:09 PM, "murison" <murison at alpheratz.net> wrote:
>
>>I, too, am stopped cold by this very same problem. Sip 4.13.2, Python
>>2.7.3,
>>Qt 4.8.1, PyQt 4.9.1 on Ubuntu 11.10.
>>
>>--
>>View this message in context:
>>http://python.6.n6.nabble.com/Cannot-configure-PyQt4-9-before-build-on-Li
>>n
>>uxmint-tp2309321p4899103.html
>>Sent from the PyQt mailing list archive at Nabble.com.
>>_______________________________________________
>>PyQt mailing list    PyQt at riverbankcomputing.com
>>http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>



More information about the PyQt mailing list