Skip Menu |

This queue is for tickets about the mod_perl CPAN distribution.

Report information
The Basics
Id: 11363
Status: resolved
Priority: 0/
Queue: mod_perl

People
Owner: pgollucci [...] p6m7g8.com
Requestors: roger.springer [...] lazard.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.0.0-RC4
Fixed in: (no value)



Subject: Apache::RequestRec missing use statement
I am using Solaris 2.9 with Apache version 2.0.52 and perl 5.6.1. When I tried to test an ASP page, I got the following message: Can't locate object method "log_error" via package "Apache::RequestRec" (perhaps you forgot to load "Apache::RequestRec"?) at /opt/perl/lib/site_perl/5.6.1/sun4-solaris/Apache/ASP.pm line 1708. I had to modified the Apache::RequestRec module and add the following use Apache::compat Also I noticed the following: Apache::ASP installs its files in /opt/perl/lib/site_perl/5.6.1/Apache and mod_perl installs its files in /opt/perl/lib/site_perl/5.6.1/sun4-solaris/Apache. These two directories need to be consolidated.
Actually no, log_error is part of Apache::Log (formerly) now Apache2::Log Also the install paths are also correct and come from your PERL configuration and have nothing to do with mod_perl. These are documented in perl's INSTALL file.