WWW::HatenaStarインストール時にハマったことメモ
WWW::HatenaStarでうごメモにスターを付けまくるを読んでWWW::HatenaStarを入れようとしたのだけど、依存しているモジュールでエラーがでた。エラーがでたモジュールはWWW::Mechanize
エラーのログ
t/link...................ok t/live/computers4sure....ok 3/9 t/live/computers4sure....NOK 5# Failed test 'Should have lots of product links' # at t/live/computers4sure.t line 24. # '0' # > # '10' t/live/computers4sure....NOK 6 # Failed test 'The object isa WWW::Mechanize::Link' # at t/live/computers4sure.t line 27. # The object isn't defined Can't call method "url" on an undefined value at t/live/computers4sure.t line 28. # Looks like you planned 9 tests but ran 6. # Looks like you failed 2 tests of 6 run. # Looks like your test exited with 255 just after 6. t/live/computers4sure....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 5-9 Failed 5/9 tests, 44.44% okay t/live/encoding..........ok t/live/wikipedia.........ok t/local/back.............ok 1/47# Started http://localhost:53590/ t/local/back.............ok t/local/click............ok 1/9# Started http://localhost:53605/ t/local/click............ok t/local/click_button.....ok 1/19# Started http://localhost:53609/ t/local/click_button.....ok 4/19 unexpectedly succeeded t/local/failure..........ok 1/15# Started http://localhost:53615/ t/local/failure..........ok t/local/follow...........ok 1/21# Started http://localhost:53618/ t/local/follow...........ok t/local/form.............ok 1/13# Started http://localhost:53625/ t/local/form.............ok t/local/get..............ok 1/32# Started http://localhost:53628/ t/local/get..............ok 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:53636/ t/local/page_stack.......ok t/local/referer..........ok t/local/reload...........ok 1/14# Started http://localhost:53646/ t/local/reload...........ok t/local/submit...........ok 1/13# Started http://localhost:53650/ t/local/submit...........ok t/mech-dump/mech-dump....ok t/new....................ok t/pod-coverage...........ok t/pod....................ok t/regex-error............ok t/save_content...........ok t/select.................ok t/taint..................ok t/tick...................ok t/upload.................ok t/warn...................ok t/warnings...............ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/live/computers4sure.t 255 65280 9 8 88.89% 5-9 (4 subtests UNEXPECTEDLY SUCCEEDED), 1 test skipped. Failed 1/51 test scripts, 98.04% okay. 5/593 subtests failed, 99.16% okay. make: *** [test_dynamic] Error 255 /usr/bin/make test -- NOT OK
ぐぐるとssue 87 - www-mechanize - Google Code
they redesigned their site. the test is, as a result, now broken
だそうで、computers4sureのサイトのデザインが変わったのでエラーがでる?
無視してインストールでよさげ。
cpan> look WWW::Mechanize # make install