Thread Fehler mit WWW::Mechanize bei Linux (29 answers)
Opened by LE at 2009-10-27 14:46

LE
 2009-10-28 14:25
#127436 #127436
User since
2009-10-23
80 Artikel
BenutzerIn
[default_avatar]
cpan[1]> install WWW::Mechanize
CPAN: Storable loaded ok (v2.18)
Going to read /root/.cpan/Metadata
Database was generated on Tue, 27 Oct 2009 14:32:21 GMT
Running install for module 'WWW::Mechanize'
CPAN: Data::Dumper loaded ok (v2.121_14)
'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/root/.cpan/prefs'
Running make for P/PE/PETDANCE/WWW-Mechanize-1.60.tar.gz
CPAN: Digest::SHA loaded ok (v5.45)
CPAN: Compress::Zlib loaded ok (v2.008)
Checksum for /root/.cpan/sources/authors/id/P/PE/PETDANCE/WWW-Mechanize-1.60.tar.gz ok
Scanning cache /root/.cpan/build for sizes
............................................................................DONE
WWW-Mechanize-1.60/
WWW-Mechanize-1.60/bin/
WWW-Mechanize-1.60/bin/mech-dump
WWW-Mechanize-1.60/Changes
WWW-Mechanize-1.60/etc/
WWW-Mechanize-1.60/etc/www-mechanize-logo.png
WWW-Mechanize-1.60/lib/
WWW-Mechanize-1.60/lib/WWW/
WWW-Mechanize-1.60/lib/WWW/Mechanize/
WWW-Mechanize-1.60/lib/WWW/Mechanize/Cookbook.pod
WWW-Mechanize-1.60/lib/WWW/Mechanize/Examples.pod
WWW-Mechanize-1.60/lib/WWW/Mechanize/FAQ.pod
WWW-Mechanize-1.60/lib/WWW/Mechanize/Image.pm
WWW-Mechanize-1.60/lib/WWW/Mechanize/Link.pm
WWW-Mechanize-1.60/lib/WWW/Mechanize.pm
WWW-Mechanize-1.60/Makefile.PL
WWW-Mechanize-1.60/MANIFEST
WWW-Mechanize-1.60/META.yml
WWW-Mechanize-1.60/perlcriticrc
WWW-Mechanize-1.60/t/
WWW-Mechanize-1.60/t/00-load.t
WWW-Mechanize-1.60/t/add_header.t
WWW-Mechanize-1.60/t/aliases.t
WWW-Mechanize-1.60/t/area_link.html
WWW-Mechanize-1.60/t/area_link.t
WWW-Mechanize-1.60/t/autocheck.t
WWW-Mechanize-1.60/t/clone.t
WWW-Mechanize-1.60/t/cookies.t
WWW-Mechanize-1.60/t/credentials-api.t
WWW-Mechanize-1.60/t/credentials.t
WWW-Mechanize-1.60/t/die.t
WWW-Mechanize-1.60/t/field.html
WWW-Mechanize-1.60/t/field.t
WWW-Mechanize-1.60/t/find_frame.html
WWW-Mechanize-1.60/t/find_frame.t
WWW-Mechanize-1.60/t/find_image.t
WWW-Mechanize-1.60/t/find_inputs.html
WWW-Mechanize-1.60/t/find_inputs.t
WWW-Mechanize-1.60/t/find_link-warnings.t
WWW-Mechanize-1.60/t/find_link.html
WWW-Mechanize-1.60/t/find_link.t
WWW-Mechanize-1.60/t/find_link_id.html
WWW-Mechanize-1.60/t/find_link_id.t
WWW-Mechanize-1.60/t/form-parsing.t
WWW-Mechanize-1.60/t/frames.html
WWW-Mechanize-1.60/t/frames.t
WWW-Mechanize-1.60/t/google.html
WWW-Mechanize-1.60/t/image-new.t
WWW-Mechanize-1.60/t/image-parse.html
WWW-Mechanize-1.60/t/image-parse.t
WWW-Mechanize-1.60/t/link-base.t
WWW-Mechanize-1.60/t/link-relative.t
WWW-Mechanize-1.60/t/link.t
WWW-Mechanize-1.60/t/live/
WWW-Mechanize-1.60/t/live/encoding.t
WWW-Mechanize-1.60/t/live/wikipedia.t
WWW-Mechanize-1.60/t/local/
WWW-Mechanize-1.60/t/local/back.t
WWW-Mechanize-1.60/t/local/click.t
WWW-Mechanize-1.60/t/local/click_button.t
WWW-Mechanize-1.60/t/local/failure.t
WWW-Mechanize-1.60/t/local/follow.t
WWW-Mechanize-1.60/t/local/form.t
WWW-Mechanize-1.60/t/local/get.t
WWW-Mechanize-1.60/t/local/LocalServer.pm
WWW-Mechanize-1.60/t/local/log-server
WWW-Mechanize-1.60/t/local/overload.t
WWW-Mechanize-1.60/t/local/page_stack.t
WWW-Mechanize-1.60/t/local/referer-server
WWW-Mechanize-1.60/t/local/referer.t
WWW-Mechanize-1.60/t/local/reload.t
WWW-Mechanize-1.60/t/local/submit.t
WWW-Mechanize-1.60/t/mech-dump/
WWW-Mechanize-1.60/t/mech-dump/mech-dump.t
WWW-Mechanize-1.60/t/new.t
WWW-Mechanize-1.60/t/pod-coverage.t
WWW-Mechanize-1.60/t/pod.t
WWW-Mechanize-1.60/t/regex-error.t
WWW-Mechanize-1.60/t/save_content.t
WWW-Mechanize-1.60/t/select.html
WWW-Mechanize-1.60/t/select.t
WWW-Mechanize-1.60/t/taint.t
WWW-Mechanize-1.60/t/TestServer.pm
WWW-Mechanize-1.60/t/tick.html
WWW-Mechanize-1.60/t/tick.t
WWW-Mechanize-1.60/t/Tools.pm
WWW-Mechanize-1.60/t/upload.html
WWW-Mechanize-1.60/t/upload.t
WWW-Mechanize-1.60/t/warn.t
WWW-Mechanize-1.60/t/warnings.t
CPAN: File::Temp loaded ok (v0.18)
Warning (usually harmless): 'YAML' not installed, will not store persistent state

