Arkインストールメモ
typesterさん作のCatalyst風Perlフレームワーク「Ark」が魅力的。ちょっと触ってみたら、CGIでもかなり高速に動作してくれて、気軽に使えそうな素敵フレームワークです。
Text::MicroTemplateの最新版でが使えなくなった関係でテストが通らなくなってたんだけど、TwitterとかWassrでそのこと書いたら対応してくれたよ! typester++
とりあえず現時点での最新版をmake testした結果を貼っておきます。
commit b7f763bf32f95545f032c9eb3929579a0865a9cb Author: Daisuke Murase <typester@cpan.org> Date: Thu Aug 6 15:48:51 2009 +0900 :Args attribute is set as ':Args(0)' as default (Catalyst incompatible)
テストしたのはこれ。環境は、MacBook(Leopard)にMacPortsで入れたperl5.8 @5.8.9_2。
/Users/ryo/projects/ark% make test PERL_DL_NONLAZY=1 /opt/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/001_load.t t/002_action_path.t t/00 3_action_dispatcher.t t/004_forward.t t/005_detach.t t/action_chain.t t/action_class.t t/component_config.t t/detach_action_chain.t t/detach_end.t t/extends _controller.t t/form.t t/lazy_action_loader.t t/lazy_component_loader.t t/load_components.t t/model_adaptor.t t/model_external.t t/path_to.t t/plugin_authen tication.t t/plugin_authentication_cred_password.t t/plugin_authentication_store_dbixclass.t t/plugin_authentication_store_model.t t/plugin_core.t t/plugin_ default.t t/plugin_i18n.t t/plugin_session.t t/plugin_session_model.t t/plugin_unicode.t t/redirect_and_detach.t t/regexp_action.t t/serialize_data.t t/view _mt.t t/view_tt.t t/001_load.t ............................... ok t/002_action_path.t ........................ ok t/003_action_dispatcher.t .................. ok t/004_forward.t ............................ 1/? Useless content call in void context at /Users/ryo/projects/ark/blib/lib/Ark/Test.pm line 96 Useless content call in void context at /Users/ryo/projects/ark/blib/lib/Ark/Test.pm line 96 t/004_forward.t ............................ ok t/005_detach.t ............................. ok t/action_chain.t ........................... ok t/action_class.t ........................... ok t/component_config.t ....................... ok t/detach_action_chain.t .................... ok t/detach_end.t ............................. ok t/extends_controller.t ..................... ok t/form.t ................................... ok t/lazy_action_loader.t ..................... ok t/lazy_component_loader.t .................. ok t/load_components.t ........................ ok t/model_adaptor.t .......................... ok t/model_external.t ......................... ok t/path_to.t ................................ ok t/plugin_authentication.t .................. ok t/plugin_authentication_cred_password.t .... ok t/plugin_authentication_store_dbixclass.t .. ok t/plugin_authentication_store_model.t ...... ok t/plugin_core.t ............................ [error] no action found t/plugin_core.t ............................ ok t/plugin_default.t ......................... 1/? Useless content call in void context at /Users/ryo/projects/ark/blib/lib/Ark/Test.pm line 96 Useless content call in void context at /Users/ryo/projects/ark/blib/lib/Ark/Test.pm line 96 t/plugin_default.t ......................... ok t/plugin_i18n.t ............................ ok t/plugin_session.t ......................... ok t/plugin_session_model.t ................... ok t/plugin_unicode.t ......................... ok t/redirect_and_detach.t .................... ok t/regexp_action.t .......................... ok t/serialize_data.t ......................... ok t/view_mt.t ................................ ok t/view_tt.t ................................ ok All tests successful. Files=33, Tests=186, 11 wallclock secs ( 0.18 usr 0.12 sys + 9.93 cusr 1.58 csys = 11.81 CPU) Result: PASS
テストは全部通ったけど、ちょっと気になる表示も。このへんは問題ないのかな。全然調べてませんごめんなさい。
最初、HTML::Shakanが入ってなくてエラーが出ました。Makefile.PLに足した方がいいのかな。