Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Perl Package Not In Range

by phildeman (Scribe)
on Apr 23, 2020 at 05:14 UTC ( [id://11115929]=perlquestion: print w/replies, xml ) Need Help??

phildeman has asked for the wisdom of the Perl Monks concerning the following question:

Hi All,

I installed perl package and Catalyst. I have done this so many times I can almost do it my sleep, but I still go by a
check list. However, for this new project, after installing all the Perl packages, with no failures, I ran into an issue trying
to start the services.

The logs indicate that it can't locate Moose.pm. So, try installing Moose using cpanm, as I do with other Perl packages,
except it bails out on installation. It states:

Installing the dependencies failed: Installed version (0.009) of CPAN::Meta::Check is not in range '0.011',
Installed version (1.41) of List::Util is not in range '1.45',
Installed version (0.002) of Devel::OverloadInfo is not in range '0.005',
Installed version (2.00) of Devel::StackTrace is not in range '2.03',
Installed version (0.12) of Sub::Name is not in range '0.20',
Installed version (0.001) of Module::Runtime::Conflicts is not in range '0.002'

Has anyone encounter this issue before? Were you able to resolve it? If yes, can you help me with this issue?

Also note, I use local::lib to install the Perl Packages into my application directory.

Thanks!

Replies are listed 'Best First'.
Re: Perl Package Not In Range
by swl (Parson) on Apr 23, 2020 at 05:33 UTC

    Are you using the perl binary you expect?

    # assuming you are on *nix perl -V which -a perl
Re: Perl Package Not In Range
by marto (Cardinal) on Apr 23, 2020 at 07:59 UTC

    Can you post the output of cpanm -vvv Moose, did you specify -l or --local-lib or if you rely on environment variables are they still set? Are you sure you have a working c compiler available on this system?

Re: Perl Package Not In Range
by haj (Vicar) on Apr 23, 2020 at 21:33 UTC

    The following two points raise a suspicion:

    I have done this so many times I can almost do it my sleep
    Also note, I use local::lib to install the Perl Packages into my application directory.

    If you have installed or are running a new version of Perl on a system where Perl packages reside in your application directory, then this application directory might contain outdated stuff. Try upgrading the modules in your application directories. Modules with XS components might need to be re-installed anyway - since they need to link to the current version of Perl.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-26 00:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found