[PyQt] unable to load the postgre sql drivers in pyqt
Andreas Pakulat
apaku at gmx.de
Sun Dec 30 18:12:27 GMT 2007
On 30.12.07 09:51:47, nishith datta wrote:
> hi phil,
> First of all thanks for your prompt responses.
> Well I have in the meantime downloaded the SIP 4.7 snapshot from the riverbankcomputing site and I went ahead to configure it as follows :-
>
> E:\downloads\pythonAndQt\sip-4.7-snapshot-20071228>e:\Python25\python configure.
> py -p win32-g++
> This is SIP 4.7-snapshot-20071228 for Python 2.5.1 on win32.
> The SIP code generator will be installed in e:\Python25.
> The SIP module will be installed in e:\Python25\Lib\site-packages.
> The SIP header file will be installed in e:\Python25\include.
> The default directory to install .sip files in is e:\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...
>
> It went off fine and got the command prompt back .
> Next I tried to make it and again got stuck :-
>
> E:\downloads\pythonAndQt\sip-4.7-snapshot-20071228>mingw32-make
> mingw32-make[1]: Entering directory `E:/downloads/pythonAndQt/sip-4.7-snapshot-2
> 0071228/sipgen'
> makefile:29: warning: overriding commands for target `.c.o'
> makefile:26: warning: ignoring old commands for target `.c.o'
> gcc -c -O2 -w -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o main.o main.c
> gcc: installation problem, cannot exec `as': No such file or directory
> mingw32-make[1]: *** [main.o] Error 1
> mingw32-make[1]: Leaving directory `E:/downloads/pythonAndQt/sip-4.7-snapshot-20
> 071228/sipgen'
> mingw32-make: *** [all] Error 2
>
> But I can cd to the sipgen dir and I find that the main.c file indeed exists. So what is it complaining about ?
That you don't have an assembler installed (thats what it looks for
"as"). Seems like you forgot some parts when installing mingw or some
such.
Andreas
--
Keep it short for pithy sake.
More information about the PyQt
mailing list