[Python-bugs-list] [ python-Bugs-454383 ] make test failed in solaris_2.7 with gcc

noreply@sourceforge.net noreply@sourceforge.net
Wed, 05 Sep 2001 11:31:34 -0700


Bugs item #454383, was opened at 2001-08-22 16:10
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=454383&group_id=5470

Category: Build
>Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Thiep Duong (duongusa)
>Assigned to: A.M. Kuchling (akuchling)
Summary: make test failed in solaris_2.7 with gcc

Initial Comment:
I tried to compile/build configure with no option, make
gave no apparent error, but make test failed at the
below messages.
Any clue what to do next?  I am new with Python ....
Please help.

skipping 'sunaudiodev' extension (up-to-date)
running build_scripts
not copying
/fas2/eda2/duong/dev/source/UNIX/Python-2.1.1/Tools/scripts/pydoc
(up-to-date)
find ./Lib -name '*.py[co]' -print | xargs rm -f
PYTHONPATH= ./python -tt ./Lib/test/regrtest.py -l
Traceback (most recent call last):
  File "./Lib/test/regrtest.py", line 39, in ?
    import random
  File
"/fas2/eda2/duong/dev/source/UNIX/Python-2.1.1/Lib/random.py",
line 76, in ?
    from math import log as _log, exp as _exp, pi as
_pi, e as _e
ImportError: cannot import name log
make: [test] Error 1 (ignored)
PYTHONPATH= ./python -tt ./Lib/test/regrtest.py -l
Traceback (most recent call last):
  File "./Lib/test/regrtest.py", line 39, in ?
    import random
  File
"/fas2/eda2/duong/dev/source/UNIX/Python-2.1.1/Lib/random.py",
line 76, in ?
    from math import log as _log, exp as _exp, pi as
_pi, e as _e
ImportError: cannot import name log
Bus Error - core dumped
make: *** [test] Error 138


----------------------------------------------------------------------

>Comment By: Guido van Rossum (gvanrossum)
Date: 2001-09-05 11:31

Message:
Logged In: YES 
user_id=6380

It looks like the math module didn't get compiled
completely.

Possibly the compiler invocation used by setup.py to build
shared libraries doesn't work for your platform.

Assigning this to Andrew, who knows about such things.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=454383&group_id=5470