Subject: | Build failure under perl-5.16.0 with recent build tools |
Side note: /usr/local/bin/perl5 is a very non-standard perl to depend
on, and certainly not the one I use (which is also non-standard: /pro/
bin/perl)
Your 'sub template' in SlideShow.pm defaults to that nonexisting perl
You ought to use $^X or better $Config{startperl} and use {} instead of
µµ
print qµ#!/usr/local/bin/perl5
=>
use Config;
print $Config{startperl}.q{
µ;
=>
};
All tests pass then. Otherwise:
OLIBOU/Tk-SlideShow-0.07.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /pro/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/font.t .... "use" not allowed in expression at /home/merijn/.cpan/
build/Tk-SlideShow-0.07-Hx8YQf/blib/lib/Tk/SlideShow.pm line 702, at
end of line
syntax error at /home/merijn/.cpan/build/Tk-SlideShow-0.07-Hx8YQf/blib/
lib/Tk/SlideShow.pm line 702, near "q�#!/usr/local/bin/perl5
use Tk::SlideShow"
BEGIN not safe after errors--compilation aborted at /home/merijn/.cpan/
build/Tk-SlideShow-0.07-Hx8YQf/blib/lib/Tk/SlideShow.pm line 703.
Compilation failed in require at t/font.t line 6.
BEGIN failed--compilation aborted at t/font.t line 6.