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


In reply to Re^2: Installation of WWW::Mechanize Again by dietmar
in thread Installation of WWW::Mechanize Again by dietmar

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.