Hello,<div><br></div><div>I need to build PyQt4 for use with an existing software (The Foundry's Nuke6.3v4). That software uses Python 2.6 which requires me to build a separate version of Python for my system (LinuxMint 12, w/ Python 2.7).</div>
<div><br></div><div>I have built python-2.6.7 fine.</div>
<div>I have built sip-4.13.1 fine.</div><div>I have built qt-everywhere-opensource-4.8.0 fine.</div><div>I fail on configuring PyQt-4.9 before evening building it (using <font face="'courier new', monospace">/opt/python-2.6.7/bin/python2.6 ./configure.py -q /usr/local/Trolltech/Qt-4.8.0/bin/qmake -w</font>):</div>
<div><br></div><div><div><font face="'courier new', monospace">Generating the C++ source for the QtDeclarative module...</font></div><div><font face="'courier new', monospace">"/opt/python-2.6.7/bin/sip" -w -o -P -x VendorID -t WS_X11 -x PyQt_OpenSSL -x PyQt_NoPrintRangeBug -t Qt_4_8_0 -x Py_v3 -g -a QtDeclarative.api -c /home/nico/Downloads/py4nk/PyQt-x11-gpl-4.9/QtDeclarative -b QtDeclarative/QtDeclarative.sbf -I /home/nico/Downloads/py4nk/PyQt-x11-gpl-4.9/sip /home/nico/Downloads/py4nk/PyQt-x11-gpl-4.9/sip/QtDeclarative/QtDeclarativemod.sip</font></div>
<div><font face="'courier new', monospace">sip: __or__() unsupported function return type - provide %MethodCode and a C++ signature</font></div><div><font face="'courier new', monospace">Error: Unable to create the C++ code.</font></div>
<div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Earlier this year, I managed to build PyQt4 on Ubuntu, but it was a version for Python 2.5. I do not recall having any problem at all when I did. I'm about to install VirtualBox to run a few test cases, but if anyone can point me towards what I may be doing wrong, that would be great. Not sure if that -x Py_v3 is a hint. Or perhaps there is a mismatch elsewhere in my packages?</font></div>
<div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Thanks. nico</font></div><div><br></div>-- <br>
"Attention, attention. Here and now, boys," the mynah repeated. "Here and now, boys."<br>
</div>