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