Hi All,
I have perl 5.18 and am having problems installing WWW::Mechanize. The issue is documented:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762259 and here https://groups.google.com/forum/#!topic/www-mechanize-commits/mu0hboVGNTc but I don't know of a workaround. Is there an existing solution? Below is output when trying to install using cpan.
many thanks!
$ cpan WWW::Mechanize
Loading internal null logger. Install Log::Log4perl for logging messag
+es
CPAN: Storable loaded ok (v2.51)
Reading '/Users/abualiga/.cpan/Metadata'
Database was generated on Tue, 28 Apr 2015 09:41:02 GMT
CPAN: YAML loaded ok (v1.14)
CPAN: Time::HiRes loaded ok (v1.9726)
Reading 49 yaml files from /Users/abualiga/.cpan/build/
DONE
Restored the state of none (in 0.4976 secs)
Running install for module 'WWW::Mechanize'
ETHER/WWW-Mechanize-1.74.tar.gz
Has already been unwrapped into directory /Users/abualiga/.cpan/buil
+d/WWW-Mechanize-1.74-hkUMDD
ETHER/WWW-Mechanize-1.74.tar.gz
Has already been prepared
ETHER/WWW-Mechanize-1.74.tar.gz
Has already been made
Running make test
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::H
+arness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/l
+ib', 'blib/arch')" t/00-load.t t/add_header.t t/aliases.t t/area_link
+.t t/autocheck.t t/clone.t t/content.t t/cookies.t t/credentials-api.
+t t/credentials.t t/die.t t/dump.t t/field.t t/find_frame.t t/find_im
+age.t t/find_inputs.t t/find_link-warnings.t t/find_link.t t/find_lin
+k_id.t t/form-parsing.t t/form_with_fields.t t/frames.t t/image-new.t
+ t/image-parse.t t/link-base.t t/link-relative.t t/link.t t/new.t t/p
+od-coverage.t t/pod.t t/regex-error.t t/save_content.t t/select.t t/t
+aint.t t/tick.t t/untaint.t t/upload.t t/warn.t t/warnings.t t/local/
+back.t t/local/click.t t/local/click_button.t t/local/content.t t/loc
+al/encoding.t t/local/failure.t t/local/follow.t t/local/form.t t/loc
+al/get.t t/local/nonascii.t t/local/overload.t t/local/page_stack.t t
+/local/referer.t t/local/reload.t t/local/submit.t t/mech-dump/mech-d
+ump.t
t/00-load.t .............. 1/2 # Testing WWW::Mechanize 1.74, with LWP
+ 6.05, Perl 5.018002, /usr/bin/perl
# Test::Memory::Cycle 1.04 is installed.
t/00-load.t .............. ok
t/add_header.t ........... ok
t/aliases.t .............. ok
t/area_link.t ............ ok
t/autocheck.t ............ ok
t/clone.t ................ ok
t/content.t .............. ok
t/cookies.t .............. # Test server http://127.0.0.1:33224 as PID
+ 57670
t/cookies.t .............. ok
t/credentials-api.t ...... Use of uninitialized value in lc at /System
+/Library/Perl/Extras/5.18/LWP/UserAgent.pm line 605.
t/credentials-api.t ...... ok
t/credentials.t .......... ok
t/die.t .................. ok
t/dump.t ................. ok
t/field.t ................ ok
t/find_frame.t ........... ok
t/find_image.t ........... ok
t/find_inputs.t .......... ok
t/find_link-warnings.t ... ok
t/find_link.t ............ ok
t/find_link_id.t ......... ok
t/form-parsing.t ......... ok
t/form_with_fields.t ..... 1/? There are 2 forms with the named fields
+. The first one was used. at t/form_with_fields.t line 27.
t/form_with_fields.t ..... ok
t/frames.t ............... ok
t/image-new.t ............ ok
t/image-parse.t .......... ok
t/link-base.t ............ ok
t/link-relative.t ........ ok
t/link.t ................. ok
t/local/back.t ........... 1/47 Use of the encoding pragma is deprecat
+ed at /Users/abualiga/.cpan/build/WWW-Mechanize-1.74-hkUMDD/t/local/l
+og-server line 6.
Error GETing http://localhost:62430/: Can't connect to localhost:62430
+ (Connection refused) at t/local/back.t line 55.