perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hedges <>
Subject Apache::compat, perldoc modules?
Date Tue, 27 Jan 2009 23:24:23 GMT

Trying to get perldoc running in some fashion under Apache2
with libapreq2.

I thought I'd use Apache2::Pod::HTML but no luck:

[Tue Jan 27 14:55:04 2009] [error] [client]
Can't locate object method "send_http_header" via package
"Apache2::RequestRec" at
/usr/lib/perl5/site_perl/5.8.8/Apache2/Pod/ line

Apache::Perldoc has the same problem:

[Tue Jan 27 15:00:49 2009] [error] [client]
Can't locate object method "send_http_header" via package
"Apache2::RequestRec" at
/usr/lib/perl5/site_perl/5.8.8/Apache/ line 8.\n

So I thought I'd use Apache::compat even though this may
bork some of my other code, but no luck.  This may be a
documentation error at,
which says:

  # either add at the very beginning of
  use Apache2
  use Apache::compat;
  # or httpd.conf
  PerlModule Apache2
  PerlModule Apache::compat

I use the conf file instructions and get:

Starting httpd: [Tue Jan 27 15:11:41 2009] [error] Can't
locate in @INC (@INC contains:
/usr/lib/perl5/5.8.8 . /etc/httpd) at (eval 167) line 3.\n

There is no module.

And even without that, there is no Apache::compat module,

Starting httpd: Syntax error on line 59 of
/etc/httpd/sites.d/blah.conf: Can't locate Apache/
in @INC (...)

Am I missing something obvious here?



View raw message