the following is against OS 10.5 (and I think it was reported to be for 10.6), sort of tested with CentOS 6 too:
Writing Makefile for REST::Client
cp lib/REST/Client.pm blib/lib/REST/Client.pm
Manifying blib/man3/REST::Client.3pm
MCRAWFOR/REST-Client-236.tar.gz
/usr/bin/make -- OK
'YAML' not installed, will not store persistent state
Running make test
PERL_DL_NONLAZY=1 /opt/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/basic.t .. # Won't run tests because: Can't locate HTTP/Server/Simple.pm in @INC (@INC contains: ../lib /Users/wes/.cpan/build/REST-Client-236-dOZJTx/inc
/Users/wes/.cpan/build/REST-Client-236-dOZJTx/blib/lib /Users/wes/.cpan/build/REST-Client-236-dOZJTx/blib/arch /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level
/opt/local/lib/perl5/site_perl/5.12.3 /opt/local/lib/perl5/vendor_perl/5.12.3/darwin-multi-2level /opt/local/lib/perl5/vendor_perl/5.12.3 /opt/local/lib/perl5/5.12.3/darwin-
multi-2level /opt/local/lib/perl5/5.12.3 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at t/basic.t line 13.
t/basic.t .. 1/39
# Failed test 'planned to run 39 but done_testing() expects 40'
# at /opt/local/lib/perl5/5.12.3/Test/More.pm line 221.
# Looks like you planned 39 tests but ran 41.
# Looks like you failed 1 test of 41 run.
t/basic.t .. Dubious, test returned 1 (wstat 256, 0x100)
All 39 subtests passed
(less 40 skipped subtests: -1 okay)
Test Summary Report
-------------------
t/basic.t (Wstat: 256 Tests: 41 Failed: 2)
Failed tests: 40-41
Non-zero exit status: 1
Parse errors: Bad plan. You planned 39 tests but ran 41.
Files=1, Tests=41, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.02 cusr 0.00 csys = 0.05 CPU)
Result: FAIL
Failed 1/1 test programs. 2/41 subtests failed.
make: *** [test_dynamic] Error 1
MCRAWFOR/REST-Client-236.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports MCRAWFOR/REST-Client-236.tar.gz
Running make install
make test had returned bad status, won't install without force
I think either you need to require HTTP::Server... in the Makefile.PL and be done with it, or fix your basic.t magic... :)
thx.