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.

Author phaering
Recipients phaering
Date 2010-07-29.17:26:18
SpamBayes Score 0.01839708
Marked as misclassified No
Message-id <1280424380.77.0.379026276123.issue9420@psf.upfronthosting.co.za>
In-reply-to
Content
There are systems out there, wich don't have ndbm, but gdbm and ndbm.h directly in the include-path (usually /usr/include), not in the subdirectory i.e. gdbm.

setup.py at the moment assumes, that there is ndbm on the system, if there is ndbm.h in the include path. If it doesn't find libndbm, it continues to try to use ndbm without library, which doesn't work.
BLFS (http://www.linuxfromscratch.org/blfs/view/svn/general/python.html) fills in the gdbm and gdbm-compat library, which works, but is wrong, because we really use gdbm and not ndbm.
The right way is to start with the library change and then look for the header file, as it is in the proposed patch for setup.py
History
Date User Action Args
2010-07-29 17:26:21phaeringsetrecipients: + phaering
2010-07-29 17:26:20phaeringsetmessageid: <1280424380.77.0.379026276123.issue9420@psf.upfronthosting.co.za>
2010-07-29 17:26:19phaeringlinkissue9420 messages
2010-07-29 17:26:18phaeringcreate