[PyQt] Building SIP on MinGW : problem at "make install"

luper rouch luper.rouch at gmail.com
Thu Jun 17 01:36:08 BST 2010


There seems to be a problem with the makefile generation of SIP for
the win32-g++ target. The compilation works fine, but the install
phase uses DOS commands instead of the POSIX commands supplied by
MinGW (e.g. del and copy instead of rm and cp).

Here is the output of make install:

$ make install
make[1]: Entering directory `/c/s/sipgen'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make[1]: *** [install] Error 2
make[1]: Leaving directory `/c/s/sipgen'
make: *** [install] Error 2

and the corresponding section in the makefile:

install: $(TARGET)
        @if not exist c:\python26 mkdir c:\python26
        copy /y $(TARGET) c:\python26\$(TARGET)


More information about the PyQt mailing list