[Ilugc] Fwd: The results of your email commands

  • From: lug@xxxxxxxxxxxxxxxxxx (Chandrashekar Babu)
  • Date: Mon Sep 3 22:11:15 2007

Ravi Jaya wrote:

Hello everyone,
i installed apache2, perl5.8.8 and i tried to install mod_perl2 . when  i
ran the  make test command, the  test report some error messages, i cant
interperate it. please do help me, let me wanna know where am i going wrong
  
[snip]
[warning] result:
[  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):
  /root/mod_perl- 2.0.3/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
'/root/mod_perl-2.0.3/t', run:

  % "/usr/bin/perl" -Mlib=/root/mod_perl-2.0.3/Apache-Test/lib
-MApache::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(99, 99,
q[/root/mod_perl-2.0.3/t]) }';
  
The above paragraph clearly explains the issue. You are trying
to do a 'make test' within a directory where the user 'nobody'
has no write permissions.

 From within your build directory, temporarily try the following command:
  chown -R nobody:nobody .

Then do a 'make test'

Check if this solves the issue.

Cheers!
-- 
Chandrashekar Babu.,
FOSS Technologist,
http://www.chandrashekar.info/



Other related posts: