Subject: | Perl::Critic / Ubuntu r 8.2 install issues |
Date: | Thu, 13 Oct 2011 10:32:08 -0500 |
To: | bug-Perl-Critic [...] rt.cpan.org |
From: | Seven Reeds <seven.reeds [...] gmail.com> |
Hi,
I have access to two Ubuntu machines. One runs Ubuntu version 10.3
[perl 5.10.1] and the other 8.2 [perl 5.8.8] -- I do not control the
8.2 machine. My real goal is to install HTML::Restrict but
Perl::Critic is listed as a pre-req. I easily installed everything on
the 10.2 machine but the "P::C" install on the 8.2 machine is failing
tests. Ex:
$ ./Build test
Skipping generating tests because it doesn't look like we're in an
author environment.
t/00_modules.t ................................ Couldn't require
Perl::Critic::Policy::BuiltinFunctions::ProhibitLvalueSubstr : Can't
locate object method "new" via package "version" (perhaps you forgot
to load "version"?) at
/root/.cpan/build/Perl-Critic-1.116-24FlHD/blib/lib/Perl/Critic/Policy/BuiltinFunctions/ProhibitLvalueSubstr.pm
line 26.
Compilation failed in require at (eval 60) line 3.
at /usr/local/share/perl/5.8.8/Module/Pluggable.pm line 28
t/00_modules.t ................................ ok
t/01_config.t ................................. Couldn't require
Perl::Critic::Policy::BuiltinFunctions::ProhibitLvalueSubstr : Can't
locate object method "new" via package "version" (perhaps you forgot
to load "version"?) at
/root/.cpan/build/Perl-Critic-1.116-24FlHD/blib/lib/Perl/Critic/Policy/BuiltinFunctions/ProhibitLvalueSubstr.pm
line 26.
Compilation failed in require at (eval 55) line 3.
at /usr/local/share/perl/5.8.8/Module/Pluggable.pm line 28
t/01_config.t ................................. ok
[...] and many, many others
I would welcome assistance and/or a clue
sr