problems building 2.1.1 on HP-UX 10.20
Michael P. Soulier
msoulier at nortelnetworks.com
Wed Dec 19 16:41:43 EST 2001
Hey people.
So, I managed to configure, build and test with no problems, but when
I try a make install, I get this
[wmerh11c-pegdig-Python-2.1.1]$ gmake install Creating directory
/SRMS/utils/python2.1.1/bin
/home/pegdig/temp/mike/Python-2.1.1/install-sh python
/SRMS/utils/python2.1.1/bin/python2.1 if test -f libpython2.1.so; then
\ /home/pegdig/temp/mike/Python-2.1.1/install-sh -m 644
libpython2.1.so /SRMS/utils/python2.1.1/lib; \ else true; \ fi if test
-f ""; then \ /home/pegdig/temp/mike/Python-2.1.1/install-sh -m 555
/SRMS/utils/python2.1.1/bin; \ else true; \ fi
mkdir ./Lib/plat-hp-uxB
cp ./Lib/plat-generic/regen ./Lib/plat-hp-uxB/regen
export PATH; PATH="`pwd`:$PATH"; \
export PYTHONPATH; PYTHONPATH="`pwd`/Lib"; \
export EXE; EXE=""; \
cd ./Lib/plat-hp-uxB; ./regen
python$EXE ../../Tools/scripts/h2py.py /usr/include/fcntl.h
'import site' failed; use -v for traceback
Traceback (innermost last):
File "../../Tools/scripts/h2py.py", line 24, in ?
import sys, regex, regsub, string, getopt, os
File "/home/pegdig/temp/mike/Python-2.1.1/Lib/regsub.py", line 13, in ?
import warnings
File "/home/pegdig/temp/mike/Python-2.1.1/Lib/warnings.py", line 143
print >>sys.stderr, "Invalid -W option ignored:", msg
^
SyntaxError: invalid syntax
Any idea what's wrong?
Thanks,
Mike
--
Michael P. Soulier, QX41, SKY Tel: 613-765-4699 (ESN: 39-54699)
Optical Networks, Nortel Networks, SDE Pegasus
"...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort." -Harley Hahn, A Student's Guide to Unix
More information about the Python-list
mailing list