Subject: | Build problem with Perl::Critic 1.109 and 1.108 |
Date: | Wed, 17 Nov 2010 17:10:12 -0800 |
To: | bug-Perl-Critic [...] rt.cpan.org |
From: | "Mark K. Pettit" <pettit [...] yahoo-inc.com> |
I'm attempting to build and install Perl-Critic-1.109. I have Mac OS X with Perl 5.10.0 installed.
I'm able to successfull untar the package, run "perl Makefile.PL" and "make".
But "make test" fails with this error:
[coconutpa-lm:~/unb/Perl-Critic-1.109]$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_modules.t ................................ Couldn't require Perl::Critic::Policy::TestingAndDebugging::RequireUseStrict : version version 0.77 required--this is only version 0.74 at /Users/pettit/unb/Perl-Critic-1.109/blib/lib/Perl/Critic/Policy/TestingAndDebugging/RequireUseStrict.pm line 13.
BEGIN failed--compilation aborted at /Users/pettit/unb/Perl-Critic-1.109/blib/lib/Perl/Critic/Policy/TestingAndDebugging/RequireUseStrict.pm line 13.
Compilation failed in require at (eval 147) line 3.
at /System/Library/Perl/5.10.0/Module/Pluggable.pm line 28
t/00_modules.t ................................ 1180/2606
# Failed test 'use Perl::Critic::Policy::TestingAndDebugging::RequireUseStrict;'
Bailout called. Further testing stopped: Can't continue.
# at t/00_modules.t line 292.
# Tried to use 'Perl::Critic::Policy::TestingAndDebugging::RequireUseStrict'.
# Error: Attempt to reload Perl/Critic/Policy/TestingAndDebugging/RequireUseStrict.pm aborted.
# Compilation failed in require at (eval 439) line 2.
# BEGIN failed--compilation aborted at (eval 439) line 2.
FAILED--Further testing stopped: Can't continue.
make: *** [test_dynamic] Error 255
[coconutpa-lm:~/unb/Perl-Critic-1.109]$
It seems you have some code that requires "Perl::Critic::Policy::TestingAndDebugging::RequireUseStrict" version 0.77, but you only include version 0.74 in the package.
If I can provide further assistance, let me know.
Mark Pettit
pettit@yahoo-inc.com
DNS Architect, Yahoo!, Inc.