Plagger インストールメモ
久々に利用しようと思って Wikipedia から公式(?)サイトに辿ったら、出会い系になってるし。ML のアーカイブ一覧を見ると Fuck とかの文字が並んでるし、なんというか。。なんて言うんですかね。
ちょっと精神削られました。(普段奇麗な世界に住んでるもので)
install module
yoya@sakura:~/svn/plagger$ perl Makefile.PL Can't locate inc/Module/Install.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at Makefile.PL line 2. BEGIN failed--compilation aborted at Makefile.PL line 2.
yoya@sakura:~/svn/plagger$ sudo apt-get install libmodule-install-perl パッケージリストを読み込んでいます... 完了
use_test_base
yoya@sakura:~/svn/plagger$ perl Makefile.PL include /home/yoya/svn/plagger/inc/Module/Install.pm Bareword "use_test_base" not allowed while "strict subs" in use at Makefile.PL line 114. Execution of Makefile.PL aborted due to compilation errors.
yoya@sakura:~/svn/plagger$ sudo apt-get install libyaml-perl libmodule-install-perl libtest-base-perl パッケージリストを読み込んでいます... 完了
make
[y] とか [n] とか聞かれるので、全部デフォルトのまま実行キーを押し続ける。
make <略> All tests successful. Files=27, Tests=1715, 6 wallclock secs ( 0.69 usr 0.22 sys + 6.08 cusr 0.74 csys = 7.73 CPU) Result: PASS make[1]: ディレクトリ `/home/yoya/.cpanplus/5.10.1/build/Net-SSLeay-1.52' から出ます [sudo] password for yoya:
make install
Checking if your kit is complete... Looks good Writing Makefile for Text::Glob Writing MYMETA.yml and MYMETA.json Running [/usr/bin/make test]... make[1]: ディレクトリ `/home/yoya/.cpanplus/5.10.1/build/Text-Glob-0.09' に入ります PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/Text-Glob.t .. ok All tests successful. Files=1, Tests=44, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.05 cusr 0.01 csys = 0.09 CPU) Result: PASS make[1]: ディレクトリ `/home/yoya/.cpanplus/5.10.1/build/Text-Glob-0.09' から出ます <略> *** DateTime::Format::Strptime successfully installed. *** Module::AutoInstall installation finished. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ERROR: Can't create '/usr/local/bin' Do not have write permissions on '/usr/local/bin' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! at -e line 1 make: *** [pure_site_install] エラー 13 yoya@sakura:~/svn/plagger$
yoya@sakura:~/svn/plagger$ sudo make install <略> Installing /usr/local/man/man3/Plagger::Plugin::Summary::Japanese.3pm Installing /usr/local/bin/plagger-ircbot Installing /usr/local/bin/plagger Appending installation info to /usr/local/lib/perl/5.10.1/perllocal.pod yoya@sakura:~/svn/plagger$