[Eric] PyQt compilation errors

Michael Durr mcdurr at yahoo.com
Tue Jul 14 21:09:55 BST 2009


I was trying to solve a problem where the breakpoint icon wasn't appearing when I set a breakpoint so I decided to make a fresh installation of everything for ERIC, but I'm encountering an error when I try to compile PyQt.

I'm working on windows XP SP2.  I uninstalled all of my python installations, previous QT, previous PyQT, mingw, I never had sip or Qscintilla before.  Then:

- installed python 2.6.2
- installed the open source version of QT4 (qt-win-opensource-4.5.2-mingw.exe) and allowed it to automatically install mingw for me.
- in the command window I add python, qt\4.5.4\bin and mingw\bin to my path
- I install sip without problem (python configure.py --platform win32-gcc; make; make install)
- I install qsintilla without problem (qmake qscintilla.pro; make; make install)
- Then I attempt to install PyQt ( PyQt-win-gpl-4.5.1) and run into problems.

When I run make I get the following error.   If someone could point out where I've gone wrong here I would greatly appreciate it.

C:\Documents and Settings\Michael\My Documents\PythonIDEDowloads\PyQt-win-gpl-4.
5.1\PyQt-win-gpl-4.5.1>make
mingw32-make[1]: Entering directory `C:/Documents and Settings/Michael/My Docume
nts/PythonIDEDowloads/PyQt-win-gpl-4.5.1/PyQt-win-gpl-4.5.1/qpy'
mingw32-make[2]: Entering directory `C:/Documents and Settings/Michael/My Docume
nts/PythonIDEDowloads/PyQt-win-gpl-4.5.1/PyQt-win-gpl-4.5.1/qpy/QtCore'
mingw32-make -f Makefile.Release
mingw32-make[3]: Entering directory `C:/Documents and Settings/Michael/My Docume
nts/PythonIDEDowloads/PyQt-win-gpl-4.5.1/PyQt-win-gpl-4.5.1/qpy/QtCore'
g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT
-DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"c:\Qt\4.5.2\incl
ude\QtCore" -I"c:\Qt\4.5.2\include\QtGui" -I"c:\Qt\4.5.2\include" -I"c:\Python26
\include" -I"..\..\QtCore" -I"c:\Qt\4.5.2\include\ActiveQt" -I"release" -I"c:\Qt
\4.5.2\mkspecs\default" -o release\qpycore_chimera.o qpycore_chimera.cpp
In file included from qpycore_sip.h:42,
from qpycore_chimera.h:46,
from qpycore_chimera.cpp:43:
sip/QtCore/qobject.sip:542:25: qpycore_api.h: No such file or directory
mingw32-make[3]: *** [release/qpycore_chimera.o] Error 1
mingw32-make[3]: Leaving directory `C:/Documents and Settings/Michael/My Documen
ts/PythonIDEDowloads/PyQt-win-gpl-4.5.1/PyQt-win-gpl-4.5.1/qpy/QtCore'
mingw32-make[2]: *** [release] Error 2
mingw32-make[2]: Leaving directory `C:/Documents and Settings/Michael/My Documen
ts/PythonIDEDowloads/PyQt-win-gpl-4.5.1/PyQt-win-gpl-4.5.1/qpy/QtCore'
mingw32-make[1]: *** [all] Error 2
mingw32-make[1]: Leaving directory `C:/Documents and Settings/Michael/My Documen
ts/PythonIDEDowloads/PyQt-win-gpl-4.5.1/PyQt-win-gpl-4.5.1/qpy'
mingw32-make: *** [all] Error 2
C:\Documents and Settings\Michael\My Documents\PythonIDEDowloads\PyQt-win-gpl-4.
5.1\PyQt-win-gpl-4.5.1>
 
Thanks Michael


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/eric/attachments/20090714/3d15648c/attachment.html


More information about the Eric mailing list