-------- Original Message -------- Subject: FAIL Apache-Test-1.08 i586-linux 2.4.22-4tr Date: Wed, 25 Feb 2004 11:08:11 -0400 (AST) From: [EMAIL PROTECTED] To: cpan-testers@perl.org CC: [EMAIL PROTECTED]
This distribution has been tested as part of the cpan-testers effort to test as many new uploads to CPAN as possible. See http://testers.cpan.org/
Please cc any replies to cpan-testers@perl.org to keep other test volunteers informed and to prevent any duplicate effort. -- This is an error report generated automatically by CPANPLUS, version 0.048.
Below is the error stack during 'make test':
/usr/bin/perl5.8.0 -Iblib/arch -Iblib/lib \
t/TEST -clean
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl5.8.0 /root/.cpanplus/5.8.0/build/Apache-Test-1.08/t/TEST -clean
APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_USER= APACHE_TEST_APXS= \
/usr/bin/perl5.8.0 -Iblib/arch -Iblib/lib \
t/TEST -bugreport -verbose=0
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl5.8.0 /root/.cpanplus/5.8.0/build/Apache-Test-1.08/t/TEST -bugreport -verbose=0
We are now going to configure the Apache-Test framework. This configuration process needs to be done only once.
First we need to know where the 'httpd' executable is located. If you have more than one Apache server is installed, make sure you supply the path to the one you are going to use for testing. You can always override this setting at run time via the '-httpd' option. For example:
% t/TEST -httpd /path/to/alternative/httpd
or via the environment variable APACHE_TEST_HTTPD. For example:
% APACHE_TEST_HTTPD=/path/to/alternative/httpd t/TEST
If for some reason you want to skip the test suite, type: skip
Please provide a full path to 'httpd' executable or choose from the following options:
[1] /usr/sbin/httpd
[1] 1
Next we need to know where the 'apxs' script is located. This script provides a lot of information about the apache installation, and makes it easier to find things. However it's not available on all platforms, therefore it's optional.
If you don't have it installed it's not a problem. Just press Enter.
Notice that if you have Apache 2.x installed that script could be called as 'apxs2'.
If you have more than one Apache server is installed, make sure you supply the path to the apxs script you are going to use for testing. You can always override this setting at run time via the '-apxs' option. For example:
% t/TEST -apxs /path/to/alternative/apxs
or via the environment variable APACHE_TEST_APXS. For example:
% APACHE_TEST_APXS=/path/to/alternative/apxs t/TEST
Please provide a full path to (optional) 'apxs' executable or choose from the following options:
[1] /usr/sbin/apxs
[1] 1
[warning] rerunning '/usr/bin/perl5.8.0 /root/.cpanplus/5.8.0/build/Apache-Test-1.08/t/TEST -bugreport -verbose=0' with new config opts
[warning] root mode: changing the files ownership to 'nobody' (99:99)
[warning] testing whether 'nobody' is able to -rwx /root/.cpanplus/5.8.0/build/Apache-Test-1.08/t
/usr/bin/perl5.8.0 -Mlib=lib -MApache::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(99, 99, q[/root/.cpanplus/5.8.0/build/Apache-Test-1.08/t]) }';
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] No [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/.cpanplus/5.8.0/build/Apache-Test-1.08/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/.cpanplus/5.8.0/build/Apache-Test-1.08/t', run:
% /usr/bin/perl5.8.0 -Mlib=lib -MApache::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(99, 99, q[/root/.cpanplus/5.8.0/build/Apache-Test-1.08/t]) }';
Only if the test prints 'OK', the directory is suitable to be used for testing.
make: *** [run_tests] Error 1
Additional comments: --
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=linux, osvers=2.4.22-4tr, archname=i586-linux
uname='linux borgen.trustix.net 2.4.22-4tr #1 wed oct 29 17:17:31 cet 2003 i686 unknown unknown gnulinux '
config_args='-des -Doptimize=-O3 -fomit-frame-pointer -fno-exceptions -pipe -s -mpentium -mcpu=pentium -march=pentium -ffast-math -fexpensive-optimizations -Dcc=gcc -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dcf_by=Trustix -Dmyhostname=localhost [EMAIL PROTECTED] -Darchname=i586-linux -Dd_dosuid -Duselargefiles=n -Dd_semctl_semun -Ui_db -Di_gdbm -Dman3dir=/usr/share/man/man3 -Dman1dir=/usr/share/man/man1'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=undef usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-fno-strict-aliasing -I/usr/include/gdbm',
optimize='-O3 -fomit-frame-pointer -fno-exceptions -pipe -s -mpentium -mcpu=pentium -march=pentium -ffast-math -fexpensive-optimizations',
cppflags='-fno-strict-aliasing -I/usr/include/gdbm'
ccversion='', gccversion='3.3', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lc -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
libc=/lib/libc-2.3.2.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.3.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com