HP-UX 10.2 deprecated?

Greg Weeks weeks at vitus.scs.agilent.com
Mon Mar 4 20:48:21 EST 2002


Is HP-UX 10.2 deprecated for more recent versions of Python?

There is at least one problem with the Python 2.2 ./configure for HP-UX
10.2 (see below).  And when the problem is patched, the resulting "python"
executable still doesn't pass "make test".  On the other hand, when the
system is built and tested on HP-UX 11 (even without the patch), everything
is fine.


Greg


PS: Here's the problem with the Python 2.2 ./configure for HP-UX 10.2.  To
determine if _POSIX_THREADS is defined in unistd.h, it runs the C
preprocessor on a file with the contents:

#include <unistd.h>
     #ifdef _POSIX_THREADS
     yes
     #endif

Unfortunately, with the C preprocessor invocation used by ./configure, the
indented #ifdef is not recognized, which results in the #ifdef construct
being mindlessly echoed, which is erroneously interpreted as the answer
"yes".  This causes _POSIX_THREADS to not be defined in pyconfig.h,
resulting in a bunch of undefined thread-related functions at link time.

When I removed the indentation from the above #ifdef construct, the "make"
of the executable was successful.  Unfortunately, "make test" did not pass.



More information about the Python-list mailing list