I've searched the list archives for relevant postings, and I found a couple of messages with similar problems, but no answers. I think I've included all relevant details. Please let me know if there is something else I should add.[...]
I'm working with a fresh install of RedHat 7.3. Perl is v5.8.0 compiled from source. I built it with support for ithreads. Apache is 2.0.46. To install Apache I did:
Thanks for the detailed report Tim.
[Tue Jun 10 12:16:19 2003] [error] failed to resolve handler `TestHooks::trans'
[Tue Jun 10 12:16:19 2003] [error] [client 127.0.0.1] Can't locate TestHooks/trans.pm in @INC (@INC contains: Apache-Test/lib /root/mod_perl-1.99_09/Apache-Test/lib /root/mod_perl-1.99_09/lib /root/mod_perl-1.99_09/blib/lib /root/mod_perl-1.99_09/blib/arch /root/mod_perl-1.99_09/t/response /root/mod_perl-1.99_09/t/protocol /root/mod_perl-1.99_09/t/preconnection /root/mod_perl-1.99_09/t/hooks /root/mod_perl-1.99_09/t/filter /root/mod_perl-1.99_09/t /root/mod_perl-1.99_09/t/htdocs/testdirective/perlmodule-vh /root/mod_perl-1.99_09/t/htdocs/testdirective/main /usr/local/lib/perl5/5.8.0/i686-linux-thread-multi /usr/local/lib/perl5/5.8.0 /usr/local/lib/perl5/site_perl/5.8.0/i686-linux-thread-multi /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl /root/mod_perl-1.99_09/t/ /root/mod_perl-1.99_09/t/lib/perl) at (eval 51) line 3.
Looks like you encounter permission problems. Since you have /root/mod_perl-1.99_09/t/hooks in the path. I'm pretty sure that if you build/test as a normal user and only su to install, everything will work just fine.
We try to provide a workaround for testing with root and what we do is chown the files to the uid/gid the server is configured to run with. This is because the server can't be run as root for security reasons. Can you do:
grep User t/conf/httpd.conf
it tries to pick the 'httpd' or 'nobody' user to run the tests with. If you don't have such user on your machine this may explain the problem you are having.
Also, I'd like to see the output of 'make test', since it tells me when it chowns the files and to which uid/gid.
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com