Subject: | wish: more graceful failure in old environments (2.13_02) |
Trying to install this on an older FreeBSD with Apache 1.x and mod_perl
1.x failed ungracefully:
perl Makefile.PL
Couldn't open t/TEST.PL: No such file or directory at
/usr/local/lib/perl5/site_perl/5.8.0/mach/Apache/TestMM.pm line 128.
####
$ perl Build.PL
Checking whether your kit is complete...
Looks good
Checking prerequisites...
Looks good
"/usr/home/mark/src/CGI-Application-Dispatch-2.13_02" is not exported by
the lib module
Can't continue after import errors at
/usr/local/lib/perl5/site_perl/5.8.0/mach/Apache/TestConfig.pm line 223
###
I have Apache::Test 1.20. It seems like something newer is required, but
upgrading past 1.21 appears not to be supported unless we also have
mod_perl 2, which we don't:
http://search.cpan.org/~phred/Apache-Test-1.30/Changes
I don't mind if my older environment is not supported, but it would be
nice to fail more gracefully, perhaps by explicitly requiring a newer
version of Apache::Test.
Mark