Might want to check the use line for it in the Makefile.PL -
inc::Module::Install won't do it I'm pretty sure.. have to use lib 'inc'
then use Module::Install
--> Working on
REST::Client
[96/262]
Fetching
http://www.cpan.org/authors/id/K/KK/KKANE/REST-Client-273.tar.gz
-> OK
Unpacking REST-Client-273.tar.gz
Entering REST-Client-273
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes
(7.10_02) Configuring
REST-Client-273
Running
Makefile.PL
Can't locate inc/Module/Install.pm in @INC (you may need to install the
inc::Module::Install module) (@INC contains:
/home/mark/perl5/lib/perl5/5.24.1/x86_64-linux-gnu-thread-multi
/home/mark/perl5/lib/perl5/5.24.1
/home/mark/perl5/lib/perl5/x86_64-linux-gnu-thread-multi
/home/mark/perl5/lib/perl5 /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1
/usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at
Makefile.PL line
1.
BEGIN failed--compilation aborted at Makefile.PL line 1.
-> N/A
-> FAIL Configure failed for REST-Client-273. See
/home/mark/.cpanm/work/1498603052.5546/build.log for details.
On Tue, Jun 27, 2017 at 7:58 PM Karen Etheridge via RT <
bug-REST-Client@rt.cpan.org> wrote:
Show quoted text> <URL:
https://rt.cpan.org/Ticket/Display.html?id=122263 >
>
> On 2017-06-27 19:17:42, seatek@gmail.com wrote:
> > Just a FYI - I've been experiencing failed installs of REST::Client using
> > "cpanm" where the dependency on Module::Install is not downloading and
> > installing first.
> >
> > Perhaps adding it to the Makefile.PL file?
>
> MI is being run from the inc/ directory - it is not meant to be installed
> from cpan for user installations of the distribution.
>
> Can you provide the output of your build?
>