Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Downloading a module

by LloydRice (Beadle)
on Aug 30, 2020 at 11:38 UTC ( [id://11121194]=perlquestion: print w/replies, xml ) Need Help??

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

I am trying to install a model called "Imager". The cpanm site provides much info on the package, including that the package has recently been upgraded. I downloaded a tar.gz and also unzipped that to get the .tar. However, I first tried loading it directly from cpanm:

cpanm Module::Imager | Finding Module::Imager on cpanmetadb failed. | Finding Module::Imager () on mirror http://www.cpan.org failed. | Couldn't find module or a distribution Module::Imager

Next, I tried installing from the local copy I had downloaded: The online writeup at Strawberry says that I should try this:

perl Makefile.pl --libpath=c:\downloads\perl\imager\Imager=1.012.tar.g +z

Perl says it cannot find an executable called "Makefile.pl". I looked around and found the following ...

\Strawberry\perl\vendor\lib\Mojolicious\Command\generate\makefile.pm

Is this the same thing? Should I try to run that directly? What am I doing wrong?

Replies are listed 'Best First'.
Re: Downloading a module
by toolic (Bishop) on Aug 30, 2020 at 12:00 UTC
    To install the Imager module, you should not use the Module:: prefix. Simply use:
    cpanm Imager
Re: Downloading a module
by Athanasius (Archbishop) on Aug 30, 2020 at 12:23 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-18 01:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found