[PyQt] compiling sip on vista

Arve Knudsen arve.knudsen at gmail.com
Thu Jul 26 15:23:02 BST 2007


Hi Boris
A colleague told me he had to put the MinGW subdirectory containing cc1 in
PATH.

Hope this helps,
Arve

On 7/26/07, b b <borique at gmail.com> wrote:
>
> 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
>
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20070726/4e5da4b0/attachment.html


More information about the PyQt mailing list