the build on an alpha (Tru64 Unix) machine fails when
compiling Modules/posixModule.c; it complains about
stat and lstat, which HP has defined as _F64_stat and
_F64_lstat. HP claims that they automatically convert
them to stat and lstat for portability but my guess is
that the Python #define STAT code overrides this and so
it fails. Changing it to expliciltly reference
_F64_stat and _F64_lstat solves the problem. In the
same module, plock() and unsetenv() are referenced but
neither are found in the include files on the box.
Setting the HAVE_PLOCk and HAVE_UNSETENV macros
properly solves this problem (why didn't configure
detect this?)
Finally, once everything is done, distutils does not
include -lpthread in the list of libraries needed for link.
If you have any questions about these issues, let me know.
|