Subject: | CPAN croaks in Win98 over unimplemented flock |
On Windows 98, with CPAN.pm 1.9102 (ActivePerl 5.8.8 build 822), the
CPAN shell dies as soon as it's started up, with the error message:
flock() unimplemented on this platform at
D:/programs/ActivePerl5.8/lib/CPAN.pm line 1015.
That line looks like this:
while (!flock $fh, LOCK_EX|LOCK_NB) {
(And there's another line pretty much like it on line 3397.)
Ironically, before installing this version, I had done nmake test
because I was expecting trouble, and all tests passed. So I don't think
there is any test related to flock. (ActivePerl build 5.8.8 comes with
this version of CPAN, I've had to downgrade because of this problem.)
Among the versions that are still available on CPAN, the first version
to contain flock calls is 1.90. The latest development release still has
these same code lines in those areas, so I don't think the problem has
been resolved yet.
The problem does not exist on a more modern, NT based, version of
Windows, like Windows XP.