Subject: | Make test fails |
Well, now I'm getting a test failing while installing onto a FreeBSD server with Perl 5.6.1. Here is the output:
------------
Show quoted text
cpan> install Apache::AuthCookieDBI
Running install for module Apache::AuthCookieDBI
Running make for C/CR/CROMIS/Apache-AuthCookieDBI-1.19.tar.gz
Is already unwrapped into directory /root/.cpan/build/Apache-AuthCookieDBI-1.19
CPAN.pm: Going to build C/CR/CROMIS/Apache-AuthCookieDBI-1.19.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Apache::AuthCookieDBI
cp AuthCookieDBI.pm blib/lib/Apache/AuthCookieDBI.pm
Manifying blib/man3/Apache::AuthCookieDBI.3pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl/5.6.1 -I/usr/share/perl/5.6.1 test.pl
1..1
Can't locate object method "server" via package "Apache" (perhaps you forgot to load "Apache"?) at blib/lib/Apache/AuthCookieDBI.pm line 80.
BEGIN failed--compilation aborted at blib/lib/Apache/AuthCookieDBI.pm line 92.
Compilation failed in require at test.pl line 11.
BEGIN failed--compilation aborted at test.pl line 11.
make: *** [test_dynamic] Error 2
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
----------------
Forcing the install appears to have worked.
Thanks,
William