THIS THREAD IS OFFICIALLY RETIRED!!!!

Yes, everthing works (although I still miss being King).

Thank you for your time and effort. I hope others will
benefit from what we went through.

Aloha => Beau.

-----Original Message-----
From: Stas Bekman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 03, 2002 5:33 AM
To: Beau E. Cox
Cc: Modperl
Subject: Re: [mp2] the make test problem saga continues...



>    C. same Apache/Const.pm not found:
>
>       Can't locate Apache/Const.pm in @INC (@INC contains:
[...]
>    D. same tests failed:
>
>       apache/subprocess........FAILED tests 1-4
>           Failed 4/4 tests, 0.00% okay

OK, here is the patch that will 100% :) fix these two problems (apply
manually or just use the cvs version):

Index: Apache-Test/lib/Apache/TestConfigPerl.pm
===================================================================
RCS file:
/home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigPerl.pm
,v
retrieving revision 1.53
diff -u -r1.53 TestConfigPerl.pm
--- Apache-Test/lib/Apache/TestConfigPerl.pm    1 Jul 2002 07:57:15
-0000      1.53
+++ Apache-Test/lib/Apache/TestConfigPerl.pm    3 Dec 2002 15:27:17 -0000
@@ -282,6 +282,13 @@
  sub configure_pm_tests {
      my $self = shift;

+    # since server wasn't started yet, the modules in blib under
+    # Apache2 can't be seen. So we must load Apache2.pm, without which
+    # run_apache_test_config might fail to require modules
+    if ($mod_perl::VERSION > 1.99) {
+        require Apache2;
+    }
+
      for my $subdir (qw(Response Protocol Hooks Filter)) {
          my $dir = catfile $self->{vars}->{t_dir}, lc $subdir;
          next unless -d $dir;


--------------

I hope that now you get a clean make test.

__________________________________________________________________
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



Reply via email to