Sorry for top posting - iPhone^^.

Robyn, just something I've noticed: is there a reason that you're using an 
ActivePerl instead the system Perl (or one brewed with perlbrew)?

I think some other modules are out of date, too. You could update all your 
modules, if you don't have to rely on some specific versions (see cpanm docs, 
cannot search for the correct command atm), or try to update one by one (here: 
update Class::Load).

Just my thoughts.

Matthias

-- 
   
Sent from my iPhone so expect spelling errors and stuff.

rainboxx Matthias Dietrich
Freelance Software Engineer

rainboxx
Königsallee 43
71638 Ludwigsburg
+4915150607864

Vist: http://www.rainboxx.de

Am 23.03.2012 um 23:12 schrieb Robyn Jonahs <[email protected]>:

> So Moose said that it was all updated yet it did not have the command line 
> file moose-outdated until I ran the cpanm Moose command (sudo if required) 
> Also, following the Moose intro in the "Definitive Guide to Catalyst" I did 
> not have module-starter until I ran cpanm Module::Starter. But I still get 
> the same error
> 
> CrashCOurse-Point$ perl -Ilib t/00-load.t 
> not ok 1 - use CrashCOurse::Point;
> #   Failed test 'use CrashCOurse::Point;'
> #   at t/00-load.t line 6.
> #     Tried to use 'CrashCOurse::Point'.
> #     Error:  "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 lib/CrashCOurse/Point.pm line 2.
> # BEGIN failed--compilation aborted at lib/CrashCOurse/Point.pm line 2.
> # Compilation failed in require at (eval 4) line 2.
> # BEGIN failed--compilation aborted at (eval 4) line 2.
> Bail out!
> # Testing CrashCOurse::Point , Perl 5.012003, perl
> Can't locate object method "new" via package "CrashCOurse::Point" at 
> t/00-load.t line 11.
> 1..1
> # Looks like you failed 1 test of 1.
> # Looks like your test exited with 255 just after 1.
> 
> I am out of ideas for where to find the problem.
> 
> 
> On Fri, Mar 23, 2012 at 2:52 PM, Robyn Jonahs <[email protected]> 
> wrote:
> On Fri, Mar 23, 2012 at 2:25 PM, Matthias Dietrich <[email protected]> wrote:
> 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önigsallee 43               |  Mobil: +49  151 / 50 60 78 64
> 71638 Ludwigsburg            |  WWW  :  http://www.rainboxx.de
> 
> 
> 
> 
> 
> _______________________________________________
> List: [email protected]
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/[email protected]/
> 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.
> 
> _______________________________________________
> List: [email protected]
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/[email protected]/
> Dev site: http://dev.catalyst.perl.org/
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to