[PyQt] PyQt-x11-gpl-4.5.4, Install fails on Ubuntu 9.0.4

Rick Hightower richardhightower at gmail.com
Wed Sep 16 19:41:41 BST 2009

PyQt-x11-gpl-4.5.4, Install fails on Ubuntu 9.0.4. I am getting compile
errors in qpycore_chimera.cpp.

PyQt-x11-gpl-4.5.4$ make
make[1]: Entering directory `/home/csmadmin/tools/PyQt-x11-gpl-4.5.4/qpy'
make[2]: Entering directory
g++ -c -pipe -fno-strict-aliasing -O2 -fPIC -Wall -W -D_REENTRANT
-I../../../../qtsdk-2009.03/qt/mkspecs/linux-g++ -I.
-I../../../../qtsdk-2009.03/qt/include -I/usr/include/python2.6
-I../../QtCore -I. -o qpycore_chimera.o qpycore_chimera.cpp
qpycore_chimera.cpp: In member function ‘void (*
Chimera::get_assign_helper() const)(void*, const void*)’:
qpycore_chimera.cpp:718: error: ‘struct _pyqt4ClassTypeDef’ has no member
named ‘qt4_assign_func’
qpycore_chimera.cpp:726: error: ‘pyqt4MappedTypeDef’ was not declared in
this scope
qpycore_chimera.cpp:726: error: expected primary-expression before ‘)’ token
qpycore_chimera.cpp:726: error: expected `)' before ‘_type’
make[2]: *** [qpycore_chimera.o] Error 1
make[2]: Leaving directory
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/csmadmin/tools/PyQt-x11-gpl-4.5.4/qpy'
make: *** [all] Error 2


First me: not new to Python, but am new to QT and PyQT (did some PyGTK)
OS: Linux
Distribution:  Ubuntu 9.0.4
Python Version: 2.6

I am trying to download PyQT and go through some tutorials in hopes of using
PyQT as our GUI API of choice in the near future.

I downloaded PyQT (PyQt-x11-gpl-4.5.4), which needed SIP. I downloaded and
installed SIP (sip-4.9-snapshot-20090914, successfully).

I then found that I needed the QT SDK, so I downloaded and installed it as
well (qtsdk-2009.03).

I put it on the path:  export

I then ran python configure.py in the PyQt-x11-gpl-4.5.4 dir.

I then ran make, when I got the above error message.

My guess is that I have the wrong version of SIP. I just grabbed the latest.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090916/658edf8a/attachment.html

More information about the PyQt mailing list