Help with install from CPAN



Finally decided to have another go wirh 5.14.2 on OS/2.

As usual it is a binary port but I have it installed in the same
environment as it was built. Little things work but I cannot get it to
install anything. It chugs along happily until it gets to the test
portion and then fails with every single test saying "no subtests
run". Here is a log:

CPAN.pm: Going to build T/TO/TOKUHIROM/Test-Requires-0.06.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Test::Requires
Writing MYMETA.yml
cp lib/Test/Requires.pm blib/lib/Test/Requires.pm
TOKUHIROM/Test-Requires-0.06.tar.gz
make.exe -- OK
'YAML' not installed, will not store persistent state
Running make test
U:/PERL5/BIN/PERL.EXE "-MExtUtils::Command::MM" "-e" "test_harness(0,
'inc', 'blib/lib', 'blib/arch')" t/*.t
t/00_compile.t .........
No subtests run
t/01_simple.t ..........
No subtests run
t/02_no_plan.t .........
No subtests run
t/03_import_hashref.t ..
No subtests run
t/04_import_array.t ....
No subtests run
t/05_success.t .........
No subtests run

I have modified the first test to dump @INC and the paths are correct
with the blibs* ahead of the standard @INC contents

use strict;
use Test::More tests => 1;

#BEGIN { use_ok 'Test::Requires' }
open LOG, ">t:/tmp/stuff";
foreach (@INC)
{
print LOG "$_\n";
}

And invoking as above it does not write the log but if I comment out
the use Test::More line as well then it does log a correct @INC. .

BTW why does the cpan module download a fresh copy of the module every
time you try and install it?
--
Regards
Dave Saville
.



Relevant Pages

  • Net::DNS::TestNS build errors: Net::DNS::Header::data: no such method
    ... Failed 17/23 subtests ... Parse errors: Bad plan. ... Running make install ...
    (comp.lang.perl.modules)
  • Re: Help with install from CPAN
    ... Running install for module 'Module::Build' ... Creating new 'Build' script for 'Module-Build' version '0.40' ... Failed 3/9 subtests ... Test Summary Report ...
    (comp.lang.perl.misc)
  • Re: Help with install from CPAN
    ... environment as it was built. ... portion and then fails with every single test saying "no subtests ... time you try and install it? ...
    (comp.lang.perl.misc)
  • Re: Help with install from CPAN
    ... portion and then fails with every single test saying "no subtests ... If it doesn't write the log at all then presumably it hits a fatal error ... what module you try and install the tests fail the same way. ...
    (comp.lang.perl.misc)