Subject: | CPAN::Mini prerequisite version |
Makefile.PL require any version of CPAN::Mini but dont work for version
below of v0.565.
I have CPAN::Mini v0.550 and perl Makefile.PL pass but make test fail:
~/CPAN-Mini-Webserver-0.32$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/pod.......ok
t/simple....NOK 1/19
# Failed test 'use CPAN::Mini::Webserver;'
# at t/simple.t line 7.
# Tried to use 'CPAN::Mini::Webserver'.
# Error: Can't locate CPAN/Mini/App.pm in @INC (@INC contains:
/home/joenio/src/debian/CPAN-Mini-Webserver-0.32/blib/lib
/home/joenio/src/debian/CPAN-Mini-Webserver-0.32/blib/arch /etc/perl
/usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl . /etc/perl /usr/local/lib/perl/5.10.0
/usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at
/home/joenio/src/debian/CPAN-Mini-Webserver-0.32/blib/lib/CPAN/Mini/Webserver.pm
line 3.
I change:
'CPAN::Mini' => '0'
for
'CPAN::Mini' => '0.565'
when run perl Makefile.PL:
Warning: prerequisite CPAN::Mini 0.565 not found. We have 0.550.
its ok! i will update my CPAN::Mini and try again...