Submitted By: Jim Gifford (jim at linuxfromscratch dot org)
Date: 2003-10-12
Initial Package Version: 2.3.2
Origin: Jim Gifford
Description: Fixes GDBM Error - changed where it looks for ndbm.h
*** WARNING: renaming "dbm" since importing it failed:
build/lib.linux-i686-2.3/dbm.so: undefined symbol: dbm_firstkey
diff -Naur Python-2.3.2.orig/setup.py Python-2.3.2/setup.py
old
|
new
|
|
601 | 601 | define_macros=[('HAVE_NDBM_H',None)], |
602 | 602 | libraries = ndbm_libs ) ) |
603 | 603 | elif (self.compiler.find_library_file(lib_dirs, 'gdbm') |
604 | | and find_file("gdbm/ndbm.h", inc_dirs, []) is not None): |
| 604 | and find_file("ndbm.h", inc_dirs, []) is not None): |
605 | 605 | exts.append( Extension('dbm', ['dbmmodule.c'], |
606 | 606 | define_macros=[('HAVE_GDBM_NDBM_H',None)], |
607 | 607 | libraries = ['gdbm'] ) ) |