Subject: | CGI.pm not declared as a dependency |
In newer perls (e.g. perl 5.21.x) CGI.pm is not anymore part of the core modules, and therefore needs to be declared in Makefile.PL/Build.PL as a prerequisite. Otherwise the test suite fails:
Can't locate CGI.pm in @INC (you may need to install the CGI module) (@INC contains: /tmpfs/.cpan-build/Bio-Graphics-2.39-FcJ3Gc/t/../lib /tmpfs/.cpan-build/Bio-Graphics-2.39-FcJ3Gc/t/../blib/lib /tmpfs/.cpan-build/Bio-Graphics-2.39-FcJ3Gc/t/../blib/arch /tmpfs/.cpan-build/Bio-Graphics-2.39-FcJ3Gc/blib/lib /tmpfs/.cpan-build/Bio-Graphics-2.39-FcJ3Gc/blib/arch /home/eserte/.cpan/build/GD-SVG-0.33-BlsIqs/blib/arch /home/eserte/.cpan/build/GD-SVG-0.33-BlsIqs/blib/lib /home/eserte/.cpan/build/SVG-2.63-5OdhhO/blib/arch /home/eserte/.cpan/build/SVG-2.63-5OdhhO/blib/lib /home/eserte/.cpan/build/GD-2.56-VE6ECm/blib/arch /home/eserte/.cpan/build/GD-2.56-VE6ECm/blib/lib /home/eserte/.cpan/build/BioPerl-1.6.924-TtKXlm/blib/arch /home/eserte/.cpan/build/BioPerl-1.6.924-TtKXlm/blib/lib /home/eserte/.cpan/build/Data-Stag-0.14-xeEnxB/blib/arch /home/eserte/.cpan/build/Data-Stag-0.14-xeEnxB/blib/lib /home/eserte/.cpan/build/DBD-Pg-3.5.1-T9iywT/blib/arch /home/eserte/.cpan/build/DBD-Pg-3.5.1-T9iywT/blib/lib /home/eserte/.cpan/build/Statistics-Descriptive-3.0608-XzK3Gf/blib/arch /home/eserte/.cpan/build/Statistics-Descriptive-3.0608-XzK3Gf/blib/lib /opt/perl-5.21.10t/lib/site_perl/5.21.10/x86_64-linux-thread-multi /opt/perl-5.21.10t/lib/site_perl/5.21.10 /opt/perl-5.21.10t/lib/5.21.10/x86_64-linux-thread-multi /opt/perl-5.21.10t/lib/5.21.10 .) at /tmpfs/.cpan-build/Bio-Graphics-2.39-FcJ3Gc/t/../lib/Bio/Graphics/Wiggle/Loader.pm line 121.
BEGIN failed--compilation aborted at /tmpfs/.cpan-build/Bio-Graphics-2.39-FcJ3Gc/t/../lib/Bio/Graphics/Wiggle/Loader.pm line 121.
Compilation failed in require at t/Wiggle.t line 16.
BEGIN failed--compilation aborted at t/Wiggle.t line 16.
# Looks like your test exited with 2 before it could output anything.
t/Wiggle.t .......