#10083: Python fails to build the 'math' module on AIX 5.3 - plus several other
modules
----------------------------------+-----------------------------------------
Reporter: drkirkby | Owner: drkirkby
Type: defect | Status: new
Priority: major | Milestone: sage-5.0
Component: AIX or HP-UX ports | Keywords:
Author: | Upstream: None of the above - read trac
for reasoning.
Reviewer: | Merged:
Work_issues: |
----------------------------------+-----------------------------------------
As reported at #9995, the python package initially failed to build at all,
as Python's configure script thought the compiler was broken. Once that
was sorted out, Python built, but failed to install due to this error:
{{{
Sleeping for three seconds before testing python
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named math
math module failed to import
real 37m23.968s
user 34m46.809s
sys 6m19.683s
sage: An error occurred while installing python-2.6.4.p10
}}}
When I look at config.log for Python, I see a rather large number of
modules actually failed to build, so {{{math}}} is not the only one, but
it is one which causes Sage to fail to build.
{{{
Failed to find the necessary bits to build these modules:
_bsddb _curses_panel _hashlib
_ssl bsddb185 gdbm
linuxaudiodev ossaudiodev spwd
sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the
module's name.
Failed to build these modules:
_bisect _bytesio _codecs_cn
_codecs_hk _codecs_iso2022 _codecs_jp
_codecs_kr _codecs_tw _collections
_csv _ctypes _ctypes_test
_curses _elementtree _fileio
_functools _heapq _hotshot
_json _locale _lsprof
_md5 _multibytecodec _multiprocessing
_random _sha _sha256
_sha512 _socket _sqlite3
_struct _testcapi _tkinter
_weakref array audioop
binascii bz2 cmath
cPickle crypt cStringIO
datetime dbm dl
fcntl future_builtins grp
imageop itertools math
mmap nis operator
parser pyexpat readline
resource select strop
syslog termios time
unicodedata zlib
}}}
Strangely enough, despite these modules not building, a large number of
packages in Sage that require python would actually build on AIX.
Since AIX is low on the priority list, I will not spend much time on this
yet, until the 64-bit Solaris and !OpenSolaris ports are complete.
I will investigate this more later, and report any problems upstream if
they are needed. It might be something quite simple.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10083>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.