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

Tom Brown brown at esteem.com
Sat Jul 21 01:06:27 BST 2007


I initially installed Qt 4.3.0, SIP (20070714 snapshot) and PyQt4 (20070714 
snapshot) successfully into Windows Vista (32-bit). I ported my app from 
linux to Vista. Well, I copied it to Vista and ran it. The app came up fine 
with one exception, it needed the postgresql drivers for the Qt database 
objects I am using.

I manually compiled the psql driver in the Qt tree. Then I tried recompiling 
PyQt4, which failed. After several more attempts, I decided to try re-doing 
everything from scratch. I removed SIP, PyQt4 and Qt 4.3.0. Then, 

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?


More information about the PyQt mailing list