読者です 読者をやめる 読者になる 読者になる

kenanのブログ

闘病生活

引き続きmobircのインストール作業

昨日時点でうまくモジュールが入らなかったやつの残りリスト

perl Makefile.PLで表示されたやつ

Warning: prerequisite Encode 2.25 not found. We have 2.21.
Warning: prerequisite File::Spec 3.2701 not found. We have 3.12.
Warning: prerequisite HTTP::Engine 0.0.11 not found.
Warning: prerequisite List::MoreUtils 0.22 not found.
Warning: prerequisite Moose 0.48 not found. We have unknown version.
Warning: prerequisite MooseX::Plaggerize 0.03 not found.
Warning: prerequisite Storable 2.18 not found. We have 2.15

Encode 2.25
File::Spec 3.2701
HTMLEngine 0.0.11
Moose 0.48
List::MoreUtils 0.22
Moose 0.48
MooseX::Plaggerize 0.03
Storable 2.18

のうちEncode、File:Spec、List::MoreUtils、Storableはちゃんとバージョンの指定をして
CPANからインストールすれば大丈夫だった。

HTTP::Engine 0.0.11
Mooseが必要と言われてAutoInstallをオプションで行うがうまくできない?

CPANからはMoose0.48 うまくインストールできない?

tarを落としてきてビルドしてみた
うまくできた?ようなので
HTTP::Engine

perl Makefile.PL && make && make install

Installing /usr/local/man/man3/HTTP::Engine::Request::Upload.3pm
Installing /usr/local/man/man3/HTTP::Engine::Interface::CGI.3pm
Writing /usr/local/lib/perl/5.8.8/auto/HTTP/Engine/.packlist
Appending installation info to /usr/local/lib/perl/5.8.8/perllocal.pod

とかとか

Makefile.PLで

kenan@:~/mobirc$ sudo perl Makefile.PL
include /home/kenan/mobirc/inc/Module/Install.pm
include inc/Module/Install/Metadata.pm
include inc/Module/Install/Base.pm
include inc/Module/Install/Makefile.pm
include inc/Module/Install/TestBase.pm
include inc/Module/Install/Include.pm
include inc/Test/Base.pm
include inc/Test/Base/Filter.pm
include inc/Spiffy.pm
include inc/Test/More.pm
include inc/Test/Builder.pm
include inc/Test/Builder/Module.pm
include inc/Text/Diff.pm
include inc/Test/Exception.pm
include inc/Module/Install/WriteAll.pm
Writing META.yml
include inc/Module/Install/Win32.pm
include inc/Module/Install/Can.pm
include inc/Module/Install/Fetch.pm
Writing Makefile for mobirc

kenan@:~/mobirc$ ./mobirc
Could not load class (App::Mobirc::Plugin::HTMLFilter::DoCoMoCSS) because : Can't locate CSS/Tiny.pm in @INC (@INC contains: /home/kenan/mobirc/lib /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /home/kenan/mobirc/lib/App/Mobirc/Plugin/HTMLFilter/DoCoMoCSS.pm line 4.
BEGIN failed--compilation aborted at /home/kenan/mobirc/lib/App/Mobirc/Plugin/HTMLFilter/DoCoMoCSS.pm line 4.
Compilation failed in require at /usr/local/lib/perl/5.8.8/Class/MOP.pm line 139.
at /usr/local/lib/perl/5.8.8/Class/MOP.pm line 140
Class::MOP::load_class('App::Mobirc::Plugin::HTMLFilter::DoCoMoCSS') called at /usr/local/share/perl/5.8.8/MooseX/Plaggerize.pm line 20
MooseX::Plaggerize::load_plugin('App::Mobirc=HASH(0x8ca7830)', 'HASH(0x8c924cc)') called at /home/kenan/mobirc/lib/App/Mobirc.pm line 44
App::Mobirc::_load_plugins('App::Mobirc=HASH(0x8ca7830)') called at /home/kenan/mobirc/lib/App/Mobirc.pm line 35
Class::MOP::Class:::around('CODE(0x8a2e548)', 'App::Mobirc', '/home/kenan/mobirc/config.yaml') called at /usr/local/lib/perl/5.8.8/Class/MOP/Method/Wrapped.pm line 128
Class::MOP::Method::Wrapped::__ANON__('App::Mobirc', '/home/kenan/mobirc/config.yaml') called at /usr/local/lib/perl/5.8.8/Class/MOP/Method/Wrapped.pm line 88
App::Mobirc::new('App::Mobirc', '/home/kenan/mobirc/config.yaml') called at ./mobirc line 36

エラーがバラバラと…

cpanより「HTML::DoCoMoCSS」を入れればおk
これもCPANからうまく入らなかった?のかな

cpan> install HTML::DoCoMoCSS

を行うとmake testでエラーっぽいメッセージがでて
NOT OKと表示されるけど、

~/.cpan/build/HTML-DoCoMoCSS-0.01$

からmake && make installしたらできた?

とりあえず./mobircから起動できました。

あとはconfig.yamlの設定だけですねー