Re: [Bug-gnubg] Windows builds with mingw/Sqlite/Python252
From:
Massimiliano Maini
Subject:
Re: [Bug-gnubg] Windows builds with mingw/Sqlite/Python252
Date:
Thu, 17 Apr 2008 09:54:00 +0200
address@hidden
wrote on 17/04/2008 03:58:21:
>
> After helping Michael Parsons he had a few comments about what he
had to do
> to get everything linked properly. Below are his comments that may
be of use
> to others.
>
> ----
>
> For future reference, your instructions as to what to do after installing
> python25 were not quite right, but I was able to improvise. It
is not the
> dll that the make is looking for, but libpython25.a, which is in the
> /python25/libs directory. Then, in addition, it wants libsqlite3.a.
Both
> of these archives need to be placed in /gnu/mingw/lib. Now,
libsqlite3.a is
> NOT in /python25/libs, but _sqlite3.lib is. So, I executed the
following
> command:
>
> cp -m /python25/libs/_sqlite3.lib /gnu/mingw/lib/libsqlite3.a
>
> and after that, the linker was happy. Would have never gotten
here without
> your help.
>
> Thanks a bunch, and now I have to familiarize myself with what gnubg
can do.
>
> Mike
Actually, if you want to build using mingw, you need
to install pymingw on top of python and, of course, use the dll and the
libs procvided by pymingw instead of the standard python ones. I've wasted hours
on this problem ... twice (3 months ago and 3 years ago) !!