<br>I have spent two week working with MinGW. The conclusion I came after a lot of headaches and making the project getting late is: MinGW doesn't work properly on MS Windows -- there are many conflicting variables and functions with similar names on MinGW libs and MS Libs, e.g. windows.h, etc, etc. My suggestion... avoid it. If you really need a C compiler to work on MS, try anything else.<br>
<br><br><br>----------  ----------<br>From: Laszlo Nagy <<a href="mailto:gandalf@shopzeus.com">gandalf@shopzeus.com</a>><br>To: "python-list (General)" <<a href="mailto:python-list@python.org">python-list@python.org</a>><br>
Date: Mon, 21 Sep 2009 08:53:06 +0430<br>Subject: Compile kinterbasdb with mingw32 and python 2.6 - DLL load failed<br>This is what I did so far:<br>
<br>
#1. Install Python 2.6, Firebird 1.5 server (with libs and headers), egenix mx base and mingw C compiler<br>
#2. put "c:\MinGW\bin"  on the PATH (or wherever it is)<br>
#3. extract kinterbasdb source to a temp folder<br>
#4. hack setup.cfg. Change the build section:<br>
<br>
[build]<br>
compiler=mingw32<br>
<br>
#5. hack setup.py<br>
<br>
Replace this:<br>
       customCompilerName = 'msvc'<br>
With this:<br>
       customCompilerName = 'mingw32-gcc'<br>
<br>
#6. run "python setup.py install"<br>
<br>
The building and installation went find. But I cannot "import
kinterbasdb" because I get a "DLL load failed" error. I figured out
that has something to do with msvcr90 and "_ftime". Can you please give
me some advice how to solve this problem?<br>
<br>
Thanks,<br>
<br>
  Laszlo<br>