Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Installation of WWW::Mechanize Again

by dietmar (Initiate)
on Sep 08, 2010 at 17:40 UTC ( [id://859371]=note: print w/replies, xml ) Need Help??


in reply to Re: Installation of WWW::Mechanize Again
in thread Installation of WWW::Mechanize Again

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

Replies are listed 'Best First'.
Re^3: {really another problem} Installation of WWW::Mechanize Again
by Intrepid (Deacon) on Sep 27, 2010 at 18:21 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://859371]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-04-23 14:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found