I'm having trouble installing CGI::Application 3.1 on a host running FreeBSD 4.6-STABLE with Perl 5.6.1. For what it's worth, it installed fine on MacOS X with Perl 5.8. I've pasted the test results below.
I've searched the archive and can't seem to find a solution. I did come across a similar error listed on the CPAN Testers page but it was for an older version of CGI::App. Has anyone else experienced this?
Thanks! Sergej
[sz ~/src/CGI-Application-3.1]make test
cp Application.pm blib/lib/CGI/Application.pm
cp Application/Mailform.pm blib/lib/CGI/Application/Mailform.pm
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.6.1/i386-freebsd -I/usr/local/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/01cgiapp...........ok t/02mailform.........ok t/03prerun...........ok 2/10# Failed test (t/03prerun.t at line 61) t/03prerun...........ok 3/10# 'Error executing run mode 'illegal_prerun_mode': ARRAY(0x824d628) at blib/lib/CGI/Application.pm line 143.
t/03prerun...........ok 4/10# ' t/03prerun...........ok 5/10# doesn't match '(?-xism:prerun_mode\(\) can only be called within cgiapp_prerun\(\))'
t/03prerun...........ok 6/10# Failed test (t/03prerun.t at line 76) t/03prerun...........ok 7/10# 'ARRAY(0x8291ea0)' t/03prerun...........ok 8/10# doesn't match '(?-xism:prerun_mode\(\) can only be called within cgiapp_prerun\(\))'
t/03prerun...........NOK 9# Looks like you failed 2 tests of 10. t/03prerun...........dubious Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 9-10
Failed 2/10 tests, 80.00% okay
t/04getquery.........ok t/05arrayrefmodes....ok t/06enhancement31....ok t/07postrun..........ok Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/03prerun.t 2 512 10 2 20.00% 9-10
Failed 1/7 test scripts, 85.71% okay. 2/52 subtests failed, 96.15% okay.
*** Error code 9
Stop in /usr/home/iwork4me/src/CGI-Application-3.1.
--------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
