[issue4026] fcntl extension fails to build on AIX 6.1

Antoine Pitrou report at bugs.python.org
Tue Sep 7 21:07:32 CEST 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

> Sorry to be pedantic - but it looks like (don't have a build
> environment at hand at the moment) it will fail to build as 64bit on
> the not-so-up-to-date AIX with missing 64bit flock implementation:
> There, the compile-check will succeed and define HAVE_FLOCK, but the
> link-check will fail - which really should reset have_flock to 'no'.
> IMO, HAVE_FLOCK should be defined when _both_ checks succeed only, not
> upon the compile-check only as it is done now.

It might be better indeed. Patches against the current SVN branches are
welcome (I don't have an AIX system to test them on, and besides I'm not
an autoconf expert).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4026>
_______________________________________


More information about the Python-bugs-list mailing list