>>But, since CGI.pm is throwing these errors, I'd say
>>it's because you
>>haven't upgraded it. What version of CGI.pm are you
>>running? It needs to
>>be at version 3.10 for complete compatibility with
>>mod_perl2.
>
> CGI.pm is 3.10.  CGI is also part of the
> Bundle::Apache2, so it may have been updated as part
> of the bundle.
> 
> All of my CGI scripts are unaltered CGI (no ModPerl
> API calls at all).  I don't call any Apache/MP2
> libraries directly.
> 
> I am seeing errors referencing my scripts on the line
> containing the use CGI; that says ...
>  Can't locate Apache.pm in @INC 
> 
> More suggestions?? (Help!)

[ from earlier thread ]
-> over to the Apache2 API from Apache API.  I have
-> always been on Apache 2 and MP2, but using the API's
-> that came with it on a Fedora Core 3 install.

Does this mean you are using the mod_perl2 install that came with Fedora
Core 3 (1.99.16 iirc)?  If so, that is incompatible with Bundle::Apache2
if my guess is right because CGI.pm 3.10 will be using the Apache2
namespace.  Try removing your existing mod_perl2 rpm and installing the
latest mod_perl2 from source [1].  Make sure you have the httpd-devel
rpm installed unless you are building mod_perl2 as a static module.

HTH,

Fred

1 - http://perl.apache.org/docs/2.0/user/install/install.html

Reply via email to