Help with install from CPAN
- From: "Dave Saville" <dave@xxxxxxxxxxxxxxx>
- Date: Mon, 21 May 2012 10:07:30 +0000 (UTC)
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
.
- Follow-Ups:
- Re: Help with install from CPAN
- From: Seymour J.
- Re: Help with install from CPAN
- From: Ben Morrow
- Re: Help with install from CPAN
- From: Seymour J.
- Re: Help with install from CPAN
- Prev by Date: Re: 'make uninstall' - manual uninstall DBD::Oracle; fix perllocal.pod
- Next by Date: Re: Help with install from CPAN
- Previous by thread: 'make uninstall' - manual uninstall DBD::Oracle; fix perllocal.pod
- Next by thread: Re: Help with install from CPAN
- Index(es):
Relevant Pages
|