HP-UX Install

Steinar Traedal--Henden steinar at cc.uit.no
Fri Oct 27 05:28:31 EDT 2000


Chris wrote:

> I'm trying to get Python 2.0 installed on HP-UX.  Anyone have some reliable
> instructions on doing so?
>
> It seems to work well except for some thread errors towards the end of "make
> test" (and may have been in the make too).
>
> PYTHONPATH= ./python -tt ./Lib/test/regrtest.py -l
> pthread_mutex_init: Invalid argument
> /bin/sh: 11021 Memory fault(coredump)
> gmake: [test] Error 139 (ignored)
> PYTHONPATH= ./python -tt ./Lib/test/regrtest.py -l
> pthread_mutex_init: Invalid argument
> /bin/sh: 11023 Memory fault(coredump)
> gmake: [test] Error 139 (ignored)
>
> How can I correct the pthread issue?
>
> Any help appreciated,
> Chris

After reading the bug report at sourceforge
(see:
http://sourceforge.net/bugs/?func=detailbug&bug_id=110665&group_id=5470 )
and following the work around there. It seems to work fine.

What I did. --
Replacing all pthread_create in the configure file with
__pthread_create_system
and then adding -lcl to the Modules/Makefile:
LIBS=   -lpthread -lnsl -ldld -lcl
Then at leaste the "make test" doesn't core dumop anymore.
Oh, I used the --without-gcc option to the configure since I don't have
an updated version of gcc.

(Another work aound would be waitng for the python 2.0 binaries to appear at
http://hpux.connect.org.uk/ )

Cheers
Steinar






More information about the Python-list mailing list