[PyQt] problem building sip-4.7.5-snapshot-20080510

Phil Thompson phil at riverbankcomputing.com
Sun May 11 10:09:24 BST 2008


On Sunday 11 May 2008 07:19:48 Gerard Vermeulen wrote:
> Phil, I get this:
>
> This is SIP 4.7.5-snapshot-20080510 for Python 2.5.2 on linux2.
> The SIP code generator will be installed in /home/packer/usr/bin.
> The SIP module will be installed in
> /home/packer/usr/lib/python2.5/site-packages.
> The SIP header file will be installed
> in /home/packer/usr/include/python2.5. The default directory to
> install .sip files in is /home/packer/usr/share/sip. The
> platform/compiler configuration is linux-g++. Creating sipconfig.py...
> Creating top level Makefile...
> Creating sip code generator Makefile...
> Creating sip module Makefile...
> An internal error occured.  Please report all the output from the
> program, including the following traceback, to
> support at riverbankcomputing.co.uk.
>
> Traceback (most recent call last):
>   File "configure.py", line 392, in <module>
>     main(sys.argv)
>   File "configure.py", line 383, in main
>     create_makefiles(macros)
>   File "configure.py", line 309, in create_makefiles
>     makefile.generate()
>   File
> "/home/packer/CVS/PyQwt/BUILD/sip-4.7.5-snapshot-20080510/sipconfig.py",
> line 1041, in generate self.ready() File
> "/home/packer/CVS/PyQwt/BUILD/sip-4.7.5-snapshot-20080510/sipconfig.py",
> line 1036, in ready self.finalise() File
> "/home/packer/CVS/PyQwt/BUILD/sip-4.7.5-snapshot-20080510/sipconfig.py",
> line 1533, in finalise self.LFLAGS.remove('-Wl,--no-undefined')
> AttributeError: _Macro instance has no attribute 'remove'
>
> and then sipgen builds and installs, but not siplib.

Whoops - move the remove() method from the _UniqueList class to the _Macro 
class.

Thanks,
Phil


More information about the PyQt mailing list