Python-2.2.1, Solaris7, make test fails...

Hugh Sasse Staff Elec Eng hgs at dmu.ac.uk
Fri Apr 12 13:32:23 EDT 2002


Trying to bring python up to date (working version is 1.5.2) on a
Sun Sparc Solaris2.7 system:

GNU Make version 3.79, by Richard Stallman and Roland McGrath.
Built for sparc-sun-solaris2.7

gcc --version  ==  2.95.3

Doing `gmake test` in the Python-2.2.1 directory gives:
        [...]
running build_scripts
not copying /home/hgs/Python-2.2.1/Tools/scripts/pydoc (up-to-date)
find ./Lib -name '*.py[co]' -print | xargs rm -f
./python -E -tt ./Lib/test/regrtest.py -l
Traceback (most recent call last):
  File "./Lib/test/regrtest.py", line 54, in ?
    import random
  File "/home/hgs/Python-2.2.1/Lib/random.py", line 76, in ?
    from math import log as _log, exp as _exp, pi as _pi, e as _e
ImportError: ld.so.1: ./python: fatal: relocation error: file /home/hgs/Python-2.2.1/Modules/mathmodule.so: symbol PyExc_OverflowError: referenced symbol not found
gmake: [test] Error 1 (ignored)
./python -E -tt ./Lib/test/regrtest.py -l
Traceback (most recent call last):
  File "./Lib/test/regrtest.py", line 54, in ?
    import random
  File "/home/hgs/Python-2.2.1/Lib/random.py", line 76, in ?
    from math import log as _log, exp as _exp, pi as _pi, e as _e
ImportError: ld.so.1: ./python: fatal: relocation error: file /home/hgs/Python-2.2.1/Modules/mathmodule.so: symbol PyExc_OverflowError: referenced symbol not found
gmake: *** [test] Error 1

Could someone suggest how to proceed, please?
        Thank you,
        Hugh






More information about the Python-list mailing list