ããã£ï¼ Ubuntuã«plaggerå ¥ããã俺ã®ãã£ã¼ãæ¶åãï¾ï½¯ï¾ãªãã ãï¼
ã§ãã¾ã ãã£ã¼ãä¸ã¤ãå
¥ãã¦ãªãã®ã§é£ãã¿ã¤ãã«ã§ãã
ããããyamlã®åå¼·ï¼ï¼
ããã¯ã¨ãããUbuntu 8.10ã§plaggerå ¥ããã®ã§ã¡ã¢ã
åèè¨äº
http://d.hatena.ne.jp/ketuname/20070430
http://shunirr.org/archives/15
http://retlet.net/log/2008/05/openfl.html
å¿ è¦ãããããã±ã¼ã¸å ¥ããã
aptitude install libexpat1-dev aptitude install libxml2-dev aptitude install libio-socket-ssl-perl libnet-ssleay-perl libssl-dev
次ã«ã¢ã¸ã¥ã¼ã«ãå
¥ããã
testã¨ãæ°ã«ããã«forceã§ããããã®ãã¸ã£ã¹ãã£ã¹ãããã
cpan -i Bundle::CPAN cpan -fi Config::Simple cpan -fi YAML < /dev/null cpan -fi Module::Build cpan -fi ExtUtils::CBuilder cpan -fi ExtUtils::ParseXS cpan -fi Test::More cpan -fi Test::Pod < /dev/null cpan -fi Test::Pod::Coverage < /dev/null cpan -fi Exporter::Lite cpan -fi Net::SSLeay cpan -fi IO::Socket::SSL cpan -fi Crypt::SSLeay < /dev/null cpan -fi XML::Parser cpan -fi XML::Simple cpan -fi XML::LibXML < /dev/null cpan -fi XML::SimpleObject cpan -fi XML::XPathEngine cpan -fi XML::Liberal < /dev/null cpan -fi XML::FOAF < /dev/null cpan -fi XMLRPC::Lite < /dev/null cpan -fi HTML::TreeBuilder < /dev/null cpan -fi HTML::Scrubber cpan -fi HTML::ResolveLink cpan -fi IPC::Run cpan -fi HTTP::Cookies::Mozilla < /dev/null cpan -fi WebService::Bloglines cpan -fi WWW::Mechanize < /dev/null cpan -fi WWW::Mixi < /dev/null cpan -fi JSON::Syck cpan -fi URI::Find cpan -fi Data::Dump cpan -fi Module::Install < /dev/null cpan -fi Spreadsheet::WriteExcel < /dev/null cpan -fi Log::Dispatch cpan -fi IO::AtomicFile cpan -fi Net::Delicious::Constants::Api cpan -fi SWF::Builder < /dev/null
éã¯svn coã§ã½ã¼ã¹åã£ã¦ãã¦ä½¿ããããã®ã§éã¶ãã
svn co http://svn.bulknews.net/repos/plagger/trunk/plagger perl Makefile.PL
ããã§äºç¨®é¡ã®ã¨ã©ã¼ãã§ã¦ããã
å
¨ãé¢ä¿ãªãããå¾ãã®å¸ã®ãã£ãããé»è©±ã§æé³´ãæ£ããã¦ãã¦ããããã
ã²ã¨ã¤ãã
Can't locate inc/Module/Install.pm in @INCãªãã¨ãããã¨ã
Can't locateã£ã¦è¨ãããã®ã¯ãã®ã¢ã¸ã¥ã¼ã«ããªããããããã®ã§ããã®æ¬¡ã«ç¶ãã¢ã¸ã¥ã¼ã«ãå
¥ãã¦ããã°ãããããã
ãã£ããå
¥ãã¦ããã
cpan -i inc::Module::Install
ãµãã¤ãã
Bareword "use_test_base" not allowed while "strict subs" in use at Makefile.PL line 114.
ããã¯ãYAMLã¨Module::Installã¨Test::Baseãå
¥ãã¾ããããã£ã¦ãã¨ãããã
YAMLã¯ããå
¥ã£ã¦ããã®ã§ä»ã®äºã¤ãå
¥ããã
cpan -i Module::Install cpan -fi Test::Base
Test::Baseã¯testã§FAILã§ã¦ãããforceããã
forceãããããããªã使ã俺ãã£ãããã
ã¨ã©ã¼ãåºãªããªã£ããmakeãã¾ãããã
make
ããã¦Enterãé£æããç°¡åãªãä»äºã
make test
Enterãé£æããç°¡åãªï¼ï½ï½ã
ãªãããã°è¦ã¦ãã¨ããã£ããã£ãmakeã®å¾åã§åãã¦ããtestã¨åããããªæ°ãããã
make install
plagger -v
Plagger version 0.7.17
ã§ããã¼ï¼ï¼ï¼
ããã§ã¨ããããã¾ãããããã¨ããããã¾ãã