[PyKDE] PyQt Windows Build

Remy Anthoine remy.anthoine at gmail.com
Mon Jan 15 10:12:15 GMT 2007


Thanks. Cygwin is probably messing up indeed so I tried to launch make
by specifying the full path of make.

Here is the output of configure.py :

C:\Documents and Settings\Administrator\Desktop\sip-4.5.2>c:\python25\python con
figure.py -p win32-g++
This is SIP 4.5.2 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...

Then the make install:

C:\MinGW\bin\mingw32-make.exe install

Output:
( ... )
Must remake target `install'.
CreateProcess(c:\cygwin\bin\sh.exe,c:/cygwin/bin/sh.exe -c "if not exist c:\pyth
on25 mkdir c:\python25",...)
Putting child 0x00aa4b60 (install) PID 11169608 on the chain.
Live child 0x00aa4b60 (install) PID 11169608
/usr/bin/sh: -c: line 1: syntax error: unexpected end of file
Reaping losing child 0x00aa4b60 PID 11169608
mingw32-make[1]: *** [install] Error 2
Removing child 0x00aa4b60 PID 11169608 from chain.
mingw32-make[1]: Leaving directory `C:/Documents and Settings/Administrator/Desk
top/sip-4.5.2/sipgen'
Reaping losing child 0x00aa2478 PID 11160768
C:\MinGW\bin\mingw32-make: *** [install] Error 2
Removing child 0x00aa2478 PID 11160768 from chain.




> I see "cygdrive" in the paths. Are you using cygwin to compile PyQt? You
> shouldn't: you should use MinGW instead. Can you show me the output of your
> configure.py execution?
>
> You probably need to arrange PATH. Try putting mingw\bin in the PATH before
> cygwin (or just remove cygwin altogether to make sure nothing in there is
> invoked). You can use the WHERE command in the CMD shell (under XP) to
> double-check (try "where make" and "where qmake" for instance).
> --
> Giovanni Bajo
>
>




More information about the PyQt mailing list