Changes by Andrew Price <[EMAIL PROTECTED]>:
--
nosy: +AndyP
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4483>
___
___
Python
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
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
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/
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