You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Frank Wiles <fr...@wiles.org> on 2005/11/18 22:30:18 UTC

Re: Mod_perl2 Install with Apache 2.0.55

On Fri, 18 Nov 2005 13:30:19 -0800
Matt Wells <ch...@wells.vg> wrote:

> Hi all when I 
> 	 # perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs 

  Hi Matt, 

  This is the part of the error you need to pay attention to, 
  it pretty much spells out why it is failing and how to resolve 
  it. 

> [  error] You are running the test suite under user 'root'.
> Apache cannot spawn child processes as 'root', therefore
> we attempt to run the test suite with user 'nobody' (99:99).
> The problem is that the path (including all parent directories):
>   /tmp/mod_perl-2.0.2/t
> must be 'rwx' by user 'nobody', so Apache can read and write under
> that
> path.
> 
> There are several ways to resolve this issue. One is to move and
> rebuild the distribution to '/tmp/' and repeat the 'make test'
> phase. The other is not to run 'make test' as root (i.e. building
> under your /home/user directory).
> 
> You can test whether some directory is suitable for 'make test' under
> 'root', by running a simple test. For example to test a directory
> '/tmp/mod_perl-2.0.2/t', run:
> 
>   % "/usr/local/bin/perl" -Mlib=/tmp/mod_perl-2.0.2/Apache-Test/lib
> -MApache::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(99,
> 99, q[/tmp/mod_perl-2.0.2/t]) }';


 ---------------------------------
   Frank Wiles <fr...@wiles.org>
   http://www.wiles.org
 ---------------------------------