Skip Menu |

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

Report information
The Basics
Id: 34633
Status: new
Priority: 0/
Queue: Apache2-AuthenSmb

People
Owner: Nobody in particular
Requestors: imacat [...] cpan.org
Cc:
AdminCc:

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



Subject: Use "mod_perl2" Instead of "mod_perl" in -core of Makefile.PL
Dear Shannon Eric Peevey, Hi. This is imacat from Taiwan. I found that your Apache2-AuthenSmb-0.01 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 -core, 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 -core 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-AuthenSmb-0.01 % perl -mApache2::Util -e'print $Apache2::Util::VERSION;'; echo 2.000003 imacat@rinse tmp/Apache2-AuthenSmb-0.01 % perl Makefile.PL *** ExtUtils::AutoInstall version 0.63 *** Checking for dependencies... [Core Features] - Authen::Smb ...missing. (would need 0.9) - Apache::Htgroup ...missing. - mod_perl ...missing. ==> Auto-install the 3 mandatory module(s) from CPAN? [y] imacat@rinse tmp/Apache2-AuthenSmb-0.01 % 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-AuthenSmb-0.01-mod_perl2.diff
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 diff -u -r Apache2-AuthenSmb-0.01.orig/Makefile.PL Apache2-AuthenSmb-0.01/Makefile.PL - --- Apache2-AuthenSmb-0.01.orig/Makefile.PL 2005-06-09 00:45:46.000000000 +0800 +++ Apache2-AuthenSmb-0.01/Makefile.PL 2008-04-03 02:31:06.000000000 +0800 @@ -33,7 +33,7 @@ -core => [ Authen::Smb => '0.9', Apache::Htgroup => '', - - mod_perl => '', + mod_perl2 => '2', ], # core modules; may also be 'all' ); -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkfz0P0ACgkQi9gubzC5S1y1uQCfUr1FIgHJgcu70d1PurFW9MNC CvgAn0Pc7SJl8gMy/unfS5pTNlZll1so =bTT1 -----END PGP SIGNATURE-----