Python 2.1 HPUX 10.20 compile
Neil Schemenauer
nas at python.ca
Mon May 21 19:15:11 EDT 2001
Michael Brown wrote:
> PYTHONPATH= ./python -tt ./Lib/test/regrtest.py -l
> /bin/sh: 26072 Trace/BPT trap(coredump)
> gmake: [test] Error 133 (ignored)
This output does not help narrow things down much. Try this:
$ ./python -c "print 'hello world'"
If that dumps core or doesn't print "hello world" something is
badly broken with the build. If it doesn't work, you should use
a debugger like gdb to find out where its crashing:
$ gdb ./python
(gdb) run -c "print 'hello world'"
...
(gdb) bt
The information printed by "bt" is extremely helpful for
debugging. If the "hello world" command works, there probably a
problem with one of the extension modules. Again, you should be
able to use gdb to debug it. These commands should do the trick:
$ gdb ./python
(gdb) run Lib/test/regrtest.py
Hope that helps.
Neil
More information about the Python-list
mailing list