Apache::Test がテストできない件
cpan[2]> test Apache::Test Running test for module 'Apache::Test' Running make for P/PH/PHRED/Apache-Test-1.30.tar.gz Has already been unwrapped into directory /home/setup/.cpan/build/Apache-Test-1.30-aZCAfS Has already been made Running make test /usr/bin/perl -Iblib/arch -Iblib/lib \ t/TEST -clean [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/bin/perl /home/setup/.cpan/build/Apache-Test-1.30-aZCAfS/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 /home/setup/.cpan/build/Apache-Test-1.30-aZCAfS/t/TEST -bugreport -verbose=0 [warning] root mode: changing the files ownership to 'nobody' (99:99) [warning] testing whether 'nobody' is able to -rwx /home/setup/.cpan/build/Apache-Test-1.30-aZCAfS/t "/usr/bin/perl" -Mlib=lib -MApache::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(99, 99, q[/home/setup/.cpan/build/Apache-Test-1.30-aZCAfS/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): /home/setup/.cpan/build/Apache-Test-1.30-aZCAfS/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 '/home/setup/.cpan/build/Apache-Test-1.30-aZCAfS/t', run: % "/usr/bin/perl" -Mlib=lib -MApache::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(99, 99, q[/home/setup/.cpan/build/Apache-Test-1.30-aZCAfS/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] エラー 1 PHRED/Apache-Test-1.30.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports PHRED/Apache-Test-1.30.tar.gz Failed during this command: PHRED/Apache-Test-1.30.tar.gz : make_test NO
というような辺りは今晩またやりたいがどうなるかわからん。とりあえず専門家に聞いてくる。→つうかCPANのbuildディレクトリの掘り方が変わった?よくわからんので調べよう。