Skip Menu |

This queue is for tickets about the Apache2-DebugFilter CPAN distribution.

Report information
The Basics
Id: 34630
Status: resolved
Priority: 0/
Queue: Apache2-DebugFilter

People
Owner: pgollucci [...] p6m7g8.com
Requestors: imacat [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.02
Fixed in: (no value)



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-DebugFilter-0.02 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-DebugFilter-0.02 % perl -mApache2::Util -e'print $Apache2::Util::VERSION;'; echo 2.000003 imacat@rinse tmp/Apache2-DebugFilter-0.02 % 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::DebugFilter imacat@rinse tmp/Apache2-DebugFilter-0.02 % 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-DebugFilter-0.02-mod_perl2.diff
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 diff -u -r Apache2-DebugFilter-0.02.orig/Makefile.PL Apache2-DebugFilter-0.02/Makefile.PL - --- Apache2-DebugFilter-0.02.orig/Makefile.PL 2005-07-04 09:04:57.000000000 +0800 +++ Apache2-DebugFilter-0.02/Makefile.PL 2008-04-03 02:15:26.000000000 +0800 @@ -17,7 +17,7 @@ my %require = ( "Apache::Test" => "1.25", # ipv6 fixes - - "mod_perl" => "2.000001" + "mod_perl2" => "2.000001" ); ModPerl::MM::WriteMakefile( -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkfzzU4ACgkQi9gubzC5S1zK2gCgnSWtqg652GlusyIVKRKkMzLI AecAoK3hBG01bjJxANtwUxG7kx7Uvtoz =bOmq -----END PGP SIGNATURE-----
From: pgollucci [...] p6m7g8.com
On Wed Apr 02 14:18:58 2008, IMACAT wrote: Show quoted text
> 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.
Committed r288, Thanks!
Closing. Part of 0.03 Soon to be on CPAN.