Title: RE: [mp2.0] make test failure in mod_perl 1.99_08

As an aside, one of the interesting issues that I ran across when running make test was the following:

/usr/local/apache2/bin/httpd  -d /home/rhensle/modperl-2.0/t -f /home/rhensle/mo
dperl-2.0/t/conf/httpd.conf -DAPACHE2
using Apache/2.0.44-dev (prefork MPM)

waiting for server to start: .No -M allowed while running setuid.
perl_parse: Address family not supported by protocol
!!!
server has died with status 1 (please examine t/logs/error_log)
make: *** [run_tests] Error 143

I think this occurs because my apache2 is located in /usr/local/apache2 and installed by root. The user that I built mod_perl with is not root, therefore it sqawks. I overcame this by building mod_perl as root. I also

had to run the tests as root, but I think that some of the tests will eventually fail in this mode.

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

Reply via email to