[PyQt] compilation problem PyQt4 on ubuntu 6.10
Mark Thompson
mthompsn at science.uva.nl
Sun May 18 11:42:34 BST 2008
Hi,
I'm trying to install PyQt4 on XUbuntu 6.10 (Edgy Eft). PyQt4 is
available in the apt package manager, but for some reason it only
installs PyQt4 to the Python2.4 installation, whereas I need it for
Python2.5 (also installed on the system). So I try a "manual" installation.
I download, unpack, "python2.5 configure.py", make and make install
sip-4.7.5.tar.gz and PyQt-x11-gpl-4.4.tar.gz from the
riverbankcomputing.com website. No special parameters anywhere --
default should be fine for me.
Sip compiles and installs fine and in the right Python2.5 location. PyQt
configures fine, but "make" gives compile error:
make[1]: Entering directory `/home/mark/tmp/PyQt-x11-gpl-4.4/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
sipQtCoreQMetaType.o sipQtCoreQMetaType.cpp
sipQtCoreQMetaType.cpp:290: error: ‘QTransform’ is not a member of
‘QMetaType’
make[1]: *** [sipQtCoreQMetaType.o] Error 1
make[1]: Leaving directory `/home/mark/tmp/PyQt-x11-gpl-4.4/QtCore'
make: *** [all] Error 2
Gcc version is 4.1.2.
Suggestions, anyone?
Mark
More information about the PyQt
mailing list