Please excuse me if this is a little OT.
I have been trying to install Apache::Request from CPAN. It requires Apache::Test, when I try to build Apache::Test I get the following:
Now, yes, I am running the install under root. But I went and chmod'ed the directories and chown'ed them and to no availa it would seem./usr/bin/make -j3 -- OK Running make test /usr/local/bin/perl -Iblib/arch -Iblib/lib \ t/TEST -clean *** setting ulimit to allow core files ulimit -c unlimited; t/TEST -clean APACHE_GROUP= APXS= APACHE_PORT= APACHE_USER= APACHE= \ /usr/local/bin/perl -Iblib/arch -Iblib/lib \ t/TEST -verbose=0 *** setting ulimit to allow core files ulimit -c unlimited; t/TEST -verbose=0 *** root mode: changing the files ownership to 'nobody' (99:99) *** su -m nobody -c '/usr/local/bin/perl -e "print -r q{/root/.cpan/bu +ild/Apache-Test-1.05/t} && -w _ && -x _ ? q{OK} : q{NOK}"' *** result: NOK !!! 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: /root/.cpan/build/Apache-Test-1.05/t must be 'rwx' by user 'nobody', so Apache can read and write under tha +t path. There several ways to resolve this issue. For example move '/root/.cpan/build/Apache-Test-1.05/t' to '/tmp/' and repeat the 'make + test' phase. You can test whether the location is good by running the following tes +t: % su -m nobody -c '/usr/local/bin/perl -e "print -r q{/root/.cpan/bu +ild/Apache-Test-1.05/t} && -w _ && -x _ ? q{OK} : q{NOK}"' make: *** [run_tests] Error 9 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force cpan>
Does anybody have any suggestions?
In reply to Trouble installing Apache::Test as root. by jdtoronto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |