Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

In order to run old version Catalsyt, install Module ;and catalyst.pl dosen't work

by Thai Heng (Beadle)
on Nov 28, 2013 at 22:51 UTC ( #1064875=perlquestion: print w/ replies, xml ) Need Help??
Thai Heng has asked for the wisdom of the Perl Monks concerning the following question:

I am using Ubuntu server 12.04 and install Catalyst::Devel and Catalyst::Runtime. In my opinion, this will work fine. I have learned this framework for a long time, but this time I don't test. I download a example catalyst app named goft using catalyst 5.7.In order to running this example, I install some module. The goft can't run, and When I using catalyst.pl,somethine is wrong. I reinstall Catalyst::Help, and reinstall Catalyst::Devel, does not respond。

my pad :my scratchpad

Comment on In order to run old version Catalsyt, install Module ;and catalyst.pl dosen't work
Re: In order to run old version Catalsyt, install Module ;and catalyst.pl dosen't work
by syphilis (Canon) on Nov 29, 2013 at 01:05 UTC
    From your scratchpad:

    Undefined subroutine &main::main:: called at /usr/local/share/perl/5.14.2/YAML/Mo.pm line 5.

    That would seem to be the trouble. I'd probably start by cd'ing to the File-ShareDir-Install-0.05 build directory, running 'dmake realclean', 'perl Makefile.PL', 'make test' and 'sudo make install'.
    If any of those commands result in the same "Undefined subroutine..." warning/error and prevent the successful running of 'sudo make install', then it's time to take a look at at YAML. What version of YAML do you have ? Is there a later version you can try ?

    Once you get File-ShareDir-Install installed, try re-running your original cpanm command and see what happens.

    UPDATE: File-ShareDir-Install-0.05 builds, tests and installs ok for me on Windows. There's some noise about not being able to remove various tlib\lib\auto\share\module\ directories, but that's nothing to worry about.

    Cheers,
    Rob

      There was a new release of the YAML module a few days ago addressing this problem.

      use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name
        I reinstall YAML, all goes well.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1064875]
Approved by parv
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2014-08-21 06:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (128 votes), past polls