[issue4483] Error to build _dbm module during make

2008-12-04 Thread Andrew Price
Changes by Andrew Price <[EMAIL PROTECTED]>: -- nosy: +AndyP ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4483> ___ ___ Python

[issue4483] Error to build _dbm module during make

2008-12-04 Thread Andrew Price
Andrew Price <[EMAIL PROTECTED]> added the comment: I'm running the same distro as Leger and I was having the same problem. Now I've applied dbm.diff and with a clean build I'm seeing this: building '_dbm' extension gcc -pthread -fPIC -fno-strict-aliasing -DNDEBU

[issue4483] Error to build _dbm module during make

2008-12-04 Thread Andrew Price
Andrew Price <[EMAIL PROTECTED]> added the comment: In Debian Lenny libgbdm-dev provides two libs, libgdbm and libgdbm_compat: [EMAIL PROTECTED]:~$ objdump -t /usr/lib/libgdbm.a | grep dbm_firstkey *UND* gdbm_firstkey 0140 g F .text 0056 gdbm_fi

[issue4483] Error to build _dbm module during make

2008-12-04 Thread Andrew Price
Andrew Price <[EMAIL PROTECTED]> added the comment: Skip, the new patch makes it fail with (highlights): ... File "/home/andy/src/python3/Python-3.0/Lib/distutils/ccompiler.py", line 844, in has_function import tempfile File "/home/andy/src/python3/Python-3.0/Lib/

[issue4483] Error to build _dbm module during make

2008-12-04 Thread Andrew Price
Andrew Price <[EMAIL PROTECTED]> added the comment: Skip, your simplified patch works for me. Makes it build fine with the following snippet: building '_dbm' extension gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_GDBM_DASH_ND