Subject: | does not fail gracefully when executable not installed |
I'm not sure why you need `dot` here, but this could be handled better (e.g. by using Devel::CheckBin or File::Which in the installer):
cpanm (App::cpanminus) 1.7037 on perl 5.023000 built for darwin-2level
Work directory is /Users/ether/.cpanm/work/1435684119.92131
You have make /usr/bin/make
You have LWP 6.13
You have /usr/bin/tar: bsdtar 2.8.3 - libarchive 2.8.3
You have /usr/bin/unzip
Searching GraphViz2::Marpa on mirror http://mirrors.gossamer-threads.com/CPAN ...
Downloading index file http://mirrors.gossamer-threads.com/CPAN/modules/02packages.details.txt.gz ...
Uncompressing index file...
--> Working on GraphViz2::Marpa
Fetching http://mirrors.gossamer-threads.com/CPAN/authors/id/R/RS/RSAVAGE/GraphViz2-Marpa-2.03.tgz
-> OK
Unpacking GraphViz2-Marpa-2.03.tgz
Entering GraphViz2-Marpa-2.03
Checking configure dependencies from META.json
Checking if you have Module::Build 0.421 ... Yes (0.4214)
Checking if you have ExtUtils::Install 1.46 ... Yes (2.04)
Configuring GraphViz2-Marpa-2.03
Running Build.PL
Can't exec "dot": No such file or directory at Build.PL line 34.
Use of uninitialized value $stdout in pattern match (m//) at Build.PL line 38.
Please install Graphviz from http://www.graphviz.org/
Running Makefile.PL
Can't exec "dot": No such file or directory at Makefile.PL line 34.
Use of uninitialized value $stdout in pattern match (m//) at Makefile.PL line 38.
Please install Graphviz from http://www.graphviz.org/
-> N/A
-> FAIL Configure failed for GraphViz2-Marpa-2.03. See /Users/ether/.cpanm/work/1435684119.92131/build.log for details.