[Catalyst] Remove Catalyst and start over?
Robyn Jonahs
learn.catalyst at gmail.com
Fri Mar 23 18:52:23 GMT 2012
On Fri, Mar 23, 2012 at 2:25 PM, Matthias Dietrich <mdietrich at cpan.org>wrot=
e:
> Hi,
>
> Am 23.03.2012 um 19:02 schrieb Robyn Jonahs:
>
> cpan> upgrade Moose::.*
>
>
> try: `upgrade Moose` inside of the CPAN shell.
>
> Instead of using CPAN.pm I recommend using cpanm. Install it by
> copypasting this into your terminal:
>
> curl -L http://cpanmin.us | perl - --sudo App::cpanminus
>
> Then run `cpanm Moose` (prepend "sudo" if you need). It's easier and much
> faster :-).
>
> And because you're new to Perl: don't copy scripts from a module release,
> install the module instead and use the scripts afterwards (except you know
> what you're doing).
>
> Best,
> Matthias
>
> --
> rainboxx Software Engineering
> Matthias Dietrich
>
> rainboxx Matthias Dietrich | Phone: +49 7141 / 2 39 14 71
> K=F6nigsallee 43 | Mobil: +49 151 / 50 60 78 64
> 71638 Ludwigsburg | WWW : http://www.rainboxx.de
>
>
>
>
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>
>
Thanks guys.
CPAN and cpanm both say that Moose is up to date.
cpanm Moose
Moose is up to date. (2.0402)
I also found the location of the catalyst.pl script and made sure that my
PATH saw it. This fixed the problem where I could not call catalyst.pl from
the command line. However I still get these errors when I try to create a
new Catalyst App...
test$ catalyst.pl MyApp
"load_first_existing_class" is not exported by the Class::Load module
Can't continue after import errors at
/usr/local/ActivePerl-5.12/site/lib/Moose/Util.pm line 12
BEGIN failed--compilation aborted at
/usr/local/ActivePerl-5.12/site/lib/Moose/Util.pm line 12.
Compilation failed in require at
/usr/local/ActivePerl-5.12/site/lib/Moose/Meta/Class.pm line 28.
BEGIN failed--compilation aborted at
/usr/local/ActivePerl-5.12/site/lib/Moose/Meta/Class.pm line 28.
Compilation failed in require at
/usr/local/ActivePerl-5.12/site/lib/Moose.pm line 28.
BEGIN failed--compilation aborted at
/usr/local/ActivePerl-5.12/site/lib/Moose.pm line 28.
Compilation failed in require at
/usr/local/ActivePerl-5.12/site/lib/Catalyst/Helper.pm line 2.
BEGIN failed--compilation aborted at
/usr/local/ActivePerl-5.12/site/lib/Catalyst/Helper.pm line 2.
Compilation failed in require at /usr/local/ActivePerl-5.12/site/bin/
catalyst.pl line 26.
BEGIN failed--compilation aborted at /usr/local/ActivePerl-5.12/site/bin/
catalyst.pl line 26.
test$
Any ideas? Is this a path that I am missing to some Moose resource rather
than part of Moose?
temp$ echo $PATH
/usr/local/ActivePerl-5.12/bin:/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin=
:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/texbin:/usr/X11/bin
Thanks again for all the help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20120323/91153=
307/attachment.htm
More information about the Catalyst
mailing list