I recently installed strawberry perl on vista. It works, and I have installed many other modules successfully. I cannot seem to get WWW::Mechanize to install correctly and would appreciate any ideas put forth to help. Here is the text of the install:
C:\perl>cpan WWW::Mechanize
Database was generated on Tue, 01 Dec 2009 01:20:16 GMT
Running install for module 'WWW::Mechanize'
Running make for P/PE/PETDANCE/WWW-Mechanize-1.60.tar.gz
Checksum for C:\strawberry\cpan\sources\authors\id\P\PE\PETDANCE\WWW-M
+echanize-1 .60.tar.gz ok
CPAN.pm: Going to build P/PE/PETDANCE/WWW-Mechanize-1.60.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for WWW::Mechanize
cp lib/WWW/Mechanize/Examples.pod blib\lib\WWW\Mechanize\Examples.pod
cp lib/WWW/Mechanize/Link.pm blib\lib\WWW\Mechanize\Link.pm
cp lib/WWW/Mechanize/Image.pm blib\lib\WWW\Mechanize\Image.pm
cp lib/WWW/Mechanize/Cookbook.pod blib\lib\WWW\Mechanize\Cookbook.pod
cp lib/WWW/Mechanize/FAQ.pod blib\lib\WWW\Mechanize\FAQ.pod
cp lib/WWW/Mechanize.pm blib\lib\WWW\Mechanize.pm
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "cp" -- bin/mec
+h-dump bli b\script\mech-dump pl2bat.bat blib\script\mech-dump PETDAN
+CE/WWW-Mechanize-1.60.tar.gz
C:\strawberry\c\bin\dmake.EXE -- OK
Running make test
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_h
+arness(0, 'blib\lib', 'blib\arch')" t\00-load.t t\add_header.t t\alia
+ses.t t\area_link.t t \autocheck.t t\clone.t t\cookies.t t\credential
+s-api.t t\credentials.t t\die.t t \field.t t\find_frame.t t\find_imag
+e.t t\find_inputs.t t\find_link-warnings.t t\ find_link.t t\find_link
+_id.t t\form-parsing.t t\frames.t t\image-new.t t\image-p arse.t t\li
+nk-base.t t\link-relative.t t\link.t t\new.t t\pod-coverage.t t\pod.t
+ t\regex-error.t t\save_content.t t\select.t t\taint.t t\tick.t t\upl
+oad.t t\war n.t t\warnings.t t\local\back.t t\local\click.t t\local\c
+lick_button.t t\local\f ailure.t t\local\follow.t t\local\form.t t\lo
+cal\get.t t\local\overload.t t\loca l\page_stack.t t\local\referer.t
+t\local\reload.t t\local\submit.t t\live\encodi ng.t t\live\wikipedia
+.t t\mech-dump\mech-dump.t t\00-load.t .............. 1/2 # Testing W
+WW::Mechanize 1.60, with LWP 5.833, Pe rl 5.010001, C:\STRAWB~1\perl\
+bin\perl.exe
# 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\cookies.t .............. Can't locate HTTP/Server/Simple/CGI.pm in @
+INC (@INC contains: t/ C:\strawberry\cpan\build\WWW-Mechanize-1.60-Pf
+L4uC\blib\lib C:\stra wberry\cpan\build\WWW-Mechanize-1.60-PfL4uC\bli
+b\arch C:/strawberry/perl/lib C:/ strawberry/perl/site/lib C:\strawbe
+rry\perl\vendor\lib .) at t//TestServer.pm li ne 7.
BEGIN failed--compilation aborted at t//TestServer.pm line 7. Compilat
+ion failed in require at t\cookies.t line 22.
BEGIN failed--compilation aborted at t\cookies.t line 22.
t\cookies.t .............. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t\credentials-api.t ...... ok
t\credentials.t .......... ok
t\die.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\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\live\encoding.t ........ ok
t\live\wikipedia.t ....... ok
t\local\back.t ........... 1/47 # Started http://localhost:62911/
t\local\back.t ........... 19/47
t\local\back.t ........... 33/47 # Failed test '404 check' # at t\loca
+l\back.t line 151.
# got: '500'
# expected: '404'
# $server404url=http://Chaser-PC:62920/
# $mech->content="500 Can't connect to Chaser-PC:62920 (connect: timeo
+ut)
# " # Looks like you failed 1 test of 47.
t\local\back.t ........... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/47 subtests
t\local\click.t .......... 1/9 # Started http://localhost:62934/
t\local\click.t .......... ok
t\local\click_button.t ... 1/19 # Started http://localhost:62938/
t\local\click_button.t ... ok
t\local\failure.t ........ 1/15 # Started http://localhost:62944/
t\local\failure.t ........ ok
t\local\follow.t ......... 1/22 # Started http://localhost:62947/
t\local\follow.t ......... ok
t\local\form.t ........... 1/13 # Started http://localhost:62954/
t\local\form.t ........... ok
t\local\get.t ............ 1/32 # Started http://localhost:62958/
t\local\get.t ............ ok
t\local\overload.t ....... skipped: Mysteriously stopped passing, and
+I don't kn ow why.
t\local\page_stack.t ..... 1/16 # Started http://localhost:62966/
t\local\page_stack.t ..... ok
t\local\referer.t ........ ok
t\local\reload.t ......... 1/14 # Started http://localhost:62977/
t\local\reload.t ......... ok
t\local\submit.t ......... 1/13 # Started http://localhost:62981/
t\local\submit.t ......... ok
t\mech-dump\mech-dump.t .. ok
t\new.t .................. ok
t\pod-coverage.t ......... ok
t\pod.t .................. ok
t\regex-error.t .......... ok
t\save_content.t ......... ok
t\select.t ............... ok
t\taint.t ................ ok
t\tick.t ................. ok
t\upload.t ............... ok
t\warn.t ................. ok
t\warnings.t ............. ok
Test Summary Report
-------------------
t\cookies.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t\local\back.t (Wstat: 256 Tests: 47 Failed: 1)
Failed test: 33
Non-zero exit status: 1
t\local\click_button.t (Wstat: 0 Tests: 19 Failed: 0) TODO passed: 15-
+17, 19
Files=50, Tests=573, 236 wallclock secs ( 0.45 usr + 0.11 sys = 0.56 C
+PU)
Result: FAIL
Failed 2/50 test programs.
1/573 subtests failed.
dmake.EXE: Error code 255, while making 'test_dynamic'
PETDANCE/WWW-Mechanize-1.60.tar.gz
C:\strawberry\c\bin\dmake.EXE test -- NOT OK
//hint// to see the cpan-testers results for installing this module, t
+ry:
reports PETDANCE/WWW-Mechanize-1.60.tar.gz
Running make install
make test had returned bad status, won't install without force
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.