[PyQt] make error in PyQt4 install

Phil Thompson phil at riverbankcomputing.com
Sun Jul 7 18:15:42 BST 2013


On Sun, 07 Jul 2013 12:26:18 +0200, Vincent Vande Vyvre
<vincent.vandevyvre at swing.be> wrote:
> Hi,
> 
> Installing the last PyQt4 PyQt-x11-gpl-4.10.2, the make fail with this 
> error:
> 
> ...
> rm -f libqpydbus.a
> ar cqs libqpydbus.a qpydbus_chimera_helpers.o qpydbus_post_init.o 
> qpydbuspendingreply.o qpydbusreply.o
> make[2]: quittant le répertoire « 
> /home/vincent/Téléchargements/PyQt-x11-gpl-4.10.2/qpy/QtDBus »
> make[1]: quittant le répertoire « 
> /home/vincent/Téléchargements/PyQt-x11-gpl-4.10.2/qpy »
> cd QtCore/ && make -f Makefile
> make[1]: entrant dans le répertoire « 
> /home/vincent/Téléchargements/PyQt-x11-gpl-4.10.2/QtCore »
> g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_WEBKIT 
> -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN 
> -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. 
> -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I/usr/include/python2.7 
> -I../qpy/QtCore -I. -o sipQtCoreQTimerEvent.o sipQtCoreQTimerEvent.cpp
>
/home/vincent/Téléchargements/PyQt-x11-gpl-4.10.2/QtCore/sipQtCoreQTimerEvent.cpp:242:1:
> 
> erreur: too many initializers for ‘sipClassTypeDef {aka
_sipClassTypeDef}’
> make[1]: *** [sipQtCoreQTimerEvent.o] Erreur 1
> make[1]: quittant le répertoire « 
> /home/vincent/Téléchargements/PyQt-x11-gpl-4.10.2/QtCore »
> make: *** [sub-QtCore-make_default-ordered] Erreur 2

Some more information would be useful.

As nobody else has complained I'd suggest it is a problem with your
installation/configuration.

Phil


More information about the PyQt mailing list