Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python fails to build the 'math' module on AIX 5.3 - plus several other modules #10083

Closed
sagetrac-drkirkby mannequin opened this issue Oct 6, 2010 · 5 comments
Closed

Comments

@sagetrac-drkirkby
Copy link
Mannequin

sagetrac-drkirkby mannequin commented Oct 6, 2010

Hardware and software

The problem

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 build log for Python (attached), 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 that's causing a lot of modules to fail to build on AIX.

Upstream: None of the above - read trac for reasoning.

Component: porting: AIX or HP-UX

Issue created by migration from https://trac.sagemath.org/ticket/10083

@sagetrac-drkirkby sagetrac-drkirkby mannequin added this to the sage-5.11 milestone Oct 6, 2010
@sagetrac-drkirkby sagetrac-drkirkby mannequin self-assigned this Oct 6, 2010
@sagetrac-drkirkby
Copy link
Mannequin Author

sagetrac-drkirkby mannequin commented Oct 6, 2010

Attachment: python-2.6.4.p10.log

Install log for Python. This is based on a patched python package, which gets around the problem at #9995. This package is not yet part of Sage.

@sagetrac-drkirkby

This comment has been minimized.

@sagetrac-drkirkby

This comment has been minimized.

@jdemeyer jdemeyer modified the milestones: sage-5.11, sage-5.12 Aug 13, 2013
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.3, sage-6.4 Aug 10, 2014
@embray
Copy link
Contributor

embray commented Jan 15, 2019

comment:7

I don't believe anyone's been maintaining support for AIX or HP-UX for some time. Putting in sage-wishlist for now in case there is still a desire for it out there, otherwise these tickets should be closed (most of them are probably no longer relevant in any case but I have no obvious way to check this).

@embray embray removed this from the sage-6.4 milestone Jan 15, 2019
@mkoeppe
Copy link
Member

mkoeppe commented Nov 23, 2019

comment:8

This is outdated and should be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants