I am trying to install GD::Graph in Cygwin using cpan and 'make' keeps failing. I have been trying to troubleshoot this for a few days with no success. Any thoughts? Thanks in advance.
$ cpan install GD::Graph
Going to read '/home/xxx/.cpan/Metadata'
Database was generated on Mon, 29 Dec 2014 12:41:02 GMT
Running install for module 'GD::Graph'
Running make for R/RU/RUZ/GDGraph-1.48.tar.gz
Checksum for /home/xxx/.cpan/sources/authors/id/R/RU/RUZ/GDGraph-1.48.tar.gz ok
CPAN.pm: Going to build R/RU/RUZ/GDGraph-1.48.tar.gz
Checking if your kit is complete...
Generating a Unix-style Makefile
Writing Makefile for GD::Graph
Writing MYMETA.yml and MYMETA.json
The automatic tests for GDGraph are not really a solid workout of the
library. The best way to test the package is to run the examples
before installing it. You can run the examples in the samples
directory with `make samples` or by going into that directory, and
just running `make`.
If that fails, please read samples/Makefile.
cp Graph/Error.pm blib/lib/GD/Graph/Error.pm
cp Graph.pm blib/lib/GD/Graph.pm
cp Graph/utils.pm blib/lib/GD/Graph/utils.pm
cp Graph/lines.pm blib/lib/GD/Graph/lines.pm
cp Graph/axestype.pm blib/lib/GD/Graph/axestype.pm
cp Graph/points.pm blib/lib/GD/Graph/points.pm
cp Graph/linespoints.pm blib/lib/GD/Graph/linespoints.pm
cp Graph/hbars.pm blib/lib/GD/Graph/hbars.pm
cp Graph/bars.pm blib/lib/GD/Graph/bars.pm
cp Graph/Data.pm blib/lib/GD/Graph/Data.pm
cp Graph/area.pm blib/lib/GD/Graph/area.pm
cp Graph/pie.pm blib/lib/GD/Graph/pie.pm
cp Graph/mixed.pm blib/lib/GD/Graph/mixed.pm
cp Graph/colour.pm blib/lib/GD/Graph/colour.pm
cp Graph/FAQ.pod blib/lib/GD/Graph/FAQ.pod
Manifying 6 pod documents
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 "/usr/bin/perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness " "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch') " t/*.t
t/axestype.t .. ok
t/bugfixes.t .. 1/33 Unable to close logo file 't/images/logo.gif': at t/bugfix es.t line 42
# Looks like you planned 33 tests but ran 3.
# Looks like your test exited with 255 just after 3.
t/bugfixes.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 30/33 subtests
t/colour.t .... ok
t/data.t ...... ok
t/error.t ..... ok
t/use.t ....... ok
Test Summary Report
t/bugfixes.t (Wstat: 65280 Tests: 3 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 33 tests but ran 3.
Files=6, Tests=88, 1 wallclock secs ( 0.03 usr 0.00 sys + 0.15 cusr 0.18 csy s = 0.37 CPU)
Failed 1/6 test programs. 0/88 subtests failed.
Makefile:918: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
Running make install make test had returned bad status, won't install without force
$ make -v
GNU Make 4.0
Built for x86_64-pc-cygwin
Copyright (C) 1988-2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.