build problem: Python 2.1 on IRIX

Mats Wichmann xyzmats at laplaza.org
Tue May 8 12:20:08 EDT 2001


I've got an old SGI Indy (IRIX 6.2) that I keep around for some
testing purposes.  Trying to build up 2.1 I ran into some trouble -
wondering if anyone has any thoughts.... the binary and libraries
built okay, but the setup.py step tipped over as in the following
snippet.   I have a suspicion:  some SGI machines are /not/ 64-bit,
even though running what looks like a 64-bit capabable OS (IRIX 6.x).
I've run problems with that before.  Python 2.0 runs cleanly, but then
this is a new step.

-- mats


PYTHONPATH= ./python ./setup.py build
Traceback (most recent call last):
  File "./setup.py", line 14, in ?
    from distutils.command.build_ext import build_ext
  File "/home/mats/src/Python-2.1/Lib/distutils/command/build_ext.py",
line 21, in ?
    extension_name_re = re.compile \
  File "/home/mats/src/Python-2.1/Lib/sre.py", line 90, in compile
    return _compile(pattern, flags)
  File "/home/mats/src/Python-2.1/Lib/sre.py", line 134, in _compile
    p = sre_compile.compile(pattern, flags)
  File "/home/mats/src/Python-2.1/Lib/sre_compile.py", line 368, in
compile
    code = _code(p, flags)
  File "/home/mats/src/Python-2.1/Lib/sre_compile.py", line 349, in
_code
    _compile_info(code, p, flags)
  File "/home/mats/src/Python-2.1/Lib/sre_compile.py", line 238, in
_compile_info
    lo, hi = pattern.getwidth()
  File "/home/mats/src/Python-2.1/Lib/sre_parse.py", line 173, in
getwidth
    self.width = int(min(lo, sys.maxint)), int(min(hi, sys.maxint))
OverflowError: long int too large to convert
make: *** [sharedmods] Error 1

Mats Wichmann

(Anti-spam stuff: to reply remove the "xyz" from the
address xyzmats at laplaza.org. Not that it helps much...)



More information about the Python-list mailing list