Subject: | Undeclared dependency Tk |
Test suite fails if Tk is not installed:
PERL_DL_NONLAZY=1 "/bbbike/perl-5.22.0t/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Bailout called. Further testing stopped:
# Failed test 'use Tk::Canvas::Draw;'
# at t/00-load.t line 6.
# Tried to use 'Tk::Canvas::Draw'.
# Error: Can't locate Tk.pm in @INC (you may need to install the Tk module) (@INC contains: /tmpfs/.cpan-build/2015120521/Tk-Canvas-Draw-0.06-KTYHi7/blib/lib /tmpfs/.cpan-build/2015120521/Tk-Canvas-Draw-0.06-KTYHi7/blib/arch /opt/perl-5.22.0t/lib/site_perl/5.22.0/x86_64-linux-thread-multi /opt/perl-5.22.0t/lib/site_perl/5.22.0 /opt/perl-5.22.0t/lib/5.22.0/x86_64-linux-thread-multi /opt/perl-5.22.0t/lib/5.22.0) at /tmpfs/.cpan-build/2015120521/Tk-Canvas-Draw-0.06-KTYHi7/blib/lib/Tk/Canvas/Draw.pm line 490.
# BEGIN failed--compilation aborted at /tmpfs/.cpan-build/2015120521/Tk-Canvas-Draw-0.06-KTYHi7/blib/lib/Tk/Canvas/Draw.pm line 490.
# Compilation failed in require at t/00-load.t line 6.
# BEGIN failed--compilation aborted at t/00-load.t line 6.
# Testing Tk::Canvas::Draw , Perl 5.022000, /bbbike/perl-5.22.0t/bin/perl
# Looks like you failed 1 test of 1.
FAILED--Further testing stopped.
make: *** [test_dynamic] Fehler 1
To help smoker and other automated systems, something like PREREQ_PM => { Tk => 0 } should be added to Makefile.PL.