Installing Catalyst
There's a couple of ways to do this. If you're using ActiveState ActivePerl, you should use PPM, otherwise use CPAN.
1. Start the interactive shell. The CPAN shell can be started as follows:
perl -MCPAN -e shell
If you are going to use PPM, you will need to add a new repository as the standard ActivePerl ones are currently unable to build one of Catalyst's prerequisites (so don't have Catalyst at all). To do this, enter the following at the PPM prompt:
rep add "Silver's Repository" http://twpol.dyndns.org:82/ppm/
2. To install Catalyst, the best option is to use the pre-made task - this will automatically install all of Catalyst's core dependancies for you. To do this, enter the following at the CPAN/PPM prompt:
install Task::Catalyst
If, for some reason, CPAN/PPM isn't working you can try the method described at [http://article.gmane.org/gmane.comp.web.catalyst.general/3299]. No guarantees, though.
3. There are a number of other modules needed, all of which should be available in CPAN (and PPM). To do this, enter the following at the CPAN/PPM prompt:
install Catalyst::Plugin::ConfigLoader install Catalyst::Plugin::Email install Catalyst::Plugin::FillInForm install Catalyst::Plugin::FormValidator install Catalyst::Plugin::Static::Simple install Catalyst::Plugin::Textile install Catalyst::View::TT::ForceUTF8 install Data::ICal install Date::ICal install DateTime::Format::Mail install DateTime::Format::MySQL install HTML::FormatText::WithLinks install List::MoreUtils install XML::RSS install String::MkPasswd
Debian
The following packages are in Debian from etch onwards:
libcatalyst-perl libcatalyst-modules-perl libcatalyst-modules-extra-perl libcatalyst-plugin-formvalidator-perl libclass-returnvalue-perl libdate-ical-perl libdatetime-format-mysql-perl libdatetime-format-mail-perl libhtml-format-perl libxml-rss-perl libemail-send-perl libemail-simple-creator-perl libemail-mime-perl libemail-mime-modifier-perl libstring-mkpasswd-perl
The following are in lenny, but not etch:
libdata-ical-perl libemail-mime-creator-perl libtemplate-provider-encoding-perl libtext-textile-perl libtext-vfile-asdata-perl
The following are in unstable, but will not be in lenny:
libhtml-formattext-withlinks-perl
You will need to build packages of the following:
Catalyst::Plugin::Email (should be using Catalyst::View::Email from lenny) Catalyst::Plugin::Textile Catalyst::View::TT::ForceUTF8 (can probably use Template::Provider::Encoding instead?)
You can build Debian packages from CPAN using the dh-make-perl package:
dh-make-perl --build --notest --cpan $PACKAGE
Some packages may fail to build as Module::Depends::Intrusive cannot discover their dependencies. To workaround this, you can specify dependencies manually. For example:
dh-make-perl --build --notest --cpan Catalyst::View::TT::ForceUTF8 --depends libcatalyst-perl
