Skip Menu |

This queue is for tickets about the Apache-AuthenNIS CPAN distribution.

Report information
The Basics
Id: 6229
Status: new
Priority: 0/
Queue: Apache-AuthenNIS

People
Owner: Nobody in particular
Requestors: manfred.metz [...] rsd.rohde-schwarz.com
Cc:
AdminCc:

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



Subject: Installation problem with apache 1.3.26 and perl 5.005 on SUN Solaris
Trying to install Apache::AuthenNIS V0.13 results in following # perl Makefile.PL *** ExtUtils::AutoInstall version 0.56 *** Checking for dependencies... [Core Features] - Net::NIS ...loaded. (0.34) - mod_perl ...loaded. (1.24) *** ExtUtils::AutoInstall configuration finished. glob failed (child exited with status 1) at /usr/perl5/site_perl/5.005/ExtUtils/AutoInstall.pm line 834. Writing Makefile for Apache::AuthenNIS I think the above failure is not critical but confusing # make Manifying blib/man3/Apache::AuthenNIS.3 /usr/perl5/5.00503/bin/pod2man: Unrecognized pod directive in paragraph 35 of AuthenNIS.pm: head3 In my opinion there is no heading level 3 for man pages. This is also not really a problem but also confusing. # make test PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503 test.pl 1..1 Bareword "Apache::HTTP_INTERNAL_SERVER_ERROR" not allowed while "strict subs" in use at blib/lib/Apache/AuthenNIS.pm line 48. Bareword "Apache::HTTP_UNAUTHORIZED" not allowed while "strict subs" in use at blib/lib/Apache/AuthenNIS.pm line 54. Bareword "Apache::DECLINED" not allowed while "strict subs" in use at blib/lib/Apache/AuthenNIS.pm line 62. Bareword "Apache::HTTP_UNAUTHORIZED" not allowed while "strict subs" in use at blib/lib/Apache/AuthenNIS.pm line 69. Bareword "Apache::OK" not allowed while "strict subs" in use at blib/lib/Apache/AuthenNIS.pm line 76. Bareword "Apache::DECLINED" not allowed while "strict subs" in use at blib/lib/Apache/AuthenNIS.pm line 80. Bareword "Apache::HTTP_UNAUTHORIZED" not allowed while "strict subs" in use at blib/lib/Apache/AuthenNIS.pm line 86. Bareword "Apache::OK" not allowed while "strict subs" in use at blib/lib/Apache/AuthenNIS.pm line 90. Compilation failed in require at test.pl line 11. BEGIN failed--compilation aborted at test.pl line 11. not ok 1 *** Error code 255 make: Fatal error: Command failed for target `test_dynamic' Here is the problem. In my opinion there is not declaration for Apache::OK Apache::HTTP_UNAUTHORIZED Apache::DECLINED Apache::HTTP_INTERNAL_SERVER_ERROR with mod_perl for apache 1.x. These are only declared and used in mod_perl for apache 2.x. So this version of Apache::AuthenNIS is not backward compatible!?
From: speeves
[guest - Wed May 5 09:12:54 2004]: Show quoted text
> Trying to install Apache::AuthenNIS V0.13 results in following > > # perl Makefile.PL > *** ExtUtils::AutoInstall version 0.56 > *** Checking for dependencies... > [Core Features] > - Net::NIS ...loaded. (0.34) > - mod_perl ...loaded. (1.24) > *** ExtUtils::AutoInstall configuration finished. > glob failed (child exited with status 1) > at /usr/perl5/site_perl/5.005/ExtUtils/AutoInstall.pm line 834. > Writing Makefile for Apache::AuthenNIS > > I think the above failure is not critical but confusing > > > # make > Manifying blib/man3/Apache::AuthenNIS.3 > /usr/perl5/5.00503/bin/pod2man: Unrecognized pod directive in > paragraph > 35 of AuthenNIS.pm: head3 >
Show quoted text
> In my opinion there is no heading level 3 for man pages. This is also > not really a problem but also confusing.
:P Will fix this in the next release. Show quoted text
> > # make test > PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib > -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503 test.pl > 1..1 > Bareword "Apache::HTTP_INTERNAL_SERVER_ERROR" not allowed while > "strict subs" in use at blib/lib/Apache/AuthenNIS.pm line 48. > Bareword "Apache::HTTP_UNAUTHORIZED" not allowed while "strict > subs" in use at blib/lib/Apache/AuthenNIS.pm line 54. > Bareword "Apache::DECLINED" not allowed while "strict subs" in use > at blib/lib/Apache/AuthenNIS.pm line 62. > Bareword "Apache::HTTP_UNAUTHORIZED" not allowed while "strict > subs" in use at blib/lib/Apache/AuthenNIS.pm line 69. > Bareword "Apache::OK" not allowed while "strict subs" in use at > blib/lib/Apache/AuthenNIS.pm line 76. > Bareword "Apache::DECLINED" not allowed while "strict subs" in use > at blib/lib/Apache/AuthenNIS.pm line 80. > Bareword "Apache::HTTP_UNAUTHORIZED" not allowed while "strict > subs" in use at blib/lib/Apache/AuthenNIS.pm line 86. > Bareword "Apache::OK" not allowed while "strict subs" in use at > blib/lib/Apache/AuthenNIS.pm line 90. > Compilation failed in require at test.pl line 11. > BEGIN failed--compilation aborted at test.pl line 11. > not ok 1 > *** Error code 255 > make: Fatal error: Command failed for target `test_dynamic' > > Here is the problem. In my opinion there is not declaration for > Apache::OK > Apache::HTTP_UNAUTHORIZED > Apache::DECLINED > Apache::HTTP_INTERNAL_SERVER_ERROR > with mod_perl for apache 1.x. These are only declared and used in > mod_perl for apache 2.x. So this version of Apache::AuthenNIS is not > backward compatible!?
Yes, it is. It looks to me like it isn't setting the value in $mod_perl::VERSION correctly. Could it be a problem with ExtUtils::AutoInstall with such an old version of Perl? Also, you should upgrade to the newest version of mod_perl (1.29), and see if that fixes the problem. Unfortunately, I don't have a sun box to test on. I just tried the install with my debian woody perl 5.6.1, mod_perl 1.27 box, and it installed correctly :| HTH, speeves cws