(this is kinda verbose. jumping to the patch at the end is probably just as clear :)
ok, while trying to track down the filter remove problem I removed all traces of mod_perl 2.0 from perl's @INC - everything under Apache2/ as well as Apache2.pm and all the Apache::Test stuff.
it seems that if I do that I can't run make test due Apache2 not being found. Apache2 is now included by default in the various t/TEST scripts due to recent changes in modperl_2_inc_fixup().
/src/bleedperl/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \ t/TEST -clean Can't locate Apache2.pm in @INC
Thanks Geoff, I've applied this patch instead:
--- 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"
: '';
}seems to work for me.
Index: Apache-Test/t/TEST.PL =================================================================== RCS file: /home/cvspublic/httpd-test/perl-framework/Apache-Test/t/TEST.PL,v retrieving revision 1.2 diff -u -r1.2 TEST.PL --- Apache-Test/t/TEST.PL 31 May 2002 15:45:28 -0000 1.2 +++ Apache-Test/t/TEST.PL 2 Apr 2003 18:58:00 -0000 @@ -1,5 +1,3 @@ -#!perl - use strict; use warnings FATAL => 'all';
Index: ModPerl-Registry/t/TEST.PL =================================================================== RCS file: /home/cvspublic/modperl-2.0/ModPerl-Registry/t/TEST.PL,v retrieving revision 1.6 diff -u -r1.6 TEST.PL --- ModPerl-Registry/t/TEST.PL 8 Mar 2003 19:08:41 -0000 1.6 +++ ModPerl-Registry/t/TEST.PL 2 Apr 2003 18:58:00 -0000 @@ -1,5 +1,3 @@ -#!perl - use strict; use warnings FATAL => 'all';
is this related?
__________________________________________________________________ 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
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