CPAN.pm: Going to build P/PE/PETDANCE/WWW-Mechanize-1.60.tar.gz


WWW::Mechanize likes to have a lot of test modules for some of its tests.
The following are modules that would be nice to have, but not required.

Test::Pod
Test::Memory::Cycle
Test::Taint


Checking if your kit is complete...
Looks good
Writing Makefile for WWW::Mechanize
Could not read '/root/.cpan/build/WWW-Mechanize-1.60-pERuRf/META.yml'. Falling back to other methods to determine prerequisites
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
cp bin/mech-dump blib/script/mech-dump
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/mech-dump
Manifying blib/man1/mech-dump.1
Manifying blib/man3/WWW::Mechanize::Link.3pm
Manifying blib/man3/WWW::Mechanize::Examples.3pm
Manifying blib/man3/WWW::Mechanize::Image.3pm
Manifying blib/man3/WWW::Mechanize::FAQ.3pm
Manifying blib/man3/WWW::Mechanize::Cookbook.3pm
Manifying blib/man3/WWW::Mechanize.3pm
PETDANCE/WWW-Mechanize-1.60.tar.gz
/usr/bin/make -- OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/00-load.t t/add_header.t t/aliases.t t/area_link.t t/autocheck.t t/clone.t t/cookies.t t/credentials-api.t t/credentials.t t/die.t t/field.t t/find_frame.t t/find_image.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-parse.t t/link-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/upload.t t/warn.t t/warnings.t t/local/back.t t/local/click.t t/local/click_button.t t/local/failure.t t/local/follow.t t/local/form.t t/local/get.t t/local/overload.t t/local/page_stack.t t/local/referer.t t/local/reload.t t/local/submit.t t/live/encoding.t t/live/wikipedia.t t/mech-dump/mech-dump.t
t/00-load................ok 1/2# Testing WWW::Mechanize 1.60, with LWP 5.833, Perl 5.010000, /usr/bin/perl
# Test::Memory::Cycle is not installed.
t/00-load................ok
t/add_header.............ok
t/aliases................ok
t/area_link..............ok
4/9 skipped: various reasons
t/autocheck..............skipped
all skipped: Test::Exception required to test autocheck
t/clone..................ok
t/cookies................# Test server http://127.0.0.1:32862/ as PID 7218
t/cookies................ok
t/credentials-api........ok
t/credentials............ok
t/die....................skipped
all skipped: Test::Exception required to test die
t/field..................ok
t/find_frame.............ok
t/find_image.............ok
t/find_inputs............ok
t/find_link-warnings.....ok
t/find_link..............ok
t/find_link_id...........ok
t/form-parsing...........ok
t/frames.................ok
t/image-new..............ok
t/image-parse............ok
t/link-base..............ok
t/link-relative..........ok
t/link...................ok
t/live/encoding..........ok 1/13Error GETing http://delicious.com/: Can't connect to delicious.com:80 (connect: Verbindungsaufbau abgelehnt) at t/live/encoding.t line 29
# Looks like you planned 13 tests but only ran 2.
# Looks like your test died just after 2.
t/live/encoding..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 3-13
Failed 11/13 tests, 15.38% okay
t/live/wikipedia.........ok 1/15Error GETing http://en.wikipedia.org/: Can't connect to en.wikipedia.org:80 (connect: Verbindungsaufbau abgelehnt) at t/live/wikipedia.t line 26
# Looks like you planned 15 tests but only ran 2.
# Looks like your test died just after 2.
t/live/wikipedia.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 3-15
Failed 13/15 tests, 13.33% okay
t/local/back.............ok 1/47# Started http://localhost:39395/
t/local/back.............ok
2/47 skipped: various reasons
t/local/click............ok 1/9# Started http://localhost:51688/
t/local/click............ok
t/local/click_button.....ok 1/19# Started http://localhost:38137/
t/local/click_button.....ok
4/19 unexpectedly succeeded
TODO PASSED tests 15-17, 19

