[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

Jim Schneider report at bugs.python.org
Thu Jul 14 20:18:29 CEST 2011


Jim Schneider <jim.schneider at dataflux.com> added the comment:

I got it to build on HP-UX 11.  However, there are a lot of compiler warnings about type mismatches, the _ctypes, _multiprocessing and termios modules failed to build, and "make test" died after not finding a usable "binascii" module.

To get it to build, I did the following:
1)  Applied the patch I attached to issue 12561
2)  Created a directory sys, and copied /usr/include/sys/stdsyms.h into it.
3)  Did "chmod 644" on sys/stdsyms.h and applied the patch stdsyms.patch that I've attached to this issue to it.
4)  Ran configure with the argument "CPPFLAGS=-I."

At this point, make ran to completion, and produced a python binary.  However, "make test" dies within seconds of starting up.

----------
keywords: +patch
Added file: http://bugs.python.org/file22656/stdsyms.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5999>
_______________________________________


More information about the Python-bugs-list mailing list