[PyQt] Problem generating PyQt4

Phil Thompson phil at riverbankcomputing.com
Fri Sep 24 18:24:56 BST 2010


On Fri, 24 Sep 2010 19:15:36 +0200, Detlev Offenbach
<detlev at die-offenbachs.de> wrote:
> Hi,
> 
> I just tried to build latest PyQt4 snapshot with latest sip snapshot and
> Qt 
> 4.7.0. Unfortunately I got this error traceback.
> 
> An internal error occured.  Please report all the output from the
program,
> including the following traceback, to support at riverbankcomputing.com.
> Traceback (most recent call last):
>   File "configure.py", line 2139, in <module>
>     main()
>   File "configure.py", line 2089, in main
>     pyqt.check_modules()
>   File "configure.py", line 353, in check_modules
>     check_module("QtGui", "qwidget.h", "new QWidget()")
>   File "configure.py", line 1345, in check_module
>     if check_api(incfile, test, mname,
>     extra_include_dirs=extra_include_dirs,
> extra_lib_dirs=extra_lib_dirs, extra_libs=extra_libs):
>   File "configure.py", line 1377, in check_api
>     extra_lib_dirs=extra_lib_dirs, extra_libs=extra_libs)
>   File "configure.py", line 1190, in compile_qt_program
>     exe, build = makefile.build_command(name)
>   File "/usr/lib64/python3.1/site-packages/sipconfig.py", line 1819, in 
> build_command
>     self.ready()
>   File "/usr/lib64/python3.1/site-packages/sipconfig.py", line 1089, in
>   ready
>     self.finalise()
>   File "/usr/lib64/python3.1/site-packages/sipconfig.py", line 1907, in 
> finalise
>     Makefile.finalise(self)
>   File "/usr/lib64/python3.1/site-packages/sipconfig.py", line 829, in 
> finalise
>     lflags.extend(self._platform_rpaths(rpaths.as_list()))
>   File "/usr/lib64/python3.1/site-packages/sipconfig.py", line 928, in 
> _platform_rpaths
>     prefix = self.optional_string("LFLAGS_RPATH")
>   File "/usr/lib64/python3.1/site-packages/sipconfig.py", line 899, in 
> optional_string
>     s = ' '.join(self.optional_list(name))
>   File "/usr/lib64/python3.1/site-packages/sipconfig.py", line 891, in 
> optional_list
>     return self.__dict__[name].as_list()
> KeyError: 'LFLAGS_RPATH'

It will be fixed in tonight's SIP snapshot.

Phil


More information about the PyQt mailing list