Subject: | cpan install fails on t/00.load - add File::Path 2.07 to Makefile.PL |
While on Debian lenny, I attempted to 'cpan Shipwright' and got the
following test failure:
SUNNAVY/Shipwright-2.3.3.tar.gz
make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/*/*.t
t/00.load...........1/36
# Failed test 'use Shipwright::Backend::Base;'
# at t/00.load.t line 19.
# Tried to use 'Shipwright::Backend::Base'.
# Error: "make_path" is not exported by the File::Path module
# "remove_tree" is not exported by the File::Path module
# Can't continue after import errors at
/root/.cpan/build/Shipwright-2.3.3-wFlaDk/blib/lib/Shipwright/Backend/Base.pm
line 10
Updating to File::Path 2.07 solved the problem