Re: More Mod_perl woes

From: Michael Fowler <michael@shoebox.net>
Date: Wed Aug 31 2005 - 18:18:12 AKDT

On Sun, Aug 28, 2005 at 09:04:17PM -0800, Jim wrote:
> Trying to get apache::gallery going on a new box. Almost there, but...
>
> I am getting an error that mod_perl cannot find a module. The error
> follows, and the locate Apache.pm which show that the module is happly
> located in /usr/lib/perl5/5.8.5/CGI. Anyone want to take a hack at
> enlightening my poor old brain? I am using mod_perl 1.99_16-4 on a
> CentOS 4.1 box.

/usr/lib/perl5/5.8.5/CGI/Apache.pm is actually the module CGI::Apache. You
don't have an Apache.pm installed on your system, nor should you, because
you're using mod_perl2. The problem is Apache::Gallery seems to think
you're running mod_perl1. There could be several reasons for this, but the
most immediate is probably that mod_perl.pm is from the wrong version of
mod_perl; what does the following print out?

    perl -Mmod_perl -wle 'print $INC{"mod_perl.pm"}; print mod_perl->VERSION'

Incidentally, there is a more recent version of mod_perl2. You might want
to consider installing it before you get too far into this. That way you
don't have to do even more testing when you want to upgrade.

--
Michael Fowler
www.shoebox.net
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Wed Aug 31 18:18:09 2005

This archive was generated by hypermail 2.1.8 : Wed Aug 31 2005 - 18:18:09 AKDT