On Fri Mar 22 10:28:17 2013, GORTAN wrote:
Show quoted text> When I call
> $ cpanm B::Tree
>
> the build fails with:
>
> Building and testing B-Tree-0.02
> PERL_DL_NONLAZY=1 /usr/bin/perl5.12.4 "-Iblib/lib" "-Iblib/arch" test.pl
> Can't locate GraphViz.pm in @INC (@INC contains: ...)
>
> The dependency should be stated in the Makefile!
Patch attached
--- Makefile.PL.orig 2000-11-29 12:29:41.000000000 +0000
+++ Makefile.PL 2014-06-05 15:17:00.285601400 +0100
@@ -4,5 +4,5 @@
WriteMakefile(
'NAME' => 'B::Tree',
'VERSION_FROM' => 'Tree.pm', # finds $VERSION
- 'PREREQ_PM' => {}, # e.g., Module::Name => 1.1
+ 'PREREQ_PM' => { 'GraphViz' => 0 }, # e.g., Module::Name => 1.1
);