On the first one it tells you make test had returned bad status, won't install without force, so if you wish to install, use force

$ perldoc cpan |grep -i force -C2 and CPAN version. -f Force the specified action, when it normally would have failed +. Use this to install a module even if its tests fail. When you use +this option, -i is not optional for installing a module when you ne +ed to force it: % cpan -f -i Module::Foo -- cpan -i Netscape::Booksmarks Business::ISBN # force install modules ( must use -i ) cpan -fi CGI::Minimal URI -- CREDITS Japheth Cleaver added the bits to allow a forced install (-f). Jim Brandt suggest and provided the initial implementation for the

On the second one a similar instruction

! - run me as a root or with --sudo option | - run me with --local-lib option !
so either run it as root (administrator) or use --sudo , or run with --local-lib . You can also use this instead of --local-lib
export PERL_MB_OPT=--install_base /home/user/devstuff export PERL_MM_OPT=INSTALL_BASE=/home/user/devstuff export PERL5LIB=/home/user/devstuff/perl5 cpanp i WWW::Mechanize --force --skiptest

In reply to Re: Hell of a time installing module WWW::Mechanize by Anonymous Monk
in thread Hell of a time installing module WWW::Mechanize by cat_baby

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.