Subject: | Use "mod_perl2" Instead of "mod_perl" in PREREQ_PM of Makefile.PL |
Dear Philip M. Gollucci,
Hi. This is imacat from Taiwan. I found that your
Apache2-Filter-HTTPHeadersFixup-0.06 is not actually looking for
mod_perl 2.x, but mod_perl 1.x. I tried to look into your Makefile.PL.
It lists a virtual module "mod_perl", which is only available in
mod_perl 1.x. This virtual module has changed its name to "mod_perl2"
since mod_perl 2.x. Thus when you list "mod_perl" in the PREREQ_PM, it
actually looks for mod_perl 1.x, but not mod_perl 2.x. You should use
list "mod_perl2" instead of "mod_perl" in the PREREQ_PM of your Makefile.PL.
The attached terminal log below is what I have tested on my system
which has mod_perl 2.x installed. As it shows, it did not found the
already-installed mod_perl 2.x and prompt me to install it, which later
it actually will install mod_perl 1.x.
imacat@rinse tmp/Apache2-Filter-HTTPHeadersFixup-0.06 % perl
-mApache2::Util -e'print $Apache2::Util::VERSION;'; echo
2.000003
imacat@rinse tmp/Apache2-Filter-HTTPHeadersFixup-0.06 % perl Makefile.PL
[ info] generating script t/TEST
Checking if your kit is complete...
Looks good
Warning: prerequisite mod_perl 2.000001 not found.
Writing Makefile for Apache2::Filter::HTTPHeadersFixup
imacat@rinse tmp/Apache2-Filter-HTTPHeadersFixup-0.06 %
I have made a simple patch in the hope that it helps. Please tell
me if you need any more information, or if I could be of any help.
Thank you.
Subject: | Apache2-Filter-HTTPHeadersFixup-0.06-mod_perl2.diff |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
diff -u -r Apache2-Filter-HTTPHeadersFixup-0.06.orig/Makefile.PL Apache2-Filter-HTTPHeadersFixup-0.06/Makefile.PL
- --- Apache2-Filter-HTTPHeadersFixup-0.06.orig/Makefile.PL 2005-07-04 07:38:17.000000000 +0800
+++ Apache2-Filter-HTTPHeadersFixup-0.06/Makefile.PL 2008-04-03 02:21:11.000000000 +0800
@@ -10,7 +10,7 @@
# prerequisites
my %require = (
- - "mod_perl" => "2.000001",
+ "mod_perl2" => "2.000001",
"Apache::Test" => "1.25",
);
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkfzzrcACgkQi9gubzC5S1wvGwCgh1A20jiFLiG3hzY2xkKBd2W/
H2oAoKyYjOs9II3IP8csS0XO68DY3/gz
=+5NK
-----END PGP SIGNATURE-----