I tried it with the lastest snapshot, and the patch below. I still get the following in the error_log
[Thu Apr 03 16:49:00 2003] [error] failed to resolve handler `TestHooks::trans'
[Thu Apr 03 16:49:00 2003] [error] [client 127.0.0.1] Can't locate TestHooks/tra
ns.pm in @INC (@INC contains: /home/rhensle/modperl-2.0/t /usr/lib/perl5/site_pe
rl/5.6.1/i386-linux/Apache2 /home/rhensle/modperl-2.0/Apache-Test/lib /home/rhen
sle/modperl-2.0/lib /home/rhensle/modperl-2.0/blib/lib /home/rhensle/modperl-2.0
/blib/arch /home/rhensle/modperl-2.0/t/response /home/rhensle/modperl-2.0/t/prot
ocol /home/rhensle/modperl-2.0/t/preconnection /home/rhensle/modperl-2.0/t/hooks
/home/rhensle/modperl-2.0/t/filter /home/rhensle/modperl-2.0/t/htdocs/testdirec
tive/main /home/rhensle/modperl-2.0/t/htdocs/testdirective/perlmodule-vh /usr/li
b/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i38
This was the second problem I encountered after I fixed the first.pm problem. I fixed
this by adding a PerlModule TestHooks::trans to the httpd.conf in my original patches
I sent.
Richard
-----Original Message-----
From: Stas Bekman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 03, 2003 4:32 PM
Cc: Hensley, Richard; '[EMAIL PROTECTED]'
Subject: Re: [mp2.0] make test failure in mod_perl 1.99_08
Stas Bekman wrote:
> Hensley, Richard wrote:
>
>> Unfortunately, I can not access cvs from behind the corporate
>> firewall. I was using the contents of mod_perl-2.0-current.tar.gz,
>> which is the best I can do. Sorry.
>
>
> You can get the latest cvs snapshots here:
> http://cvs.apache.org/snapshots/modperl-2.0/
You will also need to apply this patch after you download the snapshot, unless
you pick the snapshot 5 hours from now, which will already include it.
Thanks to Geoff for the heads up!
--- Apache-Test/lib/Apache/TestConfig.pm 27 Mar 2003 07:57:06 -0000
1.148
+++ Apache-Test/lib/Apache/TestConfig.pm 4 Apr 2003 00:27:47 -0000
@@ -113,7 +113,9 @@
sub server { shift->{server} }
sub modperl_2_inc_fixup {
- (eval { require mod_perl } && $mod_perl::VERSION >= 1.99)
+
+ (eval { require mod_perl } && $mod_perl::VERSION >= 1.99 &&
+ eval { require Apache::Build } && !Apache::Build::IS_MOD_PERL_BUILD())
? "use Apache2;\n"
: '';
}
__________________________________________________________________
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