I came across this today, and found a similar bug in launchpad [1].
The following commands worked for me (including cleaning up
beforehand):
cd Python-2.3.7
make distclean
./configure BASECFLAGS=-U_FORTIFY_SOURCE
make
I hope that helps.
zenzike
[1]
Hi guys,
Testing some older versions of Python. 2.2.3 compiled and runs just
fine on same machine. I get this error during 2.3.7 make:
case $MAKEFLAGS in \
*-s*) CC='gcc -pthread' LDSHARED='gcc -pthread -shared' OPT='-
DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py -q