[PyQt] problem compiling SIP (20070714 snapshot) on Vista

Tom Brown brown at esteem.com
Mon Jul 23 17:24:58 BST 2007


On Friday 20 July 2007 17:06, Tom Brown wrote:
> 1) compiled Qt 4.3.0
> 2) manually compiled the psql driver in the Qt tree
> 3) compiled SIP
> 4) tried to install SIP, which failed
>
> 'mingw32-make install' in the SIP directory failed with these errors:
>
> C:\sip-snapshot-20070714>mingw32-make install
> mingw32-make[1]: Entering directory `C:/sip-snapshot-20070714/sipgen'
> makefile:29: warning: overriding commands for target `.c.o'
> makefile:26: warning: ignoring old commands for target `.c.o'
> /usr/bin/sh: -c: line 2: syntax error: unexpected end of file
> mingw32-make[1]: *** [install] Error 258
> mingw32-make[1]: Leaving directory `C:/sip-snapshot-20070714/sipgen'
> mingw32-make: *** [install] Error 2
>
> I've done several installs of Qt/SIP/PyQt4 in Windows and I've never seen
> anything like this before. Any ideas what I'm doing wrong?

I figured out what the problem was. I had installed MSYS and had it's bin 
directory in the path. This was causing issues with the shell commands in the 
Makefiles because the Makefile would end up using the MSYS sh.exe instead.

Looks like this came up before. If I had searched the archives on MSYS I would 
have found the answer right away.

Anyway, SIP installed fine and I'm compiling PyQt4 (20070721 snapshot). I 
expect PyQt4 to install just fine also.

Thanks,
Tom


More information about the PyQt mailing list