[Python-bugs-list] [ python-Bugs-788183 ] build fails on Tru64 Unix
(osf1V5)
SourceForge.net
noreply at sourceforge.net
Tue Sep 9 08:15:25 EDT 2003
Bugs item #788183, was opened at 2003-08-13 11:00
Message generated for change (Comment added) made by atuining
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=788183&group_id=5470
Category: Build
Group: 3rd Party
Status: Closed
Resolution: Invalid
Priority: 5
Submitted By: Anthony Tuininga (atuining)
Assigned to: Nobody/Anonymous (nobody)
Summary: build fails on Tru64 Unix (osf1V5)
Initial Comment:
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.
----------------------------------------------------------------------
>Comment By: Anthony Tuininga (atuining)
Date: 2003-09-09 08:15
Message:
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.
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2003-09-06 08:58
Message:
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.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=788183&group_id=5470
More information about the Python-bugs-list
mailing list