Problems with mod_perl/AuthCookieDBI

From: Eric (ergeorge_at_pcisys.net)
Date: 04/30/04


Date: 30 Apr 2004 09:13:16 -0700

Ok, I'm a perl & apache newbie, so this may be obvious/stupid.

I'm trying to build & install AuthCookie & AuthCookieDBI on my RedHat
9 box. When I get to the "make test" step in AuthCookie-3.05:

make test
/usr/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -clean
Undefined subroutine &Apache::TestConfig::autoconfig_skip_module_add
called at t/TEST line 15.
make: *** [test_clean] Error 255

And in AuthCookieDBI-1.19
make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..1
Can't locate Apache.pm in @INC .....<snip>

Ok, as I understand it, Apache.pm should come with mod_perl

mod_perl is on the system:
rpm -q mod_perl
mod_perl-1.99_07-5

But Apache.pm is not in it???
rpm -q --list mod_perl-1.99_07-5 | grep -i Apache.pm
(nada???)

Not in the filesystem either:
slocate apache.pm
/usr/lib/perl5/5.8.0/CGI/Apache.pm
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/DBI/ProfileDumper/Apache.pm

/usr/lib/perl5/5.8.0/CGI/Apache.pm: This file is only 271 bytes and
says in it "Do not use this module. It is deprecated.", so I don't
think that is it. The other one doesn't appear to be the right one
either.

Any ideas??