perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject Re: Fedora Core 6, SOAP::Lite and mod_perl -- does this work?
Date Wed, 06 Dec 2006 19:56:24 GMT

> I removed the Redhat/Fedora built mod_perl and Apache.  Installed from
> source for each package with the latest and greatest of both. 
> 
> Did the "make test" for mod_perl and everything passed.
> 
> I still get this error:
> 
> [Wed Dec 06 08:02:35 2006] [notice] Apache/2.2.3 (Unix) mod_perl/2.0.3
> Perl/v5.8.8 configured -- resuming normal operations
> [Wed Dec 06 08:02:48 2006] [error] [client 204.107.148.116] Can't locate
> object method "dir_config" via package "Apache2::RequestRec"
> at /usr/lib/perl5/vendor_perl/5.8.8/SOAP/Transport/HTTP.pm line 653.\n
> 
> Any ideas?  Is this a bug in mod_perl/Apache?  Am I doing something
> Stupid?

$r->dir_config isn't actually defined in Apache2::RequestRec but rather
in Apache2::RequestUtil. and it looks like SOAP::Transport::HTTP doesn't
load Apache2::RequetUtil.

so, add

  require Apache2::RequestUtil;

to the rest of the Apache2::* require statements in that file and you
should be good to go.

if this works, it would probably be nice if you submitted a patch to the
SOAP::Lite folks.

--Geoff

Mime
View raw message