compiling sip on vista

B

boriq

Hi,

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:
\MinGW.
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…

C:\sip-4.6>make
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
directory
mingw32-make[1]: *** [main.o] Error 1
mingw32-make[1]: Leaving directory `C:/sip-4.6/sipgen'
mingw32-make: *** [all] Error 2

C:\sip-4.6>

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

Thanks in advance.

Rg,

Boris
 
P

Phil Thompson

Hi,

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:
\MinGW.
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…

C:\sip-4.6>make
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
directory
mingw32-make[1]: *** [main.o] Error 1
mingw32-make[1]: Leaving directory `C:/sip-4.6/sipgen'
mingw32-make: *** [all] Error 2

C:\sip-4.6>

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.

Phil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top