New submission from Charles Hans <cwh...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue4840>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to