t/local/failure..........ok 1/15# Started http://localhost:50860/
t/local/failure..........ok
t/local/follow...........ok 1/22# Started http://localhost:34889/
t/local/follow...........ok
t/local/form.............ok 1/13# Started http://localhost:54778/
t/local/form.............ok
t/local/get..............ok 1/32# Started http://localhost:48142/
t/local/get..............ok
1/32 skipped: various reasons
t/local/overload.........skipped
all skipped: Mysteriously stopped passing, and I don't know why.
t/local/page_stack.......ok 1/16# Started http://localhost:53786/
t/local/page_stack.......ok
t/local/referer..........ok
1/13 skipped: various reasons
t/local/reload...........ok 1/14# Started http://localhost:59286/
t/local/reload...........ok
1/14 skipped: various reasons
t/local/submit...........ok 1/13# Started http://localhost:57405/
t/local/submit...........ok
1/13 skipped: various reasons
t/mech-dump/mech-dump....ok
t/new....................ok
t/pod-coverage...........skipped
all skipped: Test::Pod::Coverage 1.04 required for testing POD coverage
t/pod....................skipped
all skipped: Test::Pod 1.14 required for testing POD
t/regex-error............ok
t/save_content...........ok
t/select.................ok
t/taint..................skipped
all skipped: Test::Taint required for checking taintedness
t/tick...................ok
t/upload.................ok
t/warn...................ok
t/warnings...............ok
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/live/encoding.t 255 65280 13 22 3-13
t/live/wikipedia.t 255 65280 15 26 3-15
(4 subtests UNEXPECTEDLY SUCCEEDED), 6 tests and 10 subtests skipped.
Failed 2/50 test scripts. 24/561 subtests failed.
Files=50, Tests=561, 20 wallclock secs (16.34 cusr + 1.82 csys = 18.16 CPU)
Failed 2/50 test programs. 24/561 subtests failed.
make: *** [test_dynamic] Fehler 255
PETDANCE/WWW-Mechanize-1.60.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports PETDANCE/WWW-Mechanize-1.60.tar.gz
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make install
make test had returned bad status, won't install without force
Failed during this command:
PETDANCE/WWW-Mechanize-1.60.tar.gz : make_test NO

View full thread Fehler mit WWW::Mechanize bei Linux