Yaakov,
On Fri, Jul 06, 2012 at 08:47:47AM -0500, Yaakov (Cygwin/X) wrote:
> On 2012-06-26 02:51, Yaakov (Cygwin/X) wrote:
> >On Fri, 2012-06-22 at 13:18 -0400, Jason Tishler wrote:
> >>I really appreciate your feedback. Can you post your WIP Python 3.2
> >>cygport script and patches?
> >
> >http://cygwin-ports.git.sourceforge.net/git/gitweb.cgi?p=cygwin-ports/python3
> >http://cygwin-ports.git.sourceforge.net/git/gitweb.cgi?p=cygwin-ports/python3-doc
>
> I just pushed an additional patch to fix ctypes for 3.2.
Thanks for the above.
BTW, to get the _dbm module to build I had to change 3.1-dbm.patch as
follows:
@@ -1077,6 +1077,8 @@
if self.compiler.find_library_file(lib_dirs,
'ndbm'):
ndbm_libs = ['ndbm']
+ elif self.compiler.find_library_file(lib_dirs,
'gdbm_compat'):
+ ndbm_libs = ['gdbm_compat']
else:
ndbm_libs = []
print("building dbm using ndbm")
Additionally, I removed --with-dbmliborder=gdbm from CYGCONF_ARGS.
Note that the above changes make the 3.2 _dbm build more like the 2.6
one. Did the _dbm module build for you with your python3-3.2.3-1.cygport
script? It didn't when I tried it. Is the above approach OK? Or, can
you think of a better way?
Thanks,
Jason