problem building 2.1 on Solaris 8
Emmanuel Hocdet
manu at meta-x.org
Tue Jun 12 20:24:48 EDT 2001
i compil python 2.1 on Sparc Solaris 8 with gcc 2.95.3
and have a pbl... :(
any idea?
manu
[...]
gcc -o python \
Modules/python.o \
libpython2.1.a -lpthread -lsocket -lnsl -ldl -lthread -lm
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 "/opt/compil/Python-2.1.manu/Lib/distutils/command/build_ext.py", line 21, in ?
extension_name_re = re.compile \
File "/opt/compil/Python-2.1/Lib/sre.py", line 90, in compile
return _compile(pattern, flags)
File "/opt/compil/Python-2.1/Lib/sre.py", line 134, in _compile
p = sre_compile.compile(pattern, flags)
File "/opt/compil/Python-2.1/Lib/sre_compile.py", line 368, in compile
code = _code(p, flags)
File "/opt/compil/Python-2.1/Lib/sre_compile.py", line 349, in _code
_compile_info(code, p, flags)
File "/opt/compil/Python-2.1/Lib/sre_compile.py", line 238, in _compile_info
lo, hi = pattern.getwidth()
File "/opt/compil/Python-2.1.manu/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
More information about the Python-list
mailing list