« VimperatorでコピーやペーストとかOSのショートカットが効かない | ホーム | 電波の屆きにくいところでiPhone使ってみた »
2008年7月24日
さくらのレンタルサーバーにmobircを入れたい
iPhone買ったんでkeitaircをiPhone用にカスタマイズして使っていて、やっぱ自動受信は欲しいなーと思ってたら、@kenan_から「それmobircでできるよ」と言われた。
とりあえず本体を入手。さくらにsvn入ってなかったので、手元のMacからsvnしてアップロードした。
$ svn co http://svn.coderepos.org/share/lang/perl/mobirc/trunk/mobirc
make testで不足モジュールをチェックして、
$ perl Makefile.PL
$ make test
cpanからインストールしまくる。
$ cpan
cpan> install モジュール名
...
以下のモジュールでインストールに失敗したけど面倒なのでforce installした。
- HTTP::MobileAgent
- Data::Visitor::Encode
- HTML::Entities::ConvertPictogramMobileJp
- Encode::JP::Mobile
config.yaml.sample をコピーして適当に編集して保存。
$ cp ~/mobirc/config.yaml.sample ~/mobirc/config.yaml
$ vim ~/mobirc/config.yaml
実行。
$ ~/mobirc/mobirc
Could not load class (App::Mobirc::Plugin::Component::HTTPD) because : Can't locate object method "mk_accessors" via package "Data::Visitor::Encode" at /home/retlet/perl/lib/Data/Visitor/Encode.pm line 16.
BEGIN failed--compilation aborted at /home/retlet/perl/lib/Data/Visitor/Encode.pm line 17.
Compilation failed in require at /home/retlet/mobirc/lib/App/Mobirc/Web/Handler.pm line 4.
BEGIN failed--compilation aborted at /home/retlet/mobirc/lib/App/Mobirc/Web/Handler.pm line 4.
Compilation failed in require at /home/retlet/mobirc/lib/App/Mobirc/Plugin/Component/HTTPD.pm line 7.
BEGIN failed--compilation aborted at /home/retlet/mobirc/lib/App/Mobirc/Plugin/Component/HTTPD.pm line 7.
Compilation failed in require at /home/retlet/perl/lib/i386-freebsd-64int/Class/MOP.pm line 139.
at /home/retlet/perl/lib/i386-freebsd-64int/Class/MOP.pm line 140
Class::MOP::load_class('App::Mobirc::Plugin::Component::HTTPD') called at /home/retlet/perl/lib/MooseX/Plaggerize.pm line 20
MooseX::Plaggerize::load_plugin('App::Mobirc=HASH(0x89b149c)', 'HASH(0x89902c0)') called at /home/retlet/mobirc/lib/App/Mobirc.pm line 44
App::Mobirc::_load_plugins('App::Mobirc=HASH(0x89b149c)') called at /home/retlet/mobirc/lib/App/Mobirc.pm line 35
Class::MOP::Class:::around('CODE(0x87732f8)', 'App::Mobirc', '/home/retlet/mobirc/config.yaml') called at /home/retlet/perl/lib/i386-freebsd-64int/Class/MOP/Method/Wrapped.pm line 128
Class::MOP::Method::Wrapped::__ANON__('App::Mobirc', '/home/retlet/mobirc/config.yaml') called at /home/retlet/perl/lib/i386-freebsd-64int/Class/MOP/Method/Wrapped.pm line 88
App::Mobirc::new('App::Mobirc', '/home/retlet/mobirc/config.yaml') called at ./mobirc line 36
ひゃー。
モジュール不足じゃないしわからんちーん。と、#Twitter@IRCNetで相談してみたらちょうどData::Visitor::Encodeで問題が発生してることを教えられた。
とりあえずここまで。
kenanさんに perl Makefile.PL でWarningになってるやつを全部入れるんだ。と言われたので入れようとしている。
$ perl Makefile.PL
include /home/retlet/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
Warning: prerequisite Data::Visitor::Encode 0.09 not found.
Warning: prerequisite HTTP::MobileAgent::Plugin::Locator 0.01 not found.
Writing Makefile for mobirc
Data::Visitor::Encode と HTTP::MobileAgent::Plugin::Locator が入らない( ´・ω・)
Data::Visitor::Encode は Data::Visitor のバージョンを下げれば良さそうなので下げてリトライ。
$ cpan i N/NU/NUFFIN/Data-Visitor-0.17.tar.gz
$ cpan i Data::Visitor::Encode
...
入った。
HTTP::MobileAgent::Plugin::Locator はよくわからなかったのでforce installした。
今度こそ動くかな?
$ cd ~/mobirc
$ ./mobirc
エラー出ない。動いてるっぽい。
あれこれいじってたらtiarraが落ちて、その後mobircを起動すると以下のエラーで落ちるようになった。
Can't use an undefined value as an ARRAY reference at /home/retlet/perl/lib/POE/Filter/Stackable.pm line 90.
タイミングからいってtiarraが過去ログ流してるせいかなーと当たりをつけて、tiarra.confから該当モジュールをオフに。
- Log::Recent
再度mobircを立ち上げたら大丈夫っぽい。その後、設定を戻しても落ちなくなった。
tiarraが落ちたあたりのログに変なものでも混じってたのかなー。
参考
トラックバック(1)
トラックバックURL: http://retlet.net/cgi-bin/mt5/mt-tb.cgi/45
さくらのレンタルサーバーにmobircを入れたい - retlet.net 続きを読む
If you could mail me with a few tips on how you made your website look this excellent, I would be grateful.
I’d have to examine with you here. Which isn't one thing I usually do! I take pleasure in studying a submit that can make folks think. Also, thanks for allowing me to remark!
Hi, you used to write excellent posts, but the last few posts have been kinda lackluster... I miss your super articles. Past few posts are just a little out of track!
When I initially commented I clicked the "Notify me when new comments are added" checkbox and now each time a comment is added I get several e-mails with the same comment. Is there any way you can remove me from that service? Thanks!
I think one of your advertisings triggered my internet browser to resize, you may well want to put that on your blacklist.
Hello kids, you all must watch comical video lessons, however keep in mind that first study then enjoyment okay.
It’s amazing to pay a quick visit this site and reading the views of all mates about this paragraph, while I am also keen of getting know-how.
I pay a quick visit each day a few sites and blogs to read articles, however this website presents feature based content.
I was recommended this website by my cousin. I am not sure whether this post is written by him as nobody else know such detailed about my trouble. You are incredible! Thanks!
Informative article, exactly what I wanted to find.
Another thing I have noticed is the fact that for many people, below-average credit is the consequence of circumstances above their control. For instance they may be really saddled with illness and because of this they have excessive bills going to collections. It could be due to a work loss or even the inability to do the job. Sometimes separation and divorce can really send the money in a downward direction. Many thanks for sharing your opinions on this blog.
Keep functioning ,terrific job!
I know this website offers quality depending articles and additional data, is there any other web page which presents such stuff in quality?
No one can deny from the feature of this video posted at this site, nice work, keep it all the time.
Hi. I discovered your blog using yahoo. This is a very well crafted document. We'll make sure to book mark that and resume study additional associated with Affordable Industrial Automobile insurance Will save you on your own Premiums | Business Vehicle insurance. Many thanks for the post. I am going to undoubtedly return.
I wish more writers took the time and care that you definitely take to develop such high excellent content. Nicely done.
Do you have a spam problem on this blog; I also am a blogger, and I was curious about your situation; many of us have developed some nice practices and we are looking to trade strategies with other folks, please shoot me an email if interested.
Wow! Thank you! I constantly wanted to write on my blog something like that. Can I include a portion of your post to my website?
I'd like to find out more? I'd like to find out more details.
I do love the manner in which you have presented this specific issue plus it really does supply us a lot of fodder for thought. On the other hand, because of everything that I have witnessed, I basically wish as the feedback stack on that people remain on issue and in no way start upon a soap box of the news of the day. Anyway, thank you for this superb point and while I can not necessarily go along with this in totality, I respect your standpoint.
You should take part in a contest for one of the best blogs on the web. I will recommend this site!
The root of your writing whilst sounding reasonable originally, did not settle perfectly with me after some time. Somewhere within the paragraphs you actually managed to make me a believer unfortunately just for a while. I nevertheless have got a problem with your leaps in assumptions and one would do well to fill in all those gaps. In the event you actually can accomplish that, I could undoubtedly end up being amazed.
Very nice post. I just stumbled upon your weblog and wanted to say that I have truly enjoyed surfing around your blog posts. In any case I will be subscribing to your rss feed and I hope you write again soon!
Thanks a lot for the helpful write-up. It is also my belief that mesothelioma has an really long latency phase, which means that symptoms of the disease would possibly not emerge right until 30 to 50 years after the original exposure to mesothelioma. Pleural mesothelioma, and that is the most common sort and affects the area about the lungs, could potentially cause shortness of breath, chest pains, and a persistent cough, which may cause coughing up bloodstream.
Thank you a lot for sharing this with all of us you really recognize what you're speaking about! Bookmarked. Kindly also visit my website =). We can have a hyperlink alternate agreement between us!
When I saw this site having amazing featured YouTube video tutorials, I decided to watch out these all video lessons.
I loved as much as you will receive carried out right here. The sketch is tasteful, your authored material stylish. nonetheless, you command get bought an edginess over that you wish be delivering the following. unwell unquestionably come further formerly again as exactly the same nearly very often inside case you shield this increase.
Thanks for a tremendous post, may examine one's others content. i appreciate your ideas on this, I experienced a bit made an impact to by this short article. Many thanks again! You earn a good point. Displays the beauty through excellent facts here. I feel if a greater number of people thought of it doing this, they'd have a very better moment in time have the suspend ofing the issue.
Nice blog here! Also your website loads up fast! What host are you using? Can I get your affiliate link to your host? I wish my site loaded up as fast as yours lol
Great goods from you, man. I have understand your stuff previous to and you are just extremely great. I really like what you have acquired here, really like what you are saying and the way in which you say it. You make it entertaining and you still care for to keep it sensible. I can not wait to read far more from you. This is really a terrific site.
Hello, i think that i saw you visited my weblog thus i came to “return the favorâ€.I am attempting to find things to enhance my website!I suppose its ok to use some of your ideas!!
Wonderful goods from you, man. I have understand your stuff previous to and you're just extremely
hello there and thank you for your information – I have certainly picked up something new from right here. I did however expertise several technical points using this web site, since I experienced to reload the website lots of times previous to I could get it to load correctly. I had been wondering if your web host is OK? Not that I'm complaining, but slow loading instances times will sometimes affect your placement in google and can damage your quality score if advertising and marketing with Adwords. Well I'm adding this RSS to my email and can look out for much more of your respective intriguing content. Ensure that you update this again soon..
Hello there, You have done a fantastic job. I will certainly digg it and personally recommend to my friends. I'm confident they will be benefited from this site.
Magnificent goods from you, man. I've understand your stuff previous to and you are just too magnificent. I really like what you have acquired here, certainly like what you're stating and the way in which you say it. You make it entertaining and you still take care of to keep it smart. I cant wait to read far more from you. This is really a tremendous website.
Its like you read my mind! You seem to know a lot about this, like you wrote the book in it or something. I think that you could do with some pics to drive the message home a bit, but other than that, this is wonderful blog. A great read. I will definitely be back.
Hello, i think that i saw you visited my web site thus i came to “return the favorâ€.I'm attempting to find things to improve my web site!I suppose its ok to use some of your ideas!!
Thank you for the auspicious writeup. It in fact was a amusement account it. Look advanced to more added agreeable from you! By the way, how could we communicate?
Excellent goods from you, man. I have understand your stuff previous to and you are just too magnificent. I actually like what you've acquired here, really like what you're saying and the way in which you say it. You make it entertaining and you still care for to keep it smart. I can not wait to read far more from you. This is really a tremendous web site.
http://tinyurl.com/7oznq26
Very great post. I simply stumbled upon your blog and wished to mention that I have really enjoyed browsing your blog posts. After all I’ll be subscribing for your rss feed and I hope you write once more very soon!
Hello, I think that I saw you visited my weblog so I came to “return the favorâ€.I am attempting to find things to enhance my website!I suppose its ok to use a few of your ideas!!
Hi there, You have done an incredible job. I’ll definitely digg it and personally recommend to my friends. I am confident they will be benefited from this website.
I'm really impressed with your writing skills and also with the layout on your weblog. Is this a paid theme or did you customize it yourself? Either way keep up the excellent quality writing, it is rare to see a nice blog like this one today..
Nice post. I was checking continuously this blog and I'm impressed! Very useful info specifically the last part :) I care for such info much. I was seeking this certain info for a very long time. Thank you and good luck.
I am really impressed with your writing skills as well as with the layout on your weblog. Is this a paid theme or did you modify it yourself? Either way keep up the nice quality writing, it’s rare to see a nice blog like this one today..
I have been surfing online more than three hours today, yet I never found any interesting article like yours. It’s pretty worth enough for me. Personally, if all webmasters and bloggers made good content as you did, the web will be much more useful than ever before.
I like the valuable information you provide in your articles. I will bookmark your weblog and check again here regularly. I am quite sure I'll learn plenty of new stuff right here! Best of luck for the next!
Hey there, You have done an excellent job. I’ll certainly digg it and personally suggest to my friends. I am sure they will be benefited from this web site.
Hello there, just became alert to your blog through Google, and found that it is truly informative. I’m going to watch out for brussels. I’ll be grateful if you continue this in future. Lots of people will be benefited from your writing. Cheers!