Re: Compile kinterbasdb with mingw32 and python 2.6 - DLL load failed
I write path for compile kinterbasdb with mingw32 and python 2.6 for rev 1038 See http://sourceforge.net/tracker/?func=detail&aid=2872794&group_id=9913&atid=309913 -- http://mail.python.org/mailman/listinfo/python-list
Re: Compile kinterbasdb with mingw32 and python 2.6 - DLL load failed
Christian Heimes írta: Laszlo Nagy wrote: 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? I know from experience that it's sometimes hard to compile Python extensions with MinGW32. Have you tried the official builds from the new download page http://www.firebirdsql.org/index.php?op=devel&sub=python ? Haven't because I have to use Firebird 1.5. There is no official binary distribution for firebird 1.5 + python 2.6. (I'll try to build this with MSVC later today). Thank you -- http://mail.python.org/mailman/listinfo/python-list
Re: Compile kinterbasdb with mingw32 and python 2.6 - DLL load failed
Laszlo Nagy wrote: > 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? I know from experience that it's sometimes hard to compile Python extensions with MinGW32. Have you tried the official builds from the new download page http://www.firebirdsql.org/index.php?op=devel&sub=python ? Christian -- http://mail.python.org/mailman/listinfo/python-list
Compile kinterbasdb with mingw32 and python 2.6 - DLL load failed
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. -- -- From: Laszlo Nagy To: "python-list (General)" Date: Mon, 21 Sep 2009 08:53:06 +0430 Subject: Compile kinterbasdb with mingw32 and python 2.6 - DLL load failed This is what I did so far: #1. Install Python 2.6, Firebird 1.5 server (with libs and headers), egenix mx base and mingw C compiler #2. put "c:\MinGW\bin" on the PATH (or wherever it is) #3. extract kinterbasdb source to a temp folder #4. hack setup.cfg. Change the build section: [build] compiler=mingw32 #5. hack setup.py Replace this: customCompilerName = 'msvc' With this: customCompilerName = 'mingw32-gcc' #6. run "python setup.py install" 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? Thanks, Laszlo -- http://mail.python.org/mailman/listinfo/python-list
Re: Compile kinterbasdb with mingw32 and python 2.6 - DLL load failed
Laszlo Nagy writes: >>> 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? >>> >> >> Download Microsoft Visual C++.2008 Express Edition >> > > Its license does not allow us to create services for internet if we > charge fees. At least this is what I was told. Does this mean that > using kinterbasdb (compiled with MSVC express) I'm forbidden to write > commercial internet services? :-s Is the license for the SDK (which includes the command line c++ compiler) the same? You only need the command line compiler, not the gui that comes with the express edition. -- http://mail.python.org/mailman/listinfo/python-list
Re: Compile kinterbasdb with mingw32 and python 2.6 - DLL load failed
Laszlo Nagy wrote: > >>> 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? >>> >> >> Download Microsoft Visual C++.2008 Express Edition >> > > Its license does not allow us to create services for internet if we > charge fees. At least this is what I was told. Does this mean that using > kinterbasdb (compiled with MSVC express) I'm forbidden to write > commercial internet services? :-s I see three options: 1) Ask a laywer. 2) Download the MSVC express compiled version from somewhere else. ; adhere to the kinterbasdb license; let MS license issues not be your problem - or at least now having "plausible deniability". 3) F*ck license issues. You're not redistributing anything, who will know what software compiled with which compilers you're using? Well, or just use mingw. -- Gerhard -- http://mail.python.org/mailman/listinfo/python-list
Re: Compile kinterbasdb with mingw32 and python 2.6 - DLL load failed
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? Download Microsoft Visual C++.2008 Express Edition Its license does not allow us to create services for internet if we charge fees. At least this is what I was told. Does this mean that using kinterbasdb (compiled with MSVC express) I'm forbidden to write commercial internet services? :-s L -- http://mail.python.org/mailman/listinfo/python-list
Re: Compile kinterbasdb with mingw32 and python 2.6 - DLL load failed
On Mon, Sep 21, 2009 at 12:23 AM, Laszlo Nagy wrote: > This is what I did so far: > > #1. Install Python 2.6, Firebird 1.5 server (with libs and headers), egenix > mx base and mingw C compiler > #2. put "c:\MinGW\bin" on the PATH (or wherever it is) > #3. extract kinterbasdb source to a temp folder > #4. hack setup.cfg. Change the build section: > > [build] > compiler=mingw32 > > #5. hack setup.py > > Replace this: > customCompilerName = 'msvc' > With this: > customCompilerName = 'mingw32-gcc' > > #6. run "python setup.py install" > > 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? Download Microsoft Visual C++.2008 Express Edition -- http://mail.python.org/mailman/listinfo/python-list
Compile kinterbasdb with mingw32 and python 2.6 - DLL load failed
This is what I did so far: #1. Install Python 2.6, Firebird 1.5 server (with libs and headers), egenix mx base and mingw C compiler #2. put "c:\MinGW\bin" on the PATH (or wherever it is) #3. extract kinterbasdb source to a temp folder #4. hack setup.cfg. Change the build section: [build] compiler=mingw32 #5. hack setup.py Replace this: customCompilerName = 'msvc' With this: customCompilerName = 'mingw32-gcc' #6. run "python setup.py install" 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? Thanks, Laszlo -- http://mail.python.org/mailman/listinfo/python-list