James E Keenan
2012-03-15 00:49:37 UTC
On a machine where I can only install libraries underneath my home
directory, I today tried to install and use Devel::Cover. After
considerable effort, I was able to install Devel-Cover-0.79. But when I
went to use it in conjunction with 'prove' I got error output like this:
#####
$> HARNESS_PERL_SWITCHES=-MDevel::Cover prove t/001_new.t
t/001_new..........................Devel::Cover: Can't open
blib/lib/Class/MethodMaker/Engine.pm for MD5 digest: No such file or
directory
Devel::Cover: Can't open blib/lib/Class/MethodMaker/scalar.pm for MD5
digest: No such file or directory
Devel::Cover: Can't open blib/lib/Class/MethodMaker/array.pm for MD5
digest: No such file or directory
Devel::Cover: Can't open blib/lib/Class/MethodMaker/hash.pm for MD5
digest: No such file or directory
#####
Class::MethodMaker is probably not installed on this machine, and it's
certainly neither installed underneath my home directory nor used in the
testing code or the code being tested. But what's really puzzling to me
is the fact that I cannot locate the string 'MethodMaker' anywhere in
the Devel::Cover source code!
#####
[Devel-Cover-0.79] 542 $ find . -type f | xargs grep -in MethodMaker
[Devel-Cover-0.79] 543 $
#####
Can anyone suggest why I am getting this error message?
Should Class::MethodMaker be listed as a prerequisite for Devel::Cover?
Thank you very much.
Jim Keenan
directory, I today tried to install and use Devel::Cover. After
considerable effort, I was able to install Devel-Cover-0.79. But when I
went to use it in conjunction with 'prove' I got error output like this:
#####
$> HARNESS_PERL_SWITCHES=-MDevel::Cover prove t/001_new.t
t/001_new..........................Devel::Cover: Can't open
blib/lib/Class/MethodMaker/Engine.pm for MD5 digest: No such file or
directory
Devel::Cover: Can't open blib/lib/Class/MethodMaker/scalar.pm for MD5
digest: No such file or directory
Devel::Cover: Can't open blib/lib/Class/MethodMaker/array.pm for MD5
digest: No such file or directory
Devel::Cover: Can't open blib/lib/Class/MethodMaker/hash.pm for MD5
digest: No such file or directory
#####
Class::MethodMaker is probably not installed on this machine, and it's
certainly neither installed underneath my home directory nor used in the
testing code or the code being tested. But what's really puzzling to me
is the fact that I cannot locate the string 'MethodMaker' anywhere in
the Devel::Cover source code!
#####
[Devel-Cover-0.79] 542 $ find . -type f | xargs grep -in MethodMaker
[Devel-Cover-0.79] 543 $
#####
Can anyone suggest why I am getting this error message?
Should Class::MethodMaker be listed as a prerequisite for Devel::Cover?
Thank you very much.
Jim Keenan