bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autoconf 2.57b: locking fails over NFS


From: Paul Eggert
Subject: Re: autoconf 2.57b: locking fails over NFS
Date: 24 Sep 2003 17:26:22 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Andreas Schwab <address@hidden> writes:

> See perlfunc(1).

It says:

   Note also that some versions of "flock" cannot lock things over
   the network; you would need to use the more system-specific
   "fcntl" for that.  If you like you can force Perl to ignore
   your system's flock(2) function, and so provide its own
   fcntl(2)-based emulation, by passing the switch "-Ud_flock" to
   the Configure program when you configure perl.

Perhaps that's the simplest workaround: either don't use NFS, or if
you do use it, build Perl with -Ud_flock.

Another possibility is to modify the Perl script to use the
system-specific flock, but that would require Perl portability
expertise that I don't have.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]