Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Failed test on make test CPAN-2.00-please advise

by johnguillory (Initiate)
on Apr 09, 2014 at 15:06 UTC ( #1081664=perlquestion: print w/replies, xml ) Need Help??
johnguillory has asked for the wisdom of the Perl Monks concerning the following question:

After crying uncle on installing prerequisites I learned of cpan! However, it fails "make test". I'd appreciate any advice. I also tried "cpan -i CPAN" and that failed please see bottom. Thanks, John
perl -v: This is perl, v5.8.8 built for aix" perl Makefile.PL: Generating a Unix-style Makefile Writing Makefile for CPAN Writing MYMETA.yml and MYMETA.json make test: ------------snip---------- # Failed test 'cmd[force test CPAN::Test::Dummy::Perl5::Make]' # in t/31sessions.t at line 503. # 'Running test for module 'CPAN::Test::Dummy::Perl5 +::Make' ---------------snip-------------- # Failed test 'cmd[test CPAN::Test::Dummy::Perl5::Make]' # in t/31sessions.t at line 503. # 'Could not read metadata file. Falling back to oth +er methods to determine prerequisites -------------snip------------------ t/31sessions.............79/82 # Looks like you failed 3 tests of 82. t/31sessions............. Dubious, test returned 3 (wstat 768, 0x300) Failed 3/82 subtests ------------snip----------------- Test Summary Report ------------------- t/31sessions.t (Wstat: 768 Tests: 82 Failed: 3) Failed tests: 3, 7-8 Non-zero exit status: 3 Files=21, Tests=436, 71 wallclock secs ( 0.25 usr 0.04 sys + 47.67 cu +sr 7.11 csys = 55.07 CPU) Result: FAIL Failed 1/21 test programs. 3/436 subtests failed. make: *** [test_dynamic] Error 255
THen I tried "cpan -i CPAN", and got this error:
CPAN: Storable loaded ok Going to read /tmp/sirsi/.cpan/Metadata Database was generated on Wed, 09 Apr 2014 05:53:02 GMT Running install for module CPAN Running make for A/AN/ANDK/CPAN-2.00.tar.gz CPAN: Digest::MD5 loaded ok CPAN: Compress::Zlib loaded ok Checksum for /tmp/sirsi/.cpan/sources/authors/id/A/AN/ANDK/CPAN-2.00.t +ar.gz ok Scanning cache /tmp/sirsi/.cpan/build for sizes CPAN: Archive::Tar loaded ok Compression not available - Install IO::Zlib! at /usr/local/sirsi/lib/ +perl5/5.8.8/ line 5838 No data could be read from file at /usr/local/sirsi/lib/perl5/5.8.8/CP line 5838 Can't call method "list_files" on an undefined value at /usr/local/sir +si/lib/perl5/5.8.8/ line 5858

Replies are listed 'Best First'.
Re: Failed test on make test CPAN-2.00-please advise
by Bloodnok (Vicar) on Apr 09, 2014 at 15:20 UTC
    Your 2nd snippet, suggests that you first need to cpan -i IO::Zlib ... as, indeed, is telling you in its error message.

    A user level that continues to overstate my experience :-))
      Thanks Bloodnok. I had to install manually the one you mention and CPAN-Test-Dummy....
        no probs johnguillory - any time I can, I will. If I can't I might profer an opinion, but no more :-)

        A user level that continues to overstate my experience :-))

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1081664]
Approved by Bloodnok
Front-paged by Bloodnok
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2017-01-18 23:07 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (166 votes). Check out past polls.