Compiling Python2.1 under HP-UX with threads ?

Peter Stoldt pst at bbn.hp.com
Fri Jun 8 08:19:36 EDT 2001


Hello,

Philipp Jocham wrote:

> On Thu, 07 Jun 2001 20:08:00 +0200, M.-A. Lemburg <mal at lemburg.com> wrote:
> >I am having trouble compiling Python 2.1 under HP-UX 11.00
> >with threads.
> >
> >Even though the compile runs fine (ok, termios and _curses fail
> >to compile, but I don't need those), the test suite fails to
> >pass all tests which try to use threads. The error I get is:

Compiling Python 2.1 on HP-UX 11.00 works for me. I have used
the following compler:

B3899BA B.11.01.07      HP C/ANSI C Developer's Bundle for HP-UX 11.00 (S700) 
B3911DB B.11.01.06      HP aC++ Compiler  (S700)

I found a solution for the _curses problem. For that, a Python header
file has to be changed. In py_curses.h exchange the line with

#include <curses.h>

with

#include <curses_colr/curses.h>

This will include a matching header file for HP-UX 11.00. To get _termios
to work, I have no idea.

        Peter



More information about the Python-list mailing list