Skip Menu |

This queue is for tickets about the REST-Client CPAN distribution.

Report information
The Basics
Id: 122263
Status: open
Priority: 0/
Queue: REST-Client

People
Owner: Nobody in particular
Requestors: seatek [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Module::Install dependency
Date: Wed, 28 Jun 2017 02:17:18 +0000
To: bug-REST-Client [...] rt.cpan.org
From: Mark Rushing <seatek [...] gmail.com>
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?
On 2017-06-27 19:17:42, seatek@gmail.com wrote: Show quoted text
> 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?
Subject: Re: [rt.cpan.org #122263] Module::Install dependency
Date: Wed, 28 Jun 2017 03:09:38 +0000
To: bug-REST-Client [...] rt.cpan.org
From: Mark Rushing <seatek [...] gmail.com>
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? >
On 2017-06-27 20:09:58, seatek@gmail.com wrote: Show quoted text
> 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
I see you're using perl 5.24.1 -- is that on debian? Debian has applied the 5.26 changes to remove '.' from @INC into their 5.24 build as well I believe. The easy solution to that is indeed `use lib 'inc';` but the better (but more time-consuming) solution is to move off of Module::Install entirely. I see this was already reported in https://rt.cpan.org/Ticket/Display.html?id=120854.
Subject: Re: [rt.cpan.org #122263] Module::Install dependency
Date: Wed, 28 Jun 2017 04:57:42 +0000
To: bug-REST-Client [...] rt.cpan.org
From: Mark Rushing <seatek [...] gmail.com>
Yes, that's right! I remember hearing about that now. First time I've been bit by it. It works fine if Module:: Install is already installed somewhere on your system in the path. That's probably why more people haven't said anything. Thanks Karen! Mark On Tue, Jun 27, 2017, 21:47 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 20:09:58, seatek@gmail.com wrote:
> > 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
> > I see you're using perl 5.24.1 -- is that on debian? Debian has applied > the 5.26 changes to remove '.' from @INC into their 5.24 build as well I > believe. > > The easy solution to that is indeed `use lib 'inc';` but the better (but > more time-consuming) solution is to move off of Module::Install entirely. > > I see this was already reported in > https://rt.cpan.org/Ticket/Display.html?id=120854. >