[Catalyst] how to get started?

Steve Atkins steve at blighty.com
Mon Aug 21 17:12:33 CEST 2006


On Aug 21, 2006, at 2:47 AM, Thomas Hartman wrote:

> Since the "dependency hell" issue has been raised again, I'd like  
> to ask,
>
> who'se using cpan? and who'se using cpan plus?

CPAN. And I've never been able to install Catalyst without
lots of manual installs of prerequisites, careful watching of
the install for errors that are ignored, but which break
everything, and doing the install multiple times until
everything is actually installed.

It's doable, but there's something deeply broken in the
prerequisite handling. If you just do an "install Task::Catalyst"
then Task::Catalyst will be installed, but most of the prerequisites
(such as, say, Catalyst) aren't, as something in the install
errored out (usually due to a missing required package).

Cheers,
   Steve

>
> Can anyone comment on the relative merits?
>
> FWIW, I'm currently struggling to install SQL::Translator, which is  
> a requirement for DBIx::Class::DigestColumns.
>
> Having trouble with just cpan, and was suggested to use cpan plus.
>
> 2006/8/21, Carl Franks <fireartist at gmail.com>: 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).
>
> _______________________________________________
> List: Catalyst at lists.rawmode.org
> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/ 
> catalyst at lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/
>
> _______________________________________________
> List: Catalyst at lists.rawmode.org
> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/ 
> catalyst at lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/




More information about the Catalyst mailing list