続いて、CentOS5環境でCatalystを動かしたいので、本来Fedora Core6向けのworepoを利用。当然自己責任。FedoraとRHELではreleaseverがずれるので、worepo-releaseを入れた後に/etc/yum.repo.d/wo.repoを書き換える必要があります。
というわけで、yum install perl-Catalystするとこんな感じになります。
============================================================================= Package Arch Version Repository Size ============================================================================= Installing: perl-Catalyst-Runtime noarch 5.70.06-0.1.fc6worepo worepo 192 k Installing for dependencies: perl-AppConfig noarch 1.64-1.el5.rf rpmforge 89 k perl-CGI-Simple noarch 0.080-1.el5.rf rpmforge 104 k perl-Class-Accessor noarch 0.30-1.el5.rf rpmforge 24 k perl-Class-Data-Inheritable noarch 0.06-1.el5.rf rpmforge 8.4 k perl-Class-Inspector noarch 1.16-1.el5.rf rpmforge 17 k perl-Compress-Zlib i386 1.42-1.fc6 base 52 k perl-Data-Dump noarch 1.08-1.el5.rf rpmforge 12 k perl-Data-Visitor noarch 0.05-0.1.fc6worepo worepo 13 k perl-File-Copy-Recursive noarch 0.31-1.el5.rf rpmforge 19 k perl-File-HomeDir noarch 0.64-1.el5.rf rpmforge 33 k perl-File-Modified noarch 0.07-1.2.el5.rf rpmforge 12 k perl-HTML-Parser i386 3.55-1.fc6 base 92 k perl-HTML-Tagset noarch 3.10-2.1.1 base 15 k perl-HTTP-Body noarch 0.9-1.el5.rf rpmforge 17 k perl-HTTP-Request-AsCGI noarch 0.5-1.el5.rf rpmforge 10 k perl-MIME-Types noarch 1.19-1.el5.rf rpmforge 28 k perl-Module-Build noarch 0.2806-2.el5.rf rpmforge 236 k perl-Module-Install noarch 0.64-1.el5.rf rpmforge 126 k perl-Module-Pluggable noarch 3.6-1.el5.rf rpmforge 23 k perl-Module-Pluggable-Fast noarch 0.18-1.2.el5.rf rpmforge 7.9 k perl-Path-Class noarch 0.16-1.el5.rf rpmforge 33 k perl-Pod-POM noarch 0.17-1.2.el5.rf rpmforge 56 k perl-Spiffy noarch 0.30-1.el5.rf rpmforge 27 k perl-Template-Toolkit i386 2.15-1.el5.rf rpmforge 1.2 M perl-Test-Base noarch 0.53-1.el5.rf rpmforge 45 k perl-Text-Autoformat noarch 1.13-1.2.el5.rf rpmforge 28 k perl-Text-Reform noarch 1.11-1.2.el5.rf rpmforge 34 k perl-Text-SimpleTable noarch 0.03-1.el5.rf rpmforge 7.6 k perl-Tree-Simple noarch 1.17-1.el5.rf rpmforge 40 k perl-Tree-Simple-VisitorFactory noarch 0.10-1.2.el5.rf rpmforge 86 k perl-UNIVERSAL-require noarch 0.11-1.el5.rf rpmforge 9.9 k perl-URI noarch 1.35-3 base 116 k perl-YAML noarch 0.62-1.el5.rf rpmforge 85 k perl-libwww-perl noarch 5.805-1.1.1 base 376 k Transaction Summary ============================================================================= Install 35 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 3.2 M
同じような感じで、perl-Task-Catalyst とかも入れようとしたけど、どうも Class::C3 がうまくないみたいなので、cpan2rpm で最新版の Class::C3、Class::C3::XS を入れてOK。perl-DBIx-Class-Schema-Loaderの依存をたどるとXのライブラリ群がごっそり入るのも風流かな。フロント側は、あとはWebサーバをあげればOK。