I have resolved my problems, but I am not sure if this highlights a possible error in the make scripts.
I realised I was root, but installing from the directory "/home/richard"
If I did the following as root (in /home/richard):
tar -xzf mod_perlxxxx.tar.gz
cd mod_perl...
perl ./Makefile.PL MP_AP_PREFIX=/usr/local/apache2 MP_INST_APACHE2=1
make
make test
all tests fail.
By removing the mod_perlxxx directoy, and redoing all as a normal user (richard), this worked fine.
Richard
Hi - I went through test failures (but not all) recently.With Stas's help, here's what I did:Downloaded the CVS source - Stas made a chage thatficed my problems. See the 2.0 docs for how-to.If you did this under root, chown -R user:group mod_perl-2.0where user:group is a normal user (does not have to be the httpd.conf User/Group) and mod_perl-2.0 is the directory in which lies the CVS source.login as that user.run your perl Makefile.PL ..., make and make test.if all is well (I hope), and you are installing a system-widemod_perl, login back in as root _before_ you make install. Good luck. Aloha => Beau. -----Original Message----- From: Stephen Clouse [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 3:33 PM To: Richard Curtis Cc: [EMAIL PROTECTED] Subject: Re: All tests fail with Apache/2.0.43 (Unix) mod_perl/1.99_07-dev -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, Dec 05, 2002 at 09:47:04PM +0000, Richard Curtis wrote:Hi. I have just installed and compiled perl 5.6.1, compiled Apache 2.0.43 (with ssl support), and tried to get mod_perl 1.99_07-dev to work. mod_perl compiles, but when I run "make test" all tests fail. Below is the first bit of output from the t/logs/error_log I have looked on the newsgroups and google for answers but I am now lost. Can anybody help to shed some more light on this ? More info can be made available if people need it.[snip][Thu Dec 05 21:18:23 2002] [error] Can't locate TestHooks/trans.pm in @INC (@INC contains: /home/richard/mod_perl-1.99_07/tMore than likely permissions problems on your mod_perl directory -- particularly if you're building mod_perl as root (since Apache runs as nobody in that case). - -- Stephen Clouse <[EMAIL PROTECTED]> Senior Programmer, IQ Coordinator Project Lead The IQ Group, Inc. <http://www.theiqgroup.com/> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE97/5MA4aoazQ9p2cRAr/WAKDPF9s8NT8yMJjQKfk1/wka8xFEogCg8nMA OrvQKgjpKmW12EEU7O3o6AI= =fHlk -----END PGP SIGNATURE-----