The distribution
    Apache-Filter-1.010
has been tested as part of the cpan-testers effort to test as
many new uploads to CPAN as possible.  See
    http://www.perl.org/cpan-testers/

Please cc any replies to [EMAIL PROTECTED] to keep other
test volunteers informed and to prevent any duplicate effort.

-- 
Tested with Apache 1.3.12/mod_perl 1.24.

"make test" fails:
t/filehandle........ok
t/real..............Starting http server... Syntax error on line 11 of 
/sw/WORK/CPAN/build/Apache-Filter-1.010/t/httpd.conf:
LoadModule takes two arguments, a module name and the name of a shared object file to 
load it from
Can't start httpd:  at real.t line 93.
dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED tests 2-9
        Failed 8/9 tests, 11.11% okay
Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------
t/real.t          1   256     9    8  88.89%  2-9
Failed 1/2 test scripts, 50.00% okay. 8/17 subtests failed, 52.94% okay.

The offending line is the first of a few:
LoadModule config_log_module /opt/local/ i386/lib/mod_log_config.so

The file t/httpd.conf is created by t/real.t. The LoadModule lines are
rewritten by this:
        s!(\s[^/\s][\S]+/)!$server_root/$1!;

Since a space character is explicitly included in the (), $1 contains
this as well, making the directive unusable.

I do not really understand what the regex is meant to accomplish, but
I guess it avoids absolute pathes. I propose to use this:
        s!(\s)([^/\s]\S+/)!$1$server_root/$2!;

Note that \s+ is no different from [\S]+.

After removing a few host-specific stumbling blocks, "make test"
ran OK.
--

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=solaris, osvers=7, archname=i86pc-solaris
    uname=''
    hint=previous, useposix=true, d_sigaction=define
    usethreads=undef useperlio=define d_sfio=define
  Compiler:
    cc='gcc', optimize='-O', gccversion=egcs-2.91.57 19980901 (egcs-1.1 release)
    cppflags='-I/opt/local/include'
    ccflags ='-I/opt/local/include'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    alignbytes=4, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags ='-L/opt/local/i386/lib'
    libpth=/opt/local/i386/lib /usr/ccs/lib /usr/lib
    libs=-lbind -lsfio -lsocket -lnsl -lgdbm -ldb -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fPIC', lddlflags='-G -L/opt/local/i386/lib'

Reply via email to