Anmelden

Archiv verlassen und diese Seite im Standarddesign anzeigen : perl WWW::Mechanize



shb
08-03-2005, 11:55
hi leute ich will WWW::Mechanize installieren, leider erhalte ich immer diese fehlermeldung, was fehlt?


cpan> install WWW::Mechanize
Running install for module WWW::Mechanize
Running make for P/PE/PETDANCE/WWW-Mechanize-1.12.tar.gz
Is already unwrapped into directory /root/.cpan/build/WWW-Mechanize-1.12
Has already been processed within this session
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/die.t t/field.t t/find_image.t t/find_link-warnings.t t/find_link.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/mech-dump.t t/new.t t/pod-coverage.t t/pod.t t/regex-error.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/back.t t/live/click.t t/live/follow.t t/live/follow_link.t t/live/form.t t/live/get.t t/live/reload.t t/live/submit.t
t/00.load...............ok 2/2# Testing WWW::Mechanize 1.12
t/00.load...............ok
t/add_header............ok
t/aliases...............ok
t/area_link.............ok
t/autocheck.............skipped
all skipped: Test::Exception required to test autocheck
t/clone.................ok
t/die...................skipped
all skipped: Test::Exception required to test die
t/field.................ok
t/find_image............ok
t/find_link-warnings....skipped
all skipped: Test::Warn required to test t/find_link-warnings.t
t/find_link.............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/back.............ok
t/live/click............ok
t/live/follow...........ok
t/live/follow_link......ok
t/live/form.............ok
t/live/get..............ok
t/live/reload...........ok
t/live/submit...........ok
t/local/back............ok 3/38# Started http://localhost:60237/
t/local/back............ok 27/38# Failed test (t/local/back.t at line 148)
# got: '500'
# expected: '404'
t/local/back............ok 38/38# Looks like you failed 1 tests of 38.
t/local/back............dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 28
Failed 1/38 tests, 97.37% okay
t/local/click...........ok 2/10# Started http://localhost:60255/
t/local/click...........ok
t/local/click_button....ok 2/18# Started http://localhost:60260/
t/local/click_button....ok
t/local/failure.........ok 1/17# Started http://localhost:60267/
t/local/failure.........ok
t/local/follow..........ok 1/28# Started http://localhost:60271/
t/local/follow..........ok
t/local/form............ok 1/16# Started http://localhost:60279/
t/local/form............ok
t/local/get.............ok 1/37# Started http://localhost:60283/
t/local/get.............ok
t/local/overload........ok 1/11# Started http://localhost:60291/
t/local/overload........ok
t/local/page_stack......ok 1/11# Started http://localhost:60296/
t/local/page_stack......ok
t/local/referer.........ok
t/local/reload..........ok 1/16# Started http://localhost:60307/
t/local/reload..........ok
t/local/submit..........ok 1/15# Started http://localhost:60312/
t/local/submit..........ok
t/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...........skipped
all skipped: Test::Warn required to test t/regex-error.t
t/select................ok
t/taint.................skipped
all skipped: Test::Taint required for checking taintedness
t/tick..................ok
t/upload................ok
t/warn..................skipped
all skipped: Test::Warn required to test warn
t/warnings..............skipped
all skipped: Test::Warn required to test warnings
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/local/back.t 1 256 38 1 2.63% 28
9 tests skipped.
Failed 1/49 test scripts, 97.96% okay. 1/577 subtests failed, 99.83% okay.
make: *** [test_dynamic] Fehler 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force

thx cu SHB

michael.sprick
08-03-2005, 12:27
es fehlt eigentlich nix - nur ein Test schlägt fehl....
Erst startet WWW::Mechanize einen httpd Server auf localhost und versucht dann ein Dokument anzufordern. Statt ERR 404 erhält das Testprogramm aber einen ERR 500.

ich glaube, ich würde da einfach mal versuchen, das Paket mit "force install ..." zu installieren.

shb
09-03-2005, 10:50
Danke das hat gefunzt ;)

thx cu SHB