This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Compile dbm in Ubuntu
Type: compile error Stage:
Components: Library (Lib) Versions: Python 3.0
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: cwhan, gumpy
Priority: normal Keywords:

Created on 2009-01-05 04:24 by cwhan, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg79107 - (view) Author: Charles Hans (cwhan) Date: 2009-01-05 04:24
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>
msg79197 - (view) Author: (gumpy) Date: 2009-01-05 20:36
I believe this is already fixed. #4483
History
Date User Action Args
2022-04-11 14:56:43adminsetgithub: 49090
2009-01-05 20:47:29gpolosetstatus: open -> closed
resolution: duplicate
2009-01-05 20:36:54gumpysetnosy: + gumpy
messages: + msg79197
2009-01-05 04:24:26cwhancreate