compiling sip on vista
phil at riverbankcomputing.co.uk
Thu Jul 26 20:27:54 CEST 2007
On Thursday 26 July 2007 8:42 am, boriq wrote:
> 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>configure.py -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 sipconfig.py…
> 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: 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: *** [main.o] Error 1
> mingw32-make: 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.
There would seem to be something wrong with your MinGW setup. Nothing to do
with sip or Vista.
More information about the Python-list