[Catalyst] how to get started?

Carl Franks fireartist at gmail.com
Mon Aug 21 11:28:07 CEST 2006

On 21/08/06, burninbruce at yahoo.com <burninbruce at yahoo.com> wrote:
> I've been trying for days to install Catalyst and haven't gotten
> far.  I've tried both "perl -MCPAN 'install Task::Catalyst'" and
> cat-install and they both fail with many errors in various
> prerequisite modules.  I've tried this on Sun Solaris, NetBSD,
> and Cygwin, and they fail in similar ways on all three.

If you post the error messages you get to this list, I'm sure someone
will be able to help.

Have you made sure CPAN.pm is configured properly?
If you get an error with a prereq module, try restarting CPAN and
installing just that module. Sometimes that works, and if not, at
least the error messages will be clearer.

> Here's my request: would someone please build a greatly expanded
> version of CatInABox that would include all the modules
> referenced in the Catalyst Tutorial and the other Catalyst
> examples, and all their recursive prerequisites, and put it up
> for people to download?
> In fact, please also include any other modules you can think of
> that might naturally be used with Catalyst.  I don't care if
> this turns into 1GB of perl modules (who doesn't have 100GB of
> space these days anyway), but I really don't look forward to
> having things fail again every time I try to add a module from
> CPAN and it requires Tree::Simple or something else that won't
> install for whatever reason.
> My hope: download the archive, extract it, setenv PERL5LIB to
> reference the extracted directory, and then be able to run the
> whole Catalyst Tutorial with no further ado.  Is that so much
> to ask?

Unfortunately, yes.
Many modules, particularly DBI / DBD::SQLite, include C code which
needs to be compiled on the target machine.
If you read the README in CatInABox, you'll see even that includes an
old version of HTML::Parser, as newer versions are XS (C code).

More information about the Catalyst mailing list