Skip Menu |

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

Report information
The Basics
Id: 34634
Status: new
Priority: 0/
Queue: Apache2-AuthNetLDAP

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

Bug Information
Severity: (no value)
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-AuthNetLDAP-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-AuthNetLDAP-0.01 % perl -mApache2::Util -e'print $Apache2::Util::VERSION;'; echo 2.000003 imacat@rinse tmp/Apache2-AuthNetLDAP-0.01 % PERL5LIB=/home/imacat/.cpan/build/ExtUtils-AutoInstall-0.63-UEleFZ/blib/arch:/home/imacat/.cpan/build/ExtUtils-AutoInstall-0.63-UEleFZ/blib/lib perl Makefile.PL **************** NOTICE ********************* If you are planning to use mod_perl2 and Apache2, please, do not answer yes when prompted to install mod_perl. You will need to download mod_perl2 manually from http://perl.apache.org/download/index.html ********************************************* *** ExtUtils::AutoInstall version 0.63 *** Checking for dependencies... [Core Features] - Convert::ASN1 ...missing. - Net::LDAP ...missing. - mod_perl ...missing. ==> Auto-install the 3 mandatory module(s) from CPAN? [y] imacat@rinse tmp/Apache2-AuthNetLDAP-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-AuthNetLDAP-0.01-mod_perl2.diff
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 diff -u -r Apache2-AuthNetLDAP-0.01.orig/Makefile.PL Apache2-AuthNetLDAP-0.01/Makefile.PL - --- Apache2-AuthNetLDAP-0.01.orig/Makefile.PL 2005-05-04 19:16:19.000000000 +0800 +++ Apache2-AuthNetLDAP-0.01/Makefile.PL 2008-04-03 02:37:40.000000000 +0800 @@ -41,7 +41,7 @@ -core => [ Convert::ASN1 => '', Net::LDAP => '', - - mod_perl => '', + mod_perl2 => '2', ], # core modules; may also be 'all' ); -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkfz0ocACgkQi9gubzC5S1xblACfeg39kHATZ0HaX1R+zXYUbQXT I14An1JrOa/HUyLW4Yu5Sg+/Hkd+f+8T =oZy0 -----END PGP SIGNATURE-----