Hi folks,
On top of WWW::Mechanize I want to install WWW::Mechanize::Frames. So I downloaded the tarball, unpacked it and ran
perl Makefile.PL
make
make test
make install
The first three steps looked all right. Unfortunately, the fourth step one did not ...
# tar -zxvf WWW-Mechanize-Frames-0.03.tar.gz
WWW-Mechanize-Frames-0.03/
WWW-Mechanize-Frames-0.03/lib/
WWW-Mechanize-Frames-0.03/lib/WWW/
WWW-Mechanize-Frames-0.03/lib/WWW/Mechanize/
WWW-Mechanize-Frames-0.03/lib/WWW/Mechanize/Frames.pm
WWW-Mechanize-Frames-0.03/t/
WWW-Mechanize-Frames-0.03/t/WWW-Mechanize-Frames.t
WWW-Mechanize-Frames-0.03/Changes
WWW-Mechanize-Frames-0.03/MANIFEST
WWW-Mechanize-Frames-0.03/Makefile.PL
WWW-Mechanize-Frames-0.03/META.yml
WWW-Mechanize-Frames-0.03/README
root@vps-848-442250:/usr/local/src/scraper# cd WWW-Mechanize-Frames-0.
+03
root@vps-848-442250:/usr/local/src/IRD/scraper/WWW-Mechanize-Frames-0.
+03# perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for WWW::Mechanize::Frames
root@vps-848-442250:/usr/local/src/IRD/scraper/WWW-Mechanize-Frames-0.
+03# make
cp lib/WWW/Mechanize/Frames.pm blib/lib/WWW/Mechanize/Frames.pm
Manifying blib/man3/WWW::Mechanize::Frames.3pm
root@vps-848-442250:/usr/local/src/IRD/scraper/WWW-Mechanize-Frames-0.
+03# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_h
+arness(0, 'blib/lib', 'blib/arch')" t/*.t
t/WWW-Mechanize-Frames.t .. ok
All tests successful.
Files=1, Tests=1, 0 wallclock secs ( 0.01 usr 0.00 sys + 0.10 cusr
+ 0.01 csys = 0.12 CPU)
Result: PASS
root@vps-848-442250:/usr/local/src/IRD/scraper/WWW-Mechanize-Frames-0.
+03# make install
Not a HASH reference at /usr/share/perl/5.10/ExtUtils/Install.pm line
+557.
make: *** [pure_site_install] Error 2
root@vps-848-442250:/usr/local/src/IRD/scraper/WWW-Mechanize-Frames-0.
+03#
My understanding of the error message is that something is wrong with line 557 of Install.pm.
my(%from_to) = %$from_to;
This line is part of the subroutine install which is flagged as #XXX OS-SPECIFIC.
Suggestions on this issue are greatly appreciated - Thank you!
Kind regards
Dietmar