compiling python on HP-UX

Malte Neumann malteneumann at
Wed Mar 19 10:49:28 CET 2003

Hi Folks,

I am just trying to compile python 2.2.2 on my HP-UX 10.20 machine. After 
several tries with different compilers I am finally stuck at this error 

gcc -Wl,-E  -Wl,-E -Wl,+s -Wl,+b/usr/local/lib/python2.2/lib-dynload -o 
python \
                 Modules/python.o \
                 libpython2.2.a -ldld  -lcma   -lm
case $MAKEFLAGS in \
*-s*) CC='gcc -Wl,-E' LDSHARED='ld -b' OPT='-DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -D_REENTRANT ' ./python -E ./ -q build;; \
*) CC='gcc -Wl,-E' LDSHARED='ld -b' OPT='-DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -D_REENTRANT ' ./python -E ./ build;; \
Fatal Python error: unlock_import: not holding the import lock
/bin/sh: 11074 Abort(coredump)

Any help is appriciated.

Thanks a lot in advance.


                               Malte Neumann
Institut fuer Baustatik / Institute of Structural Mechanics
Prof. Dr.-Ing. Ekkehard Ramm
Universitaet Stuttgart / University of Stuttgart

Pfaffenwaldring 7, D-70550 Stuttgart, Germany

mailto:malte.neumann at      phone: ++49-711-685-6121  fax:   ++49-711-685-6130

More information about the Python-list mailing list