新しいblogに移行しました

新ブログ "All Yout Bugs Are Belong To Ass" に移行しました!

2011-04-22

[Perl]Test-WWW-Mechanize-1.30のテストがこける

こんな風にこけました@perl-5.12.3
~/$ cpanm Test::WWW::Mechanize
--> Working on Test::WWW::Mechanize
Fetching http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/Test-WWW-Mechanize-1.30.tar.gz ... OK
Configuring Test-WWW-Mechanize-1.30 ... OK
==> Found dependencies: Test::LongString, WWW::Mechanize, HTML::TreeBuilder, HTTP::Server::Simple, Carp::Assert::More, HTTP::Server::Simple::CGI
--> Working on Test::LongString
Fetching http://search.cpan.org/CPAN/authors/id/R/RG/RGARCIA/Test-LongString-0.15.tar.gz ... OK
Configuring Test-LongString-0.15 ... OK
Building and testing Test-LongString-0.15 ... OK
Successfully installed Test-LongString-0.15
--> Working on WWW::Mechanize
Fetching http://search.cpan.org/CPAN/authors/id/J/JE/JESSE/WWW-Mechanize-1.68.tar.gz ... OK
Configuring WWW-Mechanize-1.68 ... OK
==> Found dependencies: HTML::TreeBuilder, HTTP::Server::Simple, HTTP::Server::Simple::CGI
--> Working on HTML::TreeBuilder
Fetching http://search.cpan.org/CPAN/authors/id/J/JF/JFEARN/HTML-Tree-4.2.tar.gz ... OK
Configuring HTML-Tree-4.2 ... OK
Building and testing HTML-Tree-4.2 ... OK
Successfully installed HTML-Tree-4.2
--> Working on HTTP::Server::Simple
Fetching http://search.cpan.org/CPAN/authors/id/J/JE/JESSE/HTTP-Server-Simple-0.44.tar.gz ... OK
Configuring HTTP-Server-Simple-0.44 ... OK
Building and testing HTTP-Server-Simple-0.44 ... OK
Successfully installed HTTP-Server-Simple-0.44
Building and testing WWW-Mechanize-1.68 ... OK
Successfully installed WWW-Mechanize-1.68
--> Working on Carp::Assert::More
Fetching http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/Carp-Assert-More-1.12.tar.gz ... OK
Configuring Carp-Assert-More-1.12 ... OK
Building and testing Carp-Assert-More-1.12 ... OK
Successfully installed Carp-Assert-More-1.12
Building and testing Test-WWW-Mechanize-1.30 ... FAIL
! Installing Test::WWW::Mechanize failed. See /home/ytnobody/.cpanm/build.log for details.

で、ここ見る限り、Test-LongString-0.15がダメっぽいので、Test-LongString-0.14をいれてからT::W::Mech入れればいいっぽいです。

~/$ cpanm http://search.cpan.org/CPAN/authors/id/R/RG/RGARCIA/Test-LongString-0.14.tar.gz
--> Working on http://search.cpan.org/CPAN/authors/id/R/RG/RGARCIA/Test-LongString-0.14.tar.gz
Fetching http://search.cpan.org/CPAN/authors/id/R/RG/RGARCIA/Test-LongString-0.14.tar.gz ... OK
Configuring Test-LongString-0.14 ... OK
Building and testing Test-LongString-0.14 ... OK
Successfully installed Test-LongString-0.14
~/$ cpanm Test::WWW::Mechanize
--> Working on Test::WWW::Mechanize
Fetching http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/Test-WWW-Mechanize-1.30.tar.gz ... OK
Configuring Test-WWW-Mechanize-1.30 ... OK
Building and testing Test-WWW-Mechanize-1.30 ... OK
Successfully installed Test-WWW-Mechanize-1.30

追記
どうやら、これ以外の原因でコケる場合もある模様。
とりあえずCPANRTではなくgoogle codeにて不具合等を管理しているようなので、そちらもご参照を。

0 件のコメント: