Re: Devel::Cover: whence the reference to Class::MethodMaker?

Michael G Schwern <[email protected]>
Newsgroups gmane.comp.lang.perl.quality-assurance
Message-ID <[email protected]>
On 2012.3.14 5:49 PM, James E Keenan wrote:
> 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!

Is it possible you had a pre-existing cover_db directory?  Try deleting it.


-- 
emacs -- THAT'S NO EDITOR... IT'S AN OPERATING SYSTEM!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.