Some time ago I was trying to install libwww-perl-5.61 under __W98__ with no
success.
The installation process wouldn't pass the 'robot' tests. I finally was able
to trace the problem to the 'tie' :
/home/arkadig/tmp$ vdir delme*
vdir: delme*: No such file or directory
/home/arkadig/tmp$ perl -e 'use Fcntl;use AnyDBM_File;tie %t1,
q(AnyDBM_File), ($_=q(/home/arkadig/tmp/delme)), O_CREAT|O_RDWR, 0640 or
Carp::croak("$_: $!");'
/home/arkadig/tmp/delme: Permission denied at -e line 1
/home/arkadig/tmp$ vdir ./delme*
-rw-r--r-- 1 arkadig unknown 3072 Nov 30 06:21 ./delme.pag
/home/arkadig/tmp$ rm ./delme*
By default NDBM_File is used. Force 'tie' to use SDBM_File:
/home/arkadig/tmp$ perl -e 'BEGIN { @AnyDBM_File::ISA = qw(SDBM_File) };use
Fcntl;use AnyDBM_File;tie %t1, q(AnyDBM_File),
($_=q(/home/arkadig/tmp/delme)), O_CREAT|O_RDWR, 0640 or Carp::croak("$_:
$!");'
/home/arkadig/tmp$ vdir ./delme*
-rw-r--r-- 1 arkadig unknown 0 Nov 30 06:22 ./delme.dir
-rw-r--r-- 1 arkadig unknown 0 Nov 30 06:22 ./delme.pag
Thus the work-around for the installation problem is to insert
BEGIN { @AnyDBM_File::ISA = qw(SDBM_File) };
at the beginning of RobotRules/AnyDBM_File.pm
Arkadi
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/