Compiling Python2.1 under HP-UX with threads ?
M.-A. Lemburg
mal at lemburg.com
Tue Jun 12 10:10:26 EDT 2001
Peter Stoldt wrote:
>
> 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>
Could you give me a compiler #define to use for #ifdef which
identifies the machine ? I would like to check in a fix for
this.
> This will include a matching header file for HP-UX 11.00. To get _termios
> to work, I have no idea.
BTW, do you have a binary for this available somewhere (I guess
a simple .tar.gzu of the /usr/local/ subdirs for Python would
work) ?
Thank you,
--
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Company & Consulting: http://www.egenix.com/
Python Software: http://www.lemburg.com/python/
More information about the Python-list
mailing list