cat_baby has asked for the wisdom of the Perl Monks concerning the following question:
Hello, wise Perl friends.
I have spent the better part of the night attempting to install WWW::Mechanize, researching issues, and repeatedly repairing permissions via my OS X Disk Utility to no avail. The key word 'permissions' keeps reappearing although I've tried typing "sudo" before everything and entering my password and that doesn't help. I hope the problem is with the module and not my configuration of Perl, but just in case, here's what it's telling me:
Test Summary Report ------------------- t/local/click_button.t (Wstat: 0 Tests: 19 Failed: 0) TODO passed: 15-17, 19 t/local/nonascii.t (Wstat: 65280 Tests: 4 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 5 tests but ran 4. Files=54, Tests=578, 19 wallclock secs ( 0.34 usr 0.17 sys + 9.18 cu +sr 1.39 csys = 11.08 CPU) Result: FAIL Failed 1/54 test programs. 0/578 subtests failed. make: *** [test_dynamic] Error 255 JESSE/WWW-Mechanize-1.68.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports JESSE/WWW-Mechanize-1.68.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: JESSE/WWW-Mechanize-1.68.tar.gz : make_test NO
As I said, I've tried repairing permissions, tried updating CPAN, I even installed cpanm and tried cpanm WWW::Mechanize. I got a different failure under that:
! ! Can't write to /Library/Perl/5.10.0 and /usr/local/bin: Installing m +odules to /Users/Jared/perl5 ! To turn off this warning, you have to do one of the following: ! - run me as a root or with --sudo option (to install to /Library/P +erl/5.10.0 and /usr/local/bin) | - run me with --local-lib option e.g. cpanm --local-lib=~/perl5 ! - Set PERL_CPANM_OPT="--local-lib=~/perl5" environment variable (i +n your shell rc file) ! - Configure local::lib in your shell to set PERL_MM_OPT etc. ! --> Working on WWW::Mechanize Fetching http://search.cpan.org/CPAN/authors/id/J/JE/JESSE/WWW-Mechani +ze-1.68.tar.gz ... OK Configuring WWW-Mechanize-1.68 ... OK Building and testing WWW-Mechanize-1.68 ... FAIL ! Installing WWW::Mechanize failed. See /Users/Jared/.cpanm/build.log +for details.
Monks, I am truly at my wits end with this and hoping I did not permanently disfigure some 'behind the scenes' aspects of my operating system in which I am woefully ill-versed. Thank you for your help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Hell of a time installing module WWW::Mechanize
by Khen1950fx (Canon) on Apr 28, 2011 at 07:37 UTC | |
by Anonymous Monk on Jun 10, 2011 at 05:26 UTC | |
by Anonymous Monk on Aug 27, 2011 at 12:52 UTC | |
by Anonymous Monk on Aug 28, 2011 at 00:06 UTC | |
by Anonymous Monk on Jun 21, 2011 at 22:39 UTC | |
|
Re: Hell of a time installing module WWW::Mechanize
by Anonymous Monk on Apr 28, 2011 at 06:22 UTC |