いくつもの問題を解決して、やっと終りが見えてきたところから、です。
●
続けて、p.80図11にあった、HTML関連のモジュールのインストール。
15-3. Plagger環境を作る その3
2007.02.11
環境:
・Debian GNU/Linux for ppc 2.4.20 #3
・perl, v5.8.4 built for powerpc-linux-thread-multi
いくつもの問題を解決して、やっと終りが見えてきたところから、です。
●
続けて、p.80図11にあった、HTML関連のモジュールのインストール。
myserver:~# cpan -fi HTML::TreeBuilder < /dev/null myserver:~# cpan -fi HTML::Scrubber myserver:~# cpan -fi HTML::ResolveLink
myserver:~# cpan -fi Encode::Builder < /dev/null
...
Database was generated on Thu, 08 Feb 2007 05:09:21 GMT
Warning: Cannot install Encode::Builder, don't know what it is.
Try the command
i /Encode::Builder/
to find objects with matching identifiers.
myserver:~#
myserver:~# cpan CPAN: File::HomeDir loaded ok cpan shell -- CPAN exploration and modules installation (v1.8802) ReadLine support enabled cpan[1]> i /Encode::Builder/ CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Thu, 08 Feb 2007 05:09:21 GMT No objects found of any type for argument /Encode::Builder/ cpan[2]> exit Lockfile removed. myserver:~#
myserver:~# cpan Plagger < /dev/null
myserver:~# cd /usr/local/bin/perl/5.8.4 myserver:/usr/local/lib/perl/5.8.4/plagger#svn co http://svn.bulknews.net/repos/plagger/trunk/plagger
myserver:/usr/local/lib/perl/5.8.4/plagger# ./plagger Can't locate File/Find/Rule.pm in @INC (@INC contains: /usr/local/lib/perl/5.8.4/plagger/lib /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/local/lib/perl/5.8.4/plagger/lib/Plagger.pm line 11. BEGIN failed--compilation aborted at /usr/local/lib/perl/5.8.4/plagger/lib/Plagger.pm line 11. Compilation failed in require at ./plagger line 8. BEGIN failed--compilation aborted at ./plagger line 8. myserver:/usr/local/lib/perl/5.8.4/plagger#
myserver:/usr/local/lib/perl/5.8.4# cpan -fi Test::File::Find::Rule ... myserver:/usr/local/lib/perl/5.8.4/plagger# ./plagger Can't locate MIME/Types.pm in @INC (@INC contains: /usr/local/lib/perl/5.8.4/plagger/lib /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/local/lib/perl/5.8.4/plagger/lib/Plagger/Util.pm line 10. BEGIN failed-- ... myserver:/usr/local/lib/perl/5.8.4/plagger#
myserver:/usr/local/lib/perl/5.8.4/plagger# cpan -fi MIME::Types
...
myserver:/usr/local/lib/perl/5.8.4/plagger# ./plagger
Base class package "Template" is empty.
(Perhaps you need to 'use' the module which defines that package first.)
at /usr/local/lib/perl/5.8.4/plagger/lib/Plagger/Template.pm line 3
BEGIN failed--
...
myserver:/usr/local/lib/perl/5.8.4/plagger#
myserver:/usr/local/lib/perl/5.8.4/plagger# cpan -fi Template::Base ... myserver:/usr/local/lib/perl/5.8.4/plagger# ./plagger Can't locate Template/Provider/Encoding.pm in @INC (@INC contains: /usr/local/lib/perl/5.8.4/plagger/lib /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/local/lib/perl/5.8.4/plagger/lib/Plagger/Template.pm line 8. BEGIN failed-- ...
myserver:/usr/local/lib/perl/5.8.4/plagger# cpan -fi Template::Provider::Encoding ... myserver:/usr/local/lib/perl/5.8.4/plagger# ./plagger Plagger::ConfigLoader->load: /usr/local/lib/perl/5.8.4/plagger/config.yaml: No such file or directory at /usr/local/lib/perl/5.8.4/plagger/lib/Plagger.pm line 47 myserver:/usr/local/lib/perl/5.8.4/plagger#
myserver:/usr/local/lib/perl/5.8.4/plagger# touch config.yaml myserver:/usr/local/lib/perl/5.8.4/plagger# ./plagger Plagger::Cache [error] Can't load Cache::FileCache. Fallbacks to Plagger::Cache::Null Plagger [info] plugin Plagger::Plugin::Bundle::Defaults loaded. Plagger [info] plugin Plagger::Plugin::Aggregator::Simple loaded. Plagger [info] plugin Plagger::Plugin::Summary::Auto loaded. Plagger [info] plugin Plagger::Plugin::Summary::Simple loaded. Plagger [info] plugin Plagger::Plugin::Namespace::HatenaFotolife loaded. Plagger [info] plugin Plagger::Plugin::Namespace::MediaRSS loaded. Plagger [info] plugin Plagger::Plugin::Namespace::ApplePhotocast loaded. myserver:/usr/local/lib/perl/5.8.4/plagger#
myserver:/usr/local/lib/perl/5.8.4/plagger# cpan -fi Cache::FileCache ... Checking for IPC::ShareLite... not found NOTE: Your system does not seem to have IPC::ShareLite installed. This module is a prerequisite for the SharedMemoryCache implementations. However, since it is not available on all platforms, the Cache::Cache module does not list it as an explicit dependency. If you are able to build IPC::ShareLite (available on CPAN), please install it now and re run this Makefile.PL. Automatically disabling the tests for the SharedMemoryCache. ...
myserver:/usr/local/lib/perl/5.8.4/plagger# cpan -fi IPC::ShareLite ... myserver:/usr/local/lib/perl/5.8.4/plagger# cpan -fi Cache::FileCache ... myserver:/usr/local/lib/perl/5.8.4/plagger# ./plagger Plagger [info] plugin Plagger::Plugin::Bundle::Defaults loaded. Plagger [info] plugin Plagger::Plugin::Aggregator::Simple loaded. Plagger [info] plugin Plagger::Plugin::Summary::Auto loaded. Plagger [info] plugin Plagger::Plugin::Summary::Simple loaded. Plagger [info] plugin Plagger::Plugin::Namespace::HatenaFotolife loaded. Plagger [info] plugin Plagger::Plugin::Namespace::MediaRSS loaded. Plagger [info] plugin Plagger::Plugin::Namespace::ApplePhotocast loaded. myserver:/usr/local/lib/perl/5.8.4/plagger#