[Ilugc] Fwd: The results of your email commands

  • From: ravi.goglobium@xxxxxxxxx (Ravi Jaya)
  • Date: Mon Sep 3 16:29:07 2007

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

# perl Makefile.PL
# make test
cd "src/modules/perl" && make
make[1]: Entering directory `/root/mod_perl-2.0.3/src/modules/perl'
make[1]: Nothing to be done for `all'.
make[2]: Entering directory `/root/mod_perl-2.0.3/xs/ModPerl'
:
:
:
make[3]: Entering directory `/root/mod_perl-2.0.3/xs/ModPerl/Const'
make[3]: Leaving directory `/root/mod_perl-2.0.3/xs/ModPerl/Const'
make[2]: Leaving directory `/root/mod_perl- 2.0.3/xs/ModPerl'
make[1]: Leaving directory `/root/mod_perl-2.0.3/xs'
/usr/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -clean
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl /root/mod_perl- 2.0.3/t/TEST -clean
APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_USER=
APACHE_TEST_APXS= \
/usr/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -bugreport -verbose=0
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl /root/mod_perl-2.0.3/t/TEST -bugreport
-verbose=0
[warning] root mode: changing the files ownership to 'nobody' (99:99)
[warning] testing whether 'nobody' is able to -rwx /root/mod_perl- 2.0.3/t
"/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])
}';

[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]) }';

Only if the test prints 'OK', the directory is suitable to be used for
testing.



Running the test suite is important to make sure that the module that
you are about to install works on your system. If you choose not to
run the test suite and you have a problem using this module, make sure
to return and run this test suite before reporting any problems to the
developers of this module.

Skip the test suite? [No]
make: *** [run_tests] Error 1

thanks
Ravi

Other related posts: