This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: build fails on Tru64 Unix (osf1V5)
Type: Stage:
Components: Build Versions:
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: atuining, loewis
Priority: normal Keywords:

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:38adminsetgithub: 39058
2003-08-13 17:00:00atuiningcreate