Subject: | Undeclared dependency Tk |
Automatic test+install (e.g. on CPAN Testers machines) may fail if Tk is not yet installed:
...
PERL_DL_NONLAZY=1 "/usr/local/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Can't locate Tk.pm in @INC (you may need to install the Tk module) (@INC contains: /usr/home/cpansand/.cpan/build/2020101218/Tk-SimpleFileSelect-0.7-0/blib/lib /usr/home/cpansand/.cpan/build/2020101218/Tk-SimpleFileSelect-0.7-0/blib/arch /usr/local/lib/perl5/site_perl/mach/5.30 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.30/mach /usr/local/lib/perl5/5.30 .) at /usr/home/cpansand/.cpan/build/2020101218/Tk-SimpleFileSelect-0.7-0/blib/lib/Tk/SimpleFileSelect.pm line 6.
BEGIN failed--compilation aborted at /usr/home/cpansand/.cpan/build/2020101218/Tk-SimpleFileSelect-0.7-0/blib/lib/Tk/SimpleFileSelect.pm line 6.
Compilation failed in require at t/use.t line 6.
BEGIN failed--compilation aborted at t/use.t line 6.
t/use.t ..
Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/1 subtests
...