Skip Menu |

This queue is for tickets about the MasonX-Request-WithApache2Session CPAN distribution.

Report information
The Basics
Id: 34663
Status: new
Priority: 0/
Queue: MasonX-Request-WithApache2Session

People
Owner: Nobody in particular
Requestors: imacat [...] mail.imacat.idv.tw
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.04
Fixed in: (no value)



Subject: Use "mod_perl2" Instead of "mod_perl" in PREREQ_PM of Makefile.PL
Dear Beau E. Cox, Hi. This is imacat from Taiwan. I found that your MasonX-Request-WithApache2Session-0.04 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 % rm -rf MasonX-Request-WithApache2Session-0.04; tar xzf MasonX-Request-WithApache2Session-0.04.tar.gz; cd MasonX-Request-WithApache2Session-0.04 imacat@rinse tmp/MasonX-Request-WithApache2Session-0.04 % perl -mApache2::Util -e'print $Apache2::Util::VERSION;'; echo 2.000003 imacat@rinse tmp/MasonX-Request-WithApache2Session-0.04 % perl Makefile.PL -------------------------------------------------------------------- MasonX::Request::WithApache2Session is an EXPERIMENTAL BETA RELEASE! Please install and use it only on a test system. Aloha => Beau; -------------------------------------------------------------------- Checking if your kit is complete... Looks good Warning: prerequisite Apache::Cookie 2.02-dev not found. Warning: prerequisite Apache::Request 2.02-dev not found. Warning: prerequisite HTML::Mason 1.25 not found. Warning: prerequisite mod_perl 1.991 not found. Writing Makefile for MasonX::Request::WithApache2Session imacat@rinse tmp/MasonX-Request-WithApache2Session-0.04 % Also, for the same reason, the Makefile.PL should look for Apache2::Cookie and Apache2::Request, but not Apache::Cookie and Apache::Request. I have made a simple patch against MasonX-Request-WithApache2Session-0.04, 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: MasonX-Request-WithApache2Session-0.04-mod_perl2.diff
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 diff -u -r MasonX-Request-WithApache2Session-0.04.orig/Makefile.PL MasonX-Request-WithApache2Session-0.04/Makefile.PL - --- MasonX-Request-WithApache2Session-0.04.orig/Makefile.PL 2004-02-26 16:21:12.000000000 +0800 +++ MasonX-Request-WithApache2Session-0.04/Makefile.PL 2008-04-04 03:05:26.000000000 +0800 @@ -17,10 +17,10 @@ VERSION_FROM => 'lib/MasonX/Request/WithApache2Session.pm', # finds $VERSION PREREQ_PM => { - - mod_perl => 1.9910, + mod_perl2 => 2, 'HTML::Mason' => 1.25, - - 'Apache::Request' => '2.02-dev', - - 'Apache::Cookie' => '2.02-dev', + 'Apache2::Request' => '2.02-dev', + 'Apache2::Cookie' => '2.02-dev', }, # e.g., Module::Name => 1.1 ($] >= 5.005 ? ## Add these new keywords supported since 5.005 (ABSTRACT_FROM => 'lib/MasonX/Request/WithApache2Session.pm', # retrieve abstract from module -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkf1KqUACgkQi9gubzC5S1yGgACePEw6mxjVVc97EaLVObHjsSGV AMwAn0Q7FSs6ZEXlAh9UhaoEkhH3ADp5 =ZfJK -----END PGP SIGNATURE-----