[Catalyst] how to get started?

Afonov, Max Max.Afonov at mlb.com
Mon Aug 21 13:59:52 CEST 2006


I understand how frustrating CPAN installs can sometimes be. However, I (and, I'm sure, a whole lot of others) believe that CPAN is a part of the Perl culture, and the ability to install any kind of module is a valuable skill. As a matter of fact, I always make sure a job applicant is familiar with CPAN and can at least seem to be able to solve various problems that may come up during an installation of a module. Those include, but are not limited to, external non-Perl dependencies, modules that fail to install on a certain system, etc.

As much as it may be considered a job for sysadmins, CPAN installations are a fact of everyday life. Trust me, if you install Catalyst and all of its dependencies once, the next time is going to be that much easier. In addition, you get to know exactly what the Catalyst team have used to build this terrific framework, and perhaps leverage those same modules in your future software.

-----Original Message-----
From: catalyst-bounces at lists.rawmode.org on behalf of burninbruce at yahoo.com
Sent: Mon 8/21/2006 5:03 AM
To: catalyst at lists.rawmode.org
Subject: [Catalyst] how to get started?
I'm a programmer with many years experience with perl and some
with CGI scripts but little with CPAN and none with web app

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.

I've tried CatInABox and started going through the Catalyst
Tutorial, and that works, up to running myapp_server.pl and
accessing it from my web browser, or accessing myapp_cgi.pl.
This was a little encouraging, but CatInABox doesn't include
DBIx::Class, and when I try installing that, it also fails
with errors in prerequisites, so I can't get any farther than
the middle of part 2 of the tutorial.

I've searched at vmware.com for the prebuilt VMWare image that
supposedly exists for Catalyst but haven't been able to find
it, and for some reason there's no link to it in the Catalyst
documentation where it's mentioned.  But running this inside a
VM seems excessively convoluted, so I hope there's another way.

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?

List: Catalyst at lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/

MLB.com: Where Baseball is Always On

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20060821/d8fd2fb4/attachment.htm 

More information about the Catalyst mailing list