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!?