| Posted on 2005-11-17 08:41:56-08 by anne |
| problem on FreeBSD 5.3 |
|
I got the following FreeBSD ports installed: Apache 2.0.54_2 and mod_perl2-2.0.2,2
When I install AuthenPasswd I get this:
voyager# perl -MCPAN -e 'install Apache::AuthenPasswd'
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Wed, 16 Nov 2005 07:58:21 GMT
Running install for module Apache::AuthenPasswd
Running make for S/SP/SPEEVES/Apache-AuthenPasswd-0.12.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /root/.cpan/sources/authors/id/S/SP/SPEEVES/Apache-AuthenPasswd-0.12.tar.gz ok
Scanning cache /root/.cpan/build for sizes
x Apache-AuthenPasswd-0.12/
x Apache-AuthenPasswd-0.12/AuthenPasswd.pm
x Apache-AuthenPasswd-0.12/Changes
x Apache-AuthenPasswd-0.12/MANIFEST
x Apache-AuthenPasswd-0.12/Makefile.PL
x Apache-AuthenPasswd-0.12/README
x Apache-AuthenPasswd-0.12/test.pl
Removing previously used /root/.cpan/build/Apache-AuthenPasswd-0.12
CPAN.pm: Going to build S/SP/SPEEVES/Apache-AuthenPasswd-0.12.tar.gz
**************** NOTICE *********************
Please, please, realize that this module will
only work with passwords that are stored in
/etc/passwd. Most systems use shadow
passwords now, and the call that this module
uses to access the password ONLY checks for
the password in the /etc/passwd file. Also,
the call that is needed to access passwords
in /etc/shadow cannot be called by anyone
other than root, so, (unless you are crazy
enough to run apache as root), you will not
be able to access /etc/shadow.
For more info on shadow passwords:
http://www.tldp.org/HOWTO/Shadow-Password-HOWTO.html
For alternatives that can access /etc/shadow from
apache:
http://mod-auth-shadow.sourceforge.net/
*********************************************
**************** 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]
- mod_perl ...missing.
==> Auto-install the 1 mandatory module(s) from CPAN? [y] n
==> The module(s) are mandatory! Really skip? [n] y
*** ExtUtils::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Writing Makefile for Apache::AuthenPasswd
cp AuthenPasswd.pm blib/lib/Apache/AuthenPasswd.pm
Manifying blib/man3/Apache::AuthenPasswd.3
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..1
Can't locate mod_perl.pm in @INC (@INC contains: blib/lib blib/arch /usr/local/lib/perl5/site_perl/
+5.8.5/mach /us
r/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.5/BSDPAN
+/usr/local/lib
/perl5/5.8.5/mach /usr/local/lib/perl5/5.8.5 .) at blib/lib/Apache/AuthenPasswd.pm line 4.
BEGIN failed--compilation aborted at blib/lib/Apache/AuthenPasswd.pm line 4.
Compilation failed in require at test.pl line 11.
BEGIN failed--compilation aborted at test.pl line 11.
not ok 1
*** Error code 2
Stop in /root/.cpan/build/Apache-AuthenPasswd-0.12.
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
voyager#
I also tried compiling mod_perl2. There's no mod_perl.pm anywhere.
|
| Direct Responses: Write a response |