[New-bugs-announce] [issue4840] Compile dbm in Ubuntu
Charles Hans
report at bugs.python.org
Mon Jan 5 05:24:27 CET 2009
New submission from Charles Hans <cwhann at gmail.com>:
I tried and failed in compile python 3.0 in ubuntu 8.10. Then I found
the scripts in setup.py use "gdbm/ndbm.h" while in ubuntu 8.10 it should
be gdbm-ndbm.h. So I made the following change which make the compiling ok:
setup.py
787c787
< and find_file("gdbm/ndbm.h", inc_dirs, []) is not None):
---
> and find_file("gdbm-ndbm.h", inc_dirs, []) is not None):
790c790
< libraries = ['gdbm'] ) )
---
> libraries = ['gdbm',
'gdbm_compat'] ) )
Modules/_dbmodule.c
22c22
< #include <gdbm/ndbm.h>
---
> #include <gdbm-ndbm.h>
----------
components: Library (Lib)
messages: 79107
nosy: cwhan
severity: normal
status: open
title: Compile dbm in Ubuntu
type: compile error
versions: Python 3.0
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4840>
_______________________________________
More information about the New-bugs-announce
mailing list