windowsのcygwinへのPlaggerの導入
噂どおり面倒だった。
参照URL
Google Readerでstarを付けたすべてのエントリをはてなブックマークに登録する - ヒビノキロク
http://d.hatena.ne.jp/nozom/20070316/1174064735
2006-09-11 - Muibrog
http://d.hatena.ne.jp/toshi123/20060911#p1
Plagger Plugin list for trunk (rev.1990)
http://pub.woremacx.com/.plagger/plugin-list/trunk.html
Plaggerについての情報源の整理 - jun-ichi.blog.hatena
http://d.hatena.ne.jp/jun-yoshida/20060927/1159312752
install libxml, libxml2, libxml2-devel binary and source by setup.exe
適当に必要そうなのを入れる。
install openssl related binary/source by setup.exe(needed by Net::SSLeay, Net::SMTP::TLS)
適当に必要そうなのを入れる。
XML::LibXMLのエラーの解決(?)
下記のエラーが出た。
Can't load 'blib/arch/auto/XML/LibXML/Common/Common.dll' for module XML::LibXML: :Common: No such file or directory at /usr/lib/perl5/5.8/cygwin/DynaLoader.pm li ne 230.
Re^3: Help required installing LibXML Parser
http://www.perlmonks.org/?node_id=657934
原因解明に時間がかかりそうなので、他のPCの/lib/perl5をコピーして、XML::LibXMLを無理やり入れる。
取ってきたlibとperlのバージョンが違ったので、perlを再インストしてバージョンをあわせる。
force install MIME::Lite (バグのためtestが失敗するので、forceで入れる。bugはローカルのモジュールファイルで修正して解決する)
fix MIME::Lite bug
C:\cygwin\lib\perl5\site_perl\5.8\MIME
http://rt.cpan.org/Public/Bug/Display.html?id=30916
fix Plagger\Plugin\Publish\Gmail Bug
C:\cygwin\lib\perl5\site_perl\5.8\Plagger\Plugin\Publish\Gmail.pm
http://www.karashi.org/~poppen/d/20070921.html
get assets
http://svn.bulknews.net/repos/plagger/trunk/plagger/assets/
checkout to plagger -c /cygdrive/c/data/home/snow/plagger/assets
config.yamlの配置(とりあえずテスト用)
global: plugin_path: - /usr/lib/perl5/site_perl/5.8/Plagger/Plugin assets_path: /cygdrive/c/data/home/snow/plagger/assets timezone: Asia/Tokyo log: # level: debug level: error plugins: - module: Subscription::Config config: feed: - url: 適当なrssのurl - module: Publish::Gmail config: mailto: snowfullnight@gmail.com mailfrom: snowfullnight@gmail.com mailroute: via: smtp_tls host: smtp.gmail.com:587 username: snowfullnight@gmail.com password: 秘密
Plagger [error] password: xxx not found in
Plagger中級
http://pc11.2ch.net/test/read.cgi/software/1148515419/
引用
Plagger [error] password: パスワードの内容 not found in HatenaAnntena.yaml のようになってしまいます。 また、色々調べたところ一度実行すればpasswordがbase64でエンコードされてリライトされるらしいのですが 全くそのような気配がありません。 ...