Subject: | Build fails during testing phase |
When I am running the test suite for this module, it fails because Pod::Usage is not installed:
t/script-checkdigits.t .. Can't locate object method "initialize" via package "Pod::Usage" at /usr/local/lib/perl5/5.8.3/Pod/Usage.pm line 534.
t/script-checkdigits.t .. 1/5
# Failed test 'run with -help'
# at t/script-checkdigits.t line 13.
# got: '65280'
# expected: '0'
Can't locate object method "initialize" via package "Pod::Usage" at /usr/local/lib/perl5/5.8.3/Pod/Usage.pm line 534.
When I install Pod::Usage manually, I am able to complete the tests. I would suggest adding Pod::Usage as a build requirement:
--- Build.PL.orig Thu May 12 08:26:51 2016
+++ Build.PL Thu May 12 08:20:36 2016
@@ -9,6 +9,7 @@
build_requires => {
'Probe::Perl' => 0,
'Test::More' => 0,
+ 'Pod::Usage' => 0,
},
configure_requires => { 'Module::Build' => 0.38 },
create_makefile_pl => 'small',