Skip Menu |

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

Report information
The Basics
Id: 110380
Status: rejected
Priority: 0/
Queue: REST-Client

People
Owner: KKANE [...] cpan.org
Requestors: SBenn [...] wakemed.org
Cc:
AdminCc:

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



Subject: problem in installing Rest-Client
Date: Wed, 16 Dec 2015 20:10:16 +0000
To: "bug-REST-Client [...] rt.cpan.org" <bug-REST-Client [...] rt.cpan.org>
From: STEVE BENN <SBenn [...] wakemed.org>
I am installing on a AIX/UNIX platform. Note that HTTP/Server/Simple is noted below in red as an issue. Why doesn't the make test have "Fail" in the Result? Currently it shows Pass. Note I am not able to install HTTP::SERVER::SIMPLE as it errors in the "make test" with fails compilation.. Below is the results of the make perl Makefile.PL Generating a Unix-style Makefile Writing Makefile for REST::Client Writing MYMETA.yml and MYMETA.json make Skip blib/lib/REST/Client.pm (unchanged) Manifying 1 pod document make test PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/basic.t .. 1/? # Won't run tests because: Attempt to reload HTTP/Server/Simple.pm aborted. # Compilation failed in require at t/basic.t line 12. Use of uninitialized value in string eq at /usr/opt/perl5/lib/5.10.1/Test/More.pm line 1298. skip() needs to know $how_many tests are in the block at t/basic.t line 21 t/basic.t .. ok All tests successful. Files=1, Tests=1, 0 wallclock secs ( 0.01 usr 0.00 sys + 0.02 cusr 0.00 csys = 0.03 CPU) Result: PASS Target "test" is up to date. make install Manifying 1 pod document Appending installation info to /usr/opt/perl5/lib/5.10.1/aix-thread-multi/perllocal.pod
Subject: Re: [rt.cpan.org #110380] problem in installing Rest-Client
Date: Wed, 16 Dec 2015 15:38:04 -0500
To: bug-REST-Client [...] rt.cpan.org
From: "Kevin L. Kane" <kevin.kane [...] gmail.com>
Hi Steve, HTTP::Server::Simple is just required to run the test suite but its not actually required to use REST::Client in practice so the assumption is made that if HTTP::Server::Simple is not installed skip the tests register a pass and allow you to continue on with the install as it would be somewhat rude to make you install HTTP::Server::Simple as a dependency when its only used to conduct tests. So in other words this is working as intended. Thanks, -Kevin On Wed, Dec 16, 2015 at 3:11 PM, STEVE BENN via RT < bug-REST-Client@rt.cpan.org> wrote: Show quoted text
> Wed Dec 16 15:10:45 2015: Request 110380 was acted upon. > Transaction: Ticket created by SBenn@wakemed.org > Queue: REST-Client > Subject: problem in installing Rest-Client > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: SBenn@wakemed.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=110380 > > > > I am installing on a AIX/UNIX platform. Note that HTTP/Server/Simple is > noted below in red as an issue. > Why doesn't the make test have "Fail" in the Result? Currently it shows > Pass. > > Note I am not able to install HTTP::SERVER::SIMPLE as it errors in the > "make test" with fails compilation.. > > Below is the results of the make > perl Makefile.PL > Generating a Unix-style Makefile > Writing Makefile for REST::Client > Writing MYMETA.yml and MYMETA.json > make > Skip blib/lib/REST/Client.pm (unchanged) > Manifying 1 pod document > make test > PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" > "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, > 'inc', 'blib/lib', 'blib/arch')" t/*.t > t/basic.t .. 1/? # Won't run tests because: Attempt to reload > HTTP/Server/Simple.pm aborted. > # Compilation failed in require at t/basic.t line 12. > Use of uninitialized value in string eq at > /usr/opt/perl5/lib/5.10.1/Test/More.pm line 1298. > skip() needs to know $how_many tests are in the block at t/basic.t line 21 > t/basic.t .. ok > All tests successful. > Files=1, Tests=1, 0 wallclock secs ( 0.01 usr 0.00 sys + 0.02 cusr > 0.00 csys = 0.03 CPU) > Result: PASS > Target "test" is up to date. > make install > Manifying 1 pod document > Appending installation info to > /usr/opt/perl5/lib/5.10.1/aix-thread-multi/perllocal.pod > >
-- Kevin L. Kane kevin.kane at gmail.com
Subject: RE: [rt.cpan.org #110380] problem in installing Rest-Client
Date: Wed, 16 Dec 2015 20:47:43 +0000
To: "bug-REST-Client [...] rt.cpan.org" <bug-REST-Client [...] rt.cpan.org>
From: STEVE BENN <SBenn [...] wakemed.org>
Thanks for the fast reply. I had added a use statement to a test script thinking the install had worked but when the test script could not locate the REST/CLIENT.pm figured something was wrong and the HTTP::Server::Simple was the only thing I could find. My test script: #!/usr/bin/perl64 use REST::CLIENT; use JSON; when running it I get: Can't locate REST/CLIENT.pm in @INC (@INC contains: /usr/opt/perl5/lib64/5.10.1/aix-thread-multi-64all /usr/opt/perl5/lib64/5.10.1 /usr/opt/perl5/lib64/site_perl/5.10.1/aix-thread-multi-64all /usr/opt/perl5/lib64/site_perl/5.10.1 .) at rest3 line 3. BEGIN failed--compilation aborted at rest3 line 3. Show quoted text
-----Original Message----- From: Kevin L. Kane via RT [mailto:bug-REST-Client@rt.cpan.org] Sent: Wednesday, December 16, 2015 3:38 PM To: STEVE BENN Subject: Re: [rt.cpan.org #110380] problem in installing Rest-Client <URL: https://rt.cpan.org/Ticket/Display.html?id=110380 > Hi Steve, HTTP::Server::Simple is just required to run the test suite but its not actually required to use REST::Client in practice so the assumption is made that if HTTP::Server::Simple is not installed skip the tests register a pass and allow you to continue on with the install as it would be somewhat rude to make you install HTTP::Server::Simple as a dependency when its only used to conduct tests. So in other words this is working as intended. Thanks, -Kevin On Wed, Dec 16, 2015 at 3:11 PM, STEVE BENN via RT < bug-REST-Client@rt.cpan.org> wrote:
> Wed Dec 16 15:10:45 2015: Request 110380 was acted upon. > Transaction: Ticket created by SBenn@wakemed.org > Queue: REST-Client > Subject: problem in installing Rest-Client > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: SBenn@wakemed.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=110380 > > > > I am installing on a AIX/UNIX platform. Note that HTTP/Server/Simple > is noted below in red as an issue. > Why doesn't the make test have "Fail" in the Result? Currently it > shows Pass. > > Note I am not able to install HTTP::SERVER::SIMPLE as it errors in the > "make test" with fails compilation.. > > Below is the results of the make > perl Makefile.PL > Generating a Unix-style Makefile > Writing Makefile for REST::Client > Writing MYMETA.yml and MYMETA.json > make > Skip blib/lib/REST/Client.pm (unchanged) Manifying 1 pod document make > test > PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" > "-MTest::Harness" "-e" "undef *Test::Harness::Switches; > test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/basic.t .. > 1/? # Won't run tests because: Attempt to reload HTTP/Server/Simple.pm > aborted. > # Compilation failed in require at t/basic.t line 12. > Use of uninitialized value in string eq at > /usr/opt/perl5/lib/5.10.1/Test/More.pm line 1298. > skip() needs to know $how_many tests are in the block at t/basic.t > line 21 t/basic.t .. ok All tests successful. > Files=1, Tests=1, 0 wallclock secs ( 0.01 usr 0.00 sys + 0.02 cusr > 0.00 csys = 0.03 CPU) > Result: PASS > Target "test" is up to date. > make install > Manifying 1 pod document > Appending installation info to > /usr/opt/perl5/lib/5.10.1/aix-thread-multi/perllocal.pod > >
-- Kevin L. Kane kevin.kane at gmail.com
Subject: Re: [rt.cpan.org #110380] problem in installing Rest-Client
Date: Wed, 16 Dec 2015 16:10:34 -0500
To: bug-REST-Client [...] rt.cpan.org
From: "Kevin L. Kane" <kevin.kane [...] gmail.com>
Case matters here so REST::CLIENT will always fail needs to be REST::Client. -Kevin On Wed, Dec 16, 2015 at 3:48 PM, STEVE BENN via RT < bug-REST-Client@rt.cpan.org> wrote: Show quoted text
> Queue: REST-Client > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=110380 > > > Thanks for the fast reply. I had added a use statement to a test script > thinking the install had worked but when the test script could not locate > the REST/CLIENT.pm figured something was wrong and the HTTP::Server::Simple > was the only thing I could find. > > My test script: > #!/usr/bin/perl64 > > use REST::CLIENT; > use JSON; > > when running it I get: > Can't locate REST/CLIENT.pm in @INC (@INC contains: > /usr/opt/perl5/lib64/5.10.1/aix-thread-multi-64all > /usr/opt/perl5/lib64/5.10.1 > /usr/opt/perl5/lib64/site_perl/5.10.1/aix-thread-multi-64all > /usr/opt/perl5/lib64/site_perl/5.10.1 .) at rest3 line 3. > BEGIN failed--compilation aborted at rest3 line 3. > > -----Original Message----- > From: Kevin L. Kane via RT [mailto:bug-REST-Client@rt.cpan.org] > Sent: Wednesday, December 16, 2015 3:38 PM > To: STEVE BENN > Subject: Re: [rt.cpan.org #110380] problem in installing Rest-Client > > <URL: https://rt.cpan.org/Ticket/Display.html?id=110380 > > > Hi Steve, > HTTP::Server::Simple is just required to run the test suite but its > not actually required to use REST::Client in practice so the assumption is > made that if HTTP::Server::Simple is not installed skip the tests register > a pass and allow you to continue on with the install as it would be > somewhat rude to make you install HTTP::Server::Simple as a dependency when > its only used to conduct tests. So in other words this is working as > intended. > > Thanks, > -Kevin > > On Wed, Dec 16, 2015 at 3:11 PM, STEVE BENN via RT < > bug-REST-Client@rt.cpan.org> wrote: >
> > Wed Dec 16 15:10:45 2015: Request 110380 was acted upon. > > Transaction: Ticket created by SBenn@wakemed.org > > Queue: REST-Client > > Subject: problem in installing Rest-Client > > Broken in: (no value) > > Severity: (no value) > > Owner: Nobody > > Requestors: SBenn@wakemed.org > > Status: new > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=110380 > > > > > > > I am installing on a AIX/UNIX platform. Note that HTTP/Server/Simple > > is noted below in red as an issue. > > Why doesn't the make test have "Fail" in the Result? Currently it > > shows Pass. > > > > Note I am not able to install HTTP::SERVER::SIMPLE as it errors in the > > "make test" with fails compilation.. > > > > Below is the results of the make > > perl Makefile.PL > > Generating a Unix-style Makefile > > Writing Makefile for REST::Client > > Writing MYMETA.yml and MYMETA.json > > make > > Skip blib/lib/REST/Client.pm (unchanged) Manifying 1 pod document make > > test > > PERL_DL_NONLAZY=1 "/usr/bin/perl"
> "-MExtUtils::Command::MM"
> > "-MTest::Harness" "-e" "undef *Test::Harness::Switches; > > test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/basic.t .. > > 1/? # Won't run tests because: Attempt to reload HTTP/Server/Simple.pm > > aborted. > > # Compilation failed in require at t/basic.t line 12. > > Use of uninitialized value in string eq at > > /usr/opt/perl5/lib/5.10.1/Test/More.pm line 1298. > > skip() needs to know $how_many tests are in the block at t/basic.t > > line 21 t/basic.t .. ok All tests successful. > > Files=1, Tests=1, 0 wallclock secs ( 0.01 usr 0.00 sys + 0.02 cusr > > 0.00 csys = 0.03 CPU) > > Result: PASS > > Target "test" is up to date. > > make install > > Manifying 1 pod document > > Appending installation info to > > /usr/opt/perl5/lib/5.10.1/aix-thread-multi/perllocal.pod > > > >
> > > -- > Kevin L. Kane > kevin.kane at gmail.com > > >
-- Kevin L. Kane kevin.kane at gmail.com
Rejecting ticket as problem is typo on user side, working as intended.
Subject: RE: [rt.cpan.org #110380] problem in installing Rest-Client
Date: Thu, 17 Dec 2015 20:08:32 +0000
To: "bug-REST-Client [...] rt.cpan.org" <bug-REST-Client [...] rt.cpan.org>
From: STEVE BENN <SBenn [...] wakemed.org>
Yes that was the issue. I did find another equally embarrassing issue. It installed in /usr/opt/perl5/lib/site_perl/5.10.1/REST/Client.pm The test script was looking in lib64. Most of our perl pm's seem to install in both lib and lib64 or just lib64. Why did Client.pm install just in ./lib ? Is there a way to get it to the lib64? Can I just copy it? Last question I promise ! Thanks for your help and have a great holiday. <<<<<<>>>>>>> Show quoted text
-----Original Message----- From: Kevin L. Kane via RT [mailto:bug-REST-Client@rt.cpan.org] Sent: Thursday, December 17, 2015 12:37 PM To: STEVE BENN Subject: [rt.cpan.org #110380] problem in installing Rest-Client <URL: https://rt.cpan.org/Ticket/Display.html?id=110380 > Rejecting ticket as problem is typo on user side, working as intended.
Subject: Re: [rt.cpan.org #110380] problem in installing Rest-Client
Date: Thu, 17 Dec 2015 15:21:29 -0500
To: bug-REST-Client [...] rt.cpan.org
From: "Kevin L. Kane" <kevin.kane [...] gmail.com>
Hi Steve, Not a problem. So my guess is you have something funky in your environment going on. When you type perl Makefile.PL it configures the build/make environment to utilize whatever lib directorys that the perl binary is configured to use. Is it possible that the perl you are using in your test script is a different perl binary than the one that you install REST::Client with? As a for instance type which perl and see if the binary matches the one that is being called at the top of your script if you are relying on a #! directive to supply the perl binary location. I would not recommend just a copy of the files although that would probably work. Id try to figure out why either your cpan or perl is configured the way it is and make sure you are using the binary you think you want to use in both your application and when you install the libs. I hope this helps and points you in the direction of finding a solution, Kevin On Thu, Dec 17, 2015 at 3:08 PM, STEVE BENN via RT < bug-REST-Client@rt.cpan.org> wrote: Show quoted text
> Queue: REST-Client > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=110380 > > > Yes that was the issue. I did find another equally embarrassing issue. > It installed in /usr/opt/perl5/lib/site_perl/5.10.1/REST/Client.pm > The test script was looking in lib64. Most of our perl pm's seem to > install in both lib and lib64 or just lib64. > > Why did Client.pm install just in ./lib ? Is there a way to get it > to the lib64? Can I just copy it? > > Last question I promise ! Thanks for your help and have a great holiday. > > <<<<<<>>>>>>> > -----Original Message----- > From: Kevin L. Kane via RT [mailto:bug-REST-Client@rt.cpan.org] > Sent: Thursday, December 17, 2015 12:37 PM > To: STEVE BENN > Subject: [rt.cpan.org #110380] problem in installing Rest-Client > > <URL: https://rt.cpan.org/Ticket/Display.html?id=110380 > > > Rejecting ticket as problem is typo on user side, working as intended. > >
-- Kevin L. Kane kevin.kane at gmail.com