Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

In order to run old version Catalsyt, install Module ;and 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,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 dosen't work

Replies are listed 'Best First'.
Re: In order to run old version Catalsyt, install Module ;and dosen't work
by syphilis (Chancellor) 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/ 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.


      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?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1064875]
Approved by parv
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2017-10-19 02:48 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (251 votes). Check out past polls.