[PyKDE] 12/26 snapshot don't compile

Xavier Décoret Xavier.Decoret at imag.fr
Tue Dec 27 08:46:55 GMT 2005


Hi, I am trying to compile latest snapshot of PyQt4 (looking forward to 
have it, let us know if you need help/support/funding)) on a fedora core 
4 with gcc 4.0.2.
I get the following error when I try to compile. I put the configure 
messages and make error below:

[root at localhost PyQt4-gpl-snapshot-20051226]# python configure.py -q 
/usr/local/Trolltech/Qt-4.1.0/
This is the GPL version of PyQt snapshot-20051226 (licensed under the GNU
General Public License) for Python 2.4.1 on linux2.

Type 'L' to view the license.
Type 'yes' to accept the terms of the license.
Type 'no' to decline the terms of the license.

Do you accept the terms of the license? yes
Checking to see if the QtGui module should be built...
Checking to see if the QtNetwork module should be built...
Checking to see if the QtOpenGL module should be built...
Checking to see if the QtSql module should be built...
Checking to see if the QtXml module should be built...
Qt v4.1.0 free edition is being used.
SIP snapshot-20051226 is being used.
The Qt header files are in /usr/local/Trolltech/Qt-4.1.0/include.
The QtCore Qt library is in /usr/local/Trolltech/Qt-4.1.0/lib.
These PyQt modules will be built: QtCore QtGui QtNetwork QtOpenGL QtSql 
QtXml.
The PyQt modules will be installed in /usr/lib/python2.4/site-packages.
The PyQt .sip files will be installed in /usr/share/sip.
pyuic4, pyrcc4 and pylupdate4 will be installed in /usr/bin.
Generating the C++ source for the QtCore module...
Creating the Makefile for the QtCore module...
Generating the C++ source for the QtGui module...
Creating the Makefile for the QtGui module...
Generating the C++ source for the QtNetwork module...
Creating the Makefile for the QtNetwork module...
Generating the C++ source for the QtOpenGL module...
Creating the Makefile for the QtOpenGL module...
Generating the C++ source for the QtSql module...
Creating the Makefile for the QtSql module...
Generating the C++ source for the QtXml module...
Creating the Makefile for the QtXml module...
Creating top level Makefile...
Creating pyuic4 wrapper...
Creating pyuic4 Makefile...
Creating pylupdate4 Makefile...
Creating pyrcc4 Makefile...
Creating pyqtconfig.py...
[root at localhost PyQt4-gpl-snapshot-20051226]#
[root at localhost PyQt4-gpl-snapshot-20051226]# make
make[1]: Entering directory `/root/PyQt4-gpl-snapshot-20051226/QtCore'
g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB 
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_OPENGL_LIB -DQT_SQL_LIB -DQT_XML_LIB 
-I. -I/usr/include/python2.4 -I/usr/local/Trolltech/Qt-4.1.0/include 
-I/usr/local/Trolltech/Qt-4.1.0/include/QtCore 
-I/usr/local/Trolltech/Qt-4.1.0/include/QtGui 
-I/usr/local/Trolltech/Qt-4.1.0/include/QtNetwork 
-I/usr/local/Trolltech/Qt-4.1.0/include/QtOpenGL 
-I/usr/local/Trolltech/Qt-4.1.0/include/QtSql 
-I/usr/local/Trolltech/Qt-4.1.0/include/QtXml 
-I/usr/local/Trolltech/Qt-4.1.0/mkspecs/default -I/usr/X11R6/include -o 
sipQtCorecmodule.o sipQtCorecmodule.cpp
sip/QtCore/qcoreapplication.sip:258: error: expected ‘,’ or ‘...’ before 
‘*’ token
sip/QtCore/qcoreapplication.sip:258: error: ISO C++ forbids declaration 
of ‘sipDelayedDtor’ with no type
sip/QtCore/qcoreapplication.sip: In function ‘void sipDelayedDtors(int)’:
sip/QtCore/qcoreapplication.sip:262: error: ‘ddlist’ was not declared in 
this scope
sip/QtCore/qcoreapplication.sip: At global scope:
sip/QtCore/qcoreapplication.sip:258: warning: unused parameter 
‘sipDelayedDtor’
sip/QtCore/qcoreapplication.sip:258: warning: ‘void 
sipDelayedDtors(int)’ defined but not used
make[1]: *** [sipQtCorecmodule.o] Error 1
make[1]: Leaving directory `/root/PyQt4-gpl-snapshot-20051226/QtCore'
make: *** [all] Error 2
[root at localhost PyQt4-gpl-snapshot-20051226]#




More information about the PyQt mailing list