There are two problems:

  C. Apache/Const not found:

  Can't locate Apache/Const.pm in @INC (@INC contains:
    Apache-Test/lib /usr/local/addons/mod_perl-1.99_07/Apache-Test/lib
    /usr/local/addons/mod_perl-1.99_07/lib
    /usr/local/addons/mod_perl-1.99_07/blib/lib
    /usr/local/addons/mod_perl-1.99_07/blib/arch
    /usr/local/addons/mod_perl-1.99_07/t/../Apache-Test/lib
    /usr/local/addons/mod_perl-1.99_07/t/../lib
    /usr/local/addons/mod_perl-1.99_07/t/../../lib
    /usr/lib/perl5/5.8.0/i586-linux-thread-multi
    /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
   .) at
/usr/local/addons/mod_perl-1.99_07/t/response/TestApache/subprocess.pm line
12.
  BEGIN failed--compilation aborted at
    /usr/local/addons/mod_perl-1.99_07/t/response/TestApache/subprocess.pm
line 12.

  Here is where Const.pm (actually several vertsions of them) is
  in the mod_perl tree (looks like the @INC should have
a --/Apache2/Apache--
  in it) (all below are from /usr/local/addons/mod_perl-1.99_07/):

  blib/lib/Apache2/APR:
    -r--r--r--    1 root     root          160 Apr 11  2001 Const.pm
  blib/lib/Apache2/Apache:
    -r--r--r--    1 root     root          324 Aug 28 16:28 Const.pm
  blib/lib/Apache2/ModPerl:
    -r--r--r--    1 root     root          743 Sep  5 07:07 Const.pm
  xs/APR/Const:
    -rw-r--r--    1 beau     mysql         160 Apr 11  2001 Const.pm
  xs/Apache/Const:
    -rw-r--r--    1 beau     mysql         324 Aug 28 16:28 Const.pm
  xs/ModPerl/Const:
    -rw-r--r--    1 beau     mysql         743 Sep  5 07:07 Const.pm
It wants /usr/local/addons/mod_perl-1.99_07/blib/lib/Apache2/Apache/Const.pm
but for some reason blib/lib/Apache2 is not in the path. modperl_extra.pl loads Apache2, so @INC should be adjusted.

What happens if you run this test standalone, like so:

t/TEST apache/subprocess

even better in a verbose mode:

t/TEST -v apache/subprocess

(watch the error_log)

The second problem manifestates in the error_log file:

  [Mon Dec 02 05:08:38 2002] [error] [client 127.0.0.1] mkdir
/usr/local/addons/mod_perl-1.99_07/t/htdocs/perlio: Permission denied at
/usr/local/addons/mod_perl-1.99_07/Apache-Test/lib/Apache/TestUtil.pm line
128
it tries to create a new dir 'perlio' in the dir 'htdocs' and fails.

Apparently your umask is set to some value that when untarring the package the writable bits weren't set. What does the following show?
cd /usr/local/addons/mod_perl-1.99_07/
ls -dl t/htdocs

You are not the first to report this problem. I suppose we should add some code to check that t/htdocs is writable.

BTW, when you have tests failing, run them separately and then you will immediately what errors are relevant for this test. You can even tell it to run/skip specific subtests...

  MaxClients (in t/conf/httpd.conf):
  ...
  <IfModule worker.c>
    StartServers         1
    MaxClients           1
    MinSpareThreads      1
  ...
  Tried setting it to 150 before make test, but he sets it back to 1!
if you read the head of that file, it's autogenerated and all your changes will be overwritten. If you really want to change it (and most likely you don't, since some test rely on the fact that there is only one process/thread that responds, read the Apache::Test guide here:
http://perl.apache.org/docs/general/testing/testing.html#Starting_Multiple_Servers

  G. I hope you folks don't think I'm just dumping this on you;
     I have tried everthing I could think of before reporting;
	 I'm really trying to RTFM and learn while I'm doing...
You are doing the right thing. Your last report was very comprehensive, now we need to figure out why your system behaves differently than mine :)

And you are doing a great service of shaking all those problems out for the many users to come. (hint, hint... :)

__________________________________________________________________
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