| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| On Fri, 18 Nov 2005 13:30:19 -0800 Matt Wells <chroot@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 <frank@wiles.org> http://www.wiles.org --------------------------------- |
|
#2
| |||
| |||
| On Fri, 18 Nov 2005 13:30:19 -0800 Matt Wells <chroot@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 <frank@wiles.org> http://www.wiles.org --------------------------------- |
|
#3
| |||
| |||
| On Fri, 18 Nov 2005 13:30:19 -0800 Matt Wells <chroot@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 <frank@wiles.org> http://www.wiles.org --------------------------------- |
|
#4
| |||
| |||
| On Fri, 18 Nov 2005 13:30:19 -0800 Matt Wells <chroot@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 <frank@wiles.org> http://www.wiles.org --------------------------------- |
|
#5
| |||
| |||
| Hi all when I # perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs # make && make test # make install I get an error on the "make test", anyone have any ideas?? I'm running perl 5.8.7 [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/local/bin/perl /tmp/mod_perl-2.0.2/t/TEST -clean APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_USER= APACHE_TEST_APXS= /usr/local/bin/perl -Iblib/arch -Iblib/lib t/TEST -bugreport -verbose=0 [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/local/bin/perl /tmp/mod_perl-2.0.2/t/TEST -bugreport -verbose=0 [warning] root mode: changing the files ownership to 'nobody' (99:99) [warning] testing whether 'nobody' is able to -rwx /tmp/mod_perl-2.0.2/t "/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]) }'; Can't locate Apache2/Build.pm in @INC (@INC contains: /tmp/mod_perl-2.0.2/Apache-Test/lib /usr/local/lib/perl5/5.8.7/i686-linux /usr/local/lib/perl5/5.8.7 /usr/local/lib/perl5/site_perl/5.8.7/i686-linux /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl ..) at /tmp/mod_perl-2.0.2/Apache-Test/lib/Apache/TestConfig.pm line 34. BEGIN failed--compilation aborted at /tmp/mod_perl-2.0.2/Apache-Test/lib/Apache/TestConfig.pm line 35. Compilation failed in require at /tmp/mod_perl-2.0.2/Apache-Test/lib/Apache/Test.pm line 23. BEGIN failed--compilation aborted at /tmp/mod_perl-2.0.2/Apache-Test/lib/Apache/Test.pm line 23. Compilation failed in require at /tmp/mod_perl-2.0.2/Apache-Test/lib/Apache/TestRun.pm line 21. BEGIN failed--compilation aborted at /tmp/mod_perl-2.0.2/Apache-Test/lib/Apache/TestRun.pm line 21. Compilation failed in require. BEGIN failed--compilation aborted. [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): /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]) }'; |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.