[CentOS][perl]Amazon::S3をインストールする方法
LWP::UserAgent::Determined のインストールで失敗しました。
# cpan LWP::UserAgent::Determined
CPAN: Storable loaded ok (v2.15)
Reading '/root/.cpan/Metadata'
Database was generated on Tue, 01 Nov 2011 06:30:51 GMT
Running install for module 'LWP::UserAgent::Determined'
Running make for J/JE/JESSE/LWP-UserAgent-Determined-1.05.tar.gz
CPAN: Digest::SHA loaded ok (v5.62)
CPAN: Compress::Zlib loaded ok (v2.04)
Checksum for /root/.cpan/sources/authors/id/J/JE/JESSE/LWP-UserAgent-Determined-1.05.tar.gz ok
CPAN: File::Temp loaded ok (v0.22)
CPAN: Parse::CPAN::Meta loaded ok (v1.4401)
CPAN: CPAN::Meta loaded ok (v2.112150)
CPAN: Module::CoreList loaded ok (v2.57)
CPAN.pm: Building J/JE/JESSE/LWP-UserAgent-Determined-1.05.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for LWP::UserAgent::Determined
Writing MYMETA.yml and MYMETA.json
cp lib/LWP/UserAgent/Determined.pm blib/lib/LWP/UserAgent/Determined.pm
Manifying blib/man3/LWP::UserAgent::Determined.3pm
JESSE/LWP-UserAgent-Determined-1.05.tar.gz
/usr/bin/make -- OK
CPAN: YAML loaded ok (v0.77)
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01_about_verbose.t .... ok
t/10_determined_test.t .. 7/13
エラーの原因がわからず途方にくれましたが、yumでインストールしたらいけました。
yum --enablerepo=rpmforge install perl-LWP-UserAgent-Determined
yumでCPANモジュールを入れるというのは若干気持ち悪いですが、動いたのでよしとします。
注記
force install しても問題なく動くようです。# cpan LWP::UserAgent::Determined --force