2010/04/13

Lingua-JA-Summarize-0.08

Perlモジュール Lingua-JA-Summarize-0.08 のインストール.


必要なPerlモジュールをCPANでインストール.

% perl -MCPAN -e shell

cpan> install Class::Accessor::Fast
cpan> install Class::ErrorHandler
cpan> install Lingua::JA::Summarize


% tar zxvf Lingua-JA-Summarize-0.08
% cd Lingua-JA-Summarize-0.08
% perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Lingua::JA::Summarize


% make
cp lib/Lingua/JA/Summarize.pm blib/lib/Lingua/JA/Summarize.pm
cp lib/Lingua/JA/Summarize/Mecab.pm blib/lib/Lingua/JA/Summarize/Mecab.pm
Manifying blib/man3/Lingua::JA::Summarize.3pm
Manifying blib/man3/Lingua::JA::Summarize::Mecab.3pm


% make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-util.......ok
t/01-new........ok
t/02-keyword....ok
All tests successful.
Files=3, Tests=41, 3 wallclock secs ( 3.50 cusr + 0.08 csys = 3.58 CPU)


# make install
Writing /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/auto/Lingua/JA/Summarize/.packlist
Appending installation info to /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/perllocal.pod


参考)CPANモジュールのmake testエラー.
http://q.hatena.ne.jp/mobile/1164216751