Issue 788183: build fails on Tru64 Unix (osf1V5) (original) (raw)

Issue788183

Created on 2003-08-13 17:00 by atuining, last changed 2022-04-10 16:10 by admin. This issue is now closed.

Messages (3)
msg17740 - (view) Author: Anthony Tuininga (atuining) * Date: 2003-08-13 17:00
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.
msg17741 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2003-09-06 14:58
Logged In: YES user_id=21627 See http://python.org/sf/524600 You are probably using gcc, and this is a compiler bug. Closing it as third-party. I believe a newer gcc version should fix this; if not, you should use the system compiler.
msg17742 - (view) Author: Anthony Tuininga (atuining) * Date: 2003-09-09 14:15
Logged In: YES user_id=619560 Confirmed. I was using gcc 3.0.2 and I upgraded to gcc 3.3.1 and the problems went away.
History
Date User Action Args
2022-04-10 16:10:38 admin set github: 39058
2003-08-13 17:00:00 atuining create