Package: libapache2-request-perl
Version: 2.04-dev-1
Severity: normal
Well, maybe this isn't a bug but it is starting to look like one to
me. I have tried every order of loading Apache::Request with
Apache::RequestRec but I just cannot get the server to start
successfully. I always get the error:
[Fri Apr 15 09:10:05 2005] [error] Apache::Request: httpd must load
mod_apreq.so first at /usr/lib/perl5/Apache2/Apache/Request.pm line
31.\nCompilation failed
in require at /usr/share/maillist/startup.pl line 17.\nBEGIN
failed--compilation aborted at /usr/share/maillist/startup.pl line
17.\nCompilation failed in require at (eval 3) line 1.\n
I even tried loading all the standard Apache2 modules I need with
"use" then doing a "require" on Apache::Request so it would definitely
load last. The script all works fine without Apache::Request,
currently I'm using the CGI module but it would be nice to not have to
load all that stuff.
The code that is throwing the error is:
if ($ENV{MOD_PERL}) {
require mod_perl;
my $env = __PACKAGE__->env || '';
if ($mod_perl::VERSION > 1.99) {
die __PACKAGE__ . ": httpd must load mod_apreq.so first"
if $env ne "Apache::RequestRec";
}
else {
die "Unsupported mod_perl version number: $modperl::VERSION";
}
}
I got it to print out the $env and it contained "APR::Pool" which
obviously leads to the error, not sure how to get around this though.
Thanks in advance,
Stephen Quinney
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages libapache2-request-perl depends on:
ii apache2-common 2.0.53-5 next generation, scalable, extenda
ii libapache2-mod-perl2 1.999.21-1 Integration of perl with the Apach
ii libapr0 2.0.53-5 the Apache Portable Runtime
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libdb4.2 4.2.52-18 Berkeley v4.2 Database Libraries [
ii libexpat1 1.95.8-1 XML parsing C library - runtime li
ii libldap2 2.1.30-6 OpenLDAP libraries
ii perl 5.8.4-8 Larry Wall's Practical Extraction
ii perl-base [perlapi-5.8.4] 5.8.4-8 The Pathologically Eclectic Rubbis
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]