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 [EMAIL PROTECTED] to keep other
test volunteers informed and to prevent any duplicate effort.
        
--
This is an error report generated automatically by CPANPLUS,
version 0.049.

Below is the error stack during 'make test':

/usr/bin/perl Makefile.PL --config= 
--installdeps=Apache::Request,0.31_03,XML::LibXML,1.51,XML::LibXSLT,1.49
*** Installing dependencies...
*** Installing Apache::Request...
[   info] generating script t/TEST
Writing Makefile for libapreq
Warning: -L../blib/arch/auto/libapreq changed to 
-L/root/.cpanplus/5.8.4/build/libapreq-1.3/Request/../blib/arch/auto/libapreq
Writing Makefile for Apache::Request
Warning: -L../blib/arch/auto/libapreq changed to 
-L/root/.cpanplus/5.8.4/build/libapreq-1.3/Cookie/../blib/arch/auto/libapreq
Writing Makefile for Apache::Cookie
Writing Makefile for libapreq
make[1]: Entering directory `/root/.cpanplus/5.8.4/build/libapreq-1.3'
make[2]: Entering directory `/root/.cpanplus/5.8.4/build/libapreq-1.3/c'
make[2]: Leaving directory `/root/.cpanplus/5.8.4/build/libapreq-1.3/c'
make[2]: Entering directory `/root/.cpanplus/5.8.4/build/libapreq-1.3/Request'
make[2]: Leaving directory `/root/.cpanplus/5.8.4/build/libapreq-1.3/Request'
make[2]: Entering directory `/root/.cpanplus/5.8.4/build/libapreq-1.3/Cookie'
make[2]: Leaving directory `/root/.cpanplus/5.8.4/build/libapreq-1.3/Cookie'
/usr/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -clean
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl /root/.cpanplus/5.8.4/build/libapreq-1.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/.cpanplus/5.8.4/build/libapreq-1.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/.cpanplus/5.8.4/build/libapreq-1.3/t
"/usr/bin/perl" -Mlib=/usr/lib/perl5/site_perl/5.8.4/i686-linux -MApache::TestRun -e 
'eval { Apache::TestRun::run_root_fs_test(99, 99, 
q[/root/.cpanplus/5.8.4/build/libapreq-1.3/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] [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.4/build/libapreq-1.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/.cpanplus/5.8.4/build/libapreq-1.3/t', run:

  % "/usr/bin/perl" -Mlib=/usr/lib/perl5/site_perl/5.8.4/i686-linux -MApache::TestRun 
-e 'eval { Apache::TestRun::run_root_fs_test(99, 99, 
q[/root/.cpanplus/5.8.4/build/libapreq-1.3/t]) }';

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

make[1]: Leaving directory `/root/.cpanplus/5.8.4/build/libapreq-1.3'
make[1]: *** [run_tests] Error 1
MAKE TEST failed! - No such file or directory in CPANPLUS::Internals::Make::_make at 
Sun May 30 12:57:02 2004 at /usr/lib/perl5/site_perl/5.8.4/CPANPLUS/Internals/Make.pm 
line 503
An error occurred handling module Apache::Request in 
CPANPLUS::Internals::Install::_install_module at Sun May 30 12:57:02 2004 at 
/usr/lib/perl5/site_perl/5.8.4/CPANPLUS/Internals/Install.pm line 170
Installing  failed! in CPANPLUS::Backend::install at Sun May 30 12:57:02 2004 at 
/usr/lib/perl5/site_perl/5.8.4/CPANPLUS/Backend.pm line 255
*** Apache::Request installation cancelled.
*** Installing XML::LibXML...
enable native perl UTF8
running xml2-config...
using fallback values for LIBS and INC
options:
  LIBS='-L/usr/local/lib -L/usr/lib -lxml2 -lm'
  INC='-I/usr/local/include -I/usr/include'
If this is wrong, Re-run as:
  $ /usr/bin/perl Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'

looking for -lxml2... Warning: prerequisite XML::LibXML::Common 0 not found.
yes
Note (probably harmless): No library found for -lxml2
Writing Makefile for XML::LibXML
enable native perl UTF8
running xml2-config... using fallback values for LIBS and INC
failed
options:
  LIBS='-L/usr/local/lib -L/usr/lib -lxml2 -lz -lm'
  INC='-I/usr/local/include -I/usr/include'
If this is wrong, Re-run as:
  $ /usr/bin/perl Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'

looking for -lxml2... yes
Note (probably harmless): No library found for -lxml2
Writing Makefile for XML::LibXML::Common
MAKE failed! - No such file or directory in CPANPLUS::Internals::Make::_make at Sun 
May 30 12:57:11 2004 at /usr/lib/perl5/site_perl/5.8.4/CPANPLUS/Internals/Make.pm line 
462
enable native perl UTF8
running xml2-config...
using fallback values for LIBS and INC
options:
  LIBS='-L/usr/local/lib -L/usr/lib -lxml2 -lm'
  INC='-I/usr/local/include -I/usr/include'
If this is wrong, Re-run as:
  $ /usr/bin/perl Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'

looking for -lxml2... Warning: prerequisite XML::LibXML::Common 0 not found.
yes
Note (probably harmless): No library found for -lxml2
Writing Makefile for XML::LibXML
*** XML::LibXML installation cancelled.
*** Installing XML::LibXSLT...
FLAG SET! FAIL! at /usr/lib/perl5/site_perl/5.8.4/CPANPLUS/Internals/Make.pm line 286.
An error occurred handling module XML::LibXML::Common in 
CPANPLUS::Internals::Install::_install_module at Sun May 30 12:57:15 2004 at 
/usr/lib/perl5/site_perl/5.8.4/CPANPLUS/Internals/Install.pm line 170
An error occurred handling module XML::LibXML in 
CPANPLUS::Internals::Install::_install_module at Sun May 30 12:57:15 2004 at 
/usr/lib/perl5/site_perl/5.8.4/CPANPLUS/Internals/Install.pm line 170
Installing  failed! in CPANPLUS::Backend::install at Sun May 30 12:57:15 2004 at 
/usr/lib/perl5/site_perl/5.8.4/CPANPLUS/Backend.pm line 255
Can't locate XML/LibXML.pm in @INC (@INC contains: /usr/lib/perl5/5.8.4/i686-linux 
/usr/lib/perl5/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux 
/usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl 
/usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 
/usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 
/usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl/5.005 
/usr/lib/perl5/site_perl/5.8.4/i686-linux /usr/lib/perl5/site_perl/5.8.4 
/usr/lib/perl5/site_perl /usr/lib/perl5/site_perl/5.005/i386-linux . .) at Makefile.PL 
line 16.
BUILDING Makefile failed! - No such file or directory in 
CPANPLUS::Internals::Make::_make at Sun May 30 12:57:16 2004 at 
/usr/lib/perl5/site_perl/5.8.4/CPANPLUS/Internals/Make.pm line 229
An error occurred handling module XML::LibXSLT in 
CPANPLUS::Internals::Install::_install_module at Sun May 30 12:57:16 2004 at 
/usr/lib/perl5/site_perl/5.8.4/CPANPLUS/Internals/Install.pm line 170
Installing  failed! in CPANPLUS::Backend::install at Sun May 30 12:57:16 2004 at 
/usr/lib/perl5/site_perl/5.8.4/CPANPLUS/Backend.pm line 255
*** XML::LibXSLT installation cancelled.
*** ExtUtils::AutoInstall installation finished.
make[1]: Entering directory `/root/.cpanplus/5.8.4/build/AxKit-1.62/lib/Apache/AxKit'
make[1]: Leaving directory `/root/.cpanplus/5.8.4/build/AxKit-1.62/lib/Apache/AxKit'
/usr/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -clean
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl /root/.cpanplus/5.8.4/build/AxKit-1.62/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/.cpanplus/5.8.4/build/AxKit-1.62/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/.cpanplus/5.8.4/build/AxKit-1.62/t
"/usr/bin/perl" -Mlib=/usr/lib/perl5/site_perl/5.8.4/i686-linux -MApache::TestRun -e 
'eval { Apache::TestRun::run_root_fs_test(99, 99, 
q[/root/.cpanplus/5.8.4/build/AxKit-1.62/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] [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.4/build/AxKit-1.62/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.4/build/AxKit-1.62/t', run:

  % "/usr/bin/perl" -Mlib=/usr/lib/perl5/site_perl/5.8.4/i686-linux -MApache::TestRun 
-e 'eval { Apache::TestRun::run_root_fs_test(99, 99, 
q[/root/.cpanplus/5.8.4/build/AxKit-1.62/t]) }';

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

make: *** [run_tests] Error 1



Additional comments:

Hello, Matt Sergeant! Thanks for uploading your works to CPAN.

I noticed that the test suite seem to fail without these modules:

XML::LibXML

As such, adding the prerequisite module(s) to 'PREREQ_PM' in your
Makefile.PL should solve this problem.  For example:

WriteMakefile(
    AUTHOR      => 'Matt Sergeant ([EMAIL PROTECTED])',
    ... # other information
    PREREQ_PM   => {
        'XML::LibXML'   => '0', # or a minimum workable version
    }
);

If you are interested in making a more flexible Makefile.PL that can
probe for missing dependencies and install them, ExtUtils::AutoInstall
at <http://search.cpan.org/dist/ExtUtils-AutoInstall/> may be
worth a look.

Thanks! :-)

******************************** NOTE ********************************
The comments above are created mechanically, possibly without manual
checking by the sender.  Also, because many people perform automatic
tests on CPAN, chances are that you will receive identical messages
about the same problem.

If you believe that the message is mistaken, please reply to the first
one with correction and/or additional information, and do not take
it personally.  We appreciate your patience. :)
**********************************************************************

--

Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
  Platform:
    osname=linux, osvers=2.2.25raid, archname=i686-linux
    uname='linux cadence.thinkers.org 2.2.25raid #4 mon sep 29 17:16:59 edt 2003 i686 
unknown '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O2',
    cppflags='-fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm'
    ccversion='', gccversion='egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)', 
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=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lposix
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc -lposix
    libc=/lib/libc-2.1.3.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.1.3'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Reply via email to