Python is built with IBM XLC compiler, some tests fail and after installation mathematical executions are giving bad results. I corrected the _sysconfigdata.py bug (issue18235) with ld_so_aix , and found this out when tried to install some modules.
Please see this other issue for the other tests:
https://github.com/warner/python-ecdsa/issues/28
# ./configure --with-gcc="xlc_r -q64" AR="ar -X64" --prefix=/usr/local/Python-2.7.7_64_test
# make
# make test
running build_scripts
find ./Lib -name '*.py[co]' -print | xargs rm -f
./python -Wd -3 -E -tt ./Lib/test/regrtest.py -l
Traceback (most recent call last):
File "./Lib/test/regrtest.py", line 220, in <module>
TEMPDIR = os.path.abspath(tempfile.gettempdir())
File "/tmp/Python-2.7.7/Lib/tempfile.py", line 269, in gettempdir
tempdir = _get_default_tempdir()
File "/tmp/Python-2.7.7/Lib/tempfile.py", line 197, in _get_default_tempdir
fd = _os.open(filename, flags, 0o600)
OverflowError: signed integer is greater than maximum
make: 1254-004 The error code from the last command is 1.
make: 1254-005 Ignored error code 1 from last command.
./python -Wd -3 -E -tt ./Lib/test/regrtest.py -l
Traceback (most recent call last):
File "./Lib/test/regrtest.py", line 220, in <module>
TEMPDIR = os.path.abspath(tempfile.gettempdir())
File "/tmp/Python-2.7.7/Lib/tempfile.py", line 269, in gettempdir
tempdir = _get_default_tempdir()
File "/tmp/Python-2.7.7/Lib/tempfile.py", line 197, in _get_default_tempdir
fd = _os.open(filename, flags, 0o600)
OverflowError: signed integer is greater than maximum
make: 1254-004 The error code from the last command is 1.
Stop.
|