compiling sip on vista

boriq boris.smirnov at
Thu Jul 26 09:42:14 CEST 2007


I'm trying to compile sip 4.6 on windows vista.
I have Python 2.5 installed in c:\Python25.
I have Qt 4.3.0 installed in c:\Qt\4.3.0 together with MinGW in c:
I have environment variable PATH set to c:\Qt\4.3.0\bin;c:\MinGW\bin
And here is what I did:
C:\sip-4.6> -p win32-g++
This is SIP 4.6 for Python 2.5 on win32.
The SIP code generator will be installed in C:\Python25.
The SIP module will be installed in C:\Python25\Lib\site-packages.
The SIP header file will be installed in C:\Python25\include.
The default directory to install .sip files in is C:\Python25\sip.
The platform/compiler configuration is win32-g++.
Creating top level Makefile…
Creating sip code generator Makefile…
Creating sip module Makefile…

makefile:29: warning: overriding commands for target `.c.o'
makefile:26: warning: ignoring old commands for target `.c.o'
mingw32-make[1]: Entering directory `C:/sip-4.6/sipgen'
gcc -c -O2 -w -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o main.o main.c
gcc: installation problem, cannot exec `cc1′: No such file or
mingw32-make[1]: *** [main.o] Error 1
mingw32-make[1]: Leaving directory `C:/sip-4.6/sipgen'
mingw32-make: *** [all] Error 2


Could anybody tell me what's wrong here and what should I make to
correct that?

Thanks in advance.



More information about the Python-list mailing list