[PyQt] Compile failure Ubuntu Feisty

Joe Fernandez vash at darktempest.com
Sun Sep 30 22:18:37 BST 2007

When attempting to compile the latest PyQT from source, I receive an error
on the make operation.

vash at darktempest:~/Downloads/PyQt-x11-gpl-4.3.1$ make
make[1]: Entering directory `/home/vash/Downloads/PyQt-x11-gpl-4.3.1 /qpy'
make[2]: Entering directory `/home/vash/Downloads/PyQt-x11-gpl-4.3.1
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory

make[1]: Leaving directory `/home/vash/Downloads/PyQt-x11-gpl-4.3.1/qpy'
make[1]: Entering directory `/home/vash/Downloads/PyQt-x11-gpl-4.3.1/QtCore'
g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I.
-I/usr/include/python2.5 -I/usr/mkspecs/linux-g++ -I/usr/include/qt4/QtCore
-I/usr/include/qt4 -I/usr/X11R6/include -o sipQtCorecmodule.o
sipQtCorecmodule.cpp: In function 'PyObject* func_qQNaN(PyObject*,
sipQtCorecmodule.cpp:8114: error: 'qQNaN' was not declared in this scope
sipQtCorecmodule.cpp : In function 'PyObject* func_qSNaN(PyObject*,
sipQtCorecmodule.cpp:8139: error: 'qSNaN' was not declared in this scope
sipQtCorecmodule.cpp: In function 'PyObject* func_qIsNaN(PyObject*,
sipQtCorecmodule.cpp:8191: error: 'qIsNaN' was not declared in this scope
sip/QtCore/qobject.sip: In function 'void initQtCore()':
sip/QtCore/qobject.sip:3025: warning: dereferencing type-punned pointer will
break strict-aliasing rules
make[1]: *** [sipQtCorecmodule.o] Error 1
make[1]: Leaving directory `/home/vash/Downloads/PyQt-x11-gpl-4.3.1/QtCore'
make: *** [all] Error 2

The latest SIP installed correctly so I dont know what's causing the
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20070930/45f55096/attachment.html

More information about the PyQt mailing list