You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jie Gao <J....@isu.usyd.edu.au> on 2007/07/27 08:58:53 UTC

[mod_perl1.99] make test fails

Hi All

I am getting this:

> gmake test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/WASM-Apache2-AuthCookie....#     Failed test (t/WASM-Apache2-AuthCookie.t at line 9)
#     Tried to use 'WASM::Apache2::AuthCookie'.
#     Error:  APR object version 0.01 does not match bootstrap parameter 0.009000 at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 253.
# Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/APR/Const.pm line 18.
# BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/APR/Const.pm line 18.
# Compilation failed in require at /usr/local/src/usyd_modules/WASM-Apache2-AuthCookie-2.00/blib/lib/WASM/Apache2/AuthCookie.pm line 25.
# BEGIN failed--compilation aborted at /usr/local/src/usyd_modules/WASM-Apache2-AuthCookie-2.00/blib/lib/WASM/Apache2/AuthCookie.pm line 25.
# Compilation failed in require at (eval 1) line 2.
# Looks like you failed 1 tests of 1.
t/WASM-Apache2-AuthCookie....dubious
         Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
         Failed 1/1 tests, 0.00% okay
Failed Test                 Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/WASM-Apache2-AuthCookie.t    1   256     1    1 100.00%  1
Failed 1/1 test scripts, 0.00% okay. 1/1 subtests failed, 0.00% okay.
gmake: *** [test_dynamic] Error 2

Can anybody shed some light or provide a pointer for me to debug the problem?

I'm on rhel4.

Cheers,



Jie

Re: [mod_perl1.99] make test fails

Posted by Kurt Hansen <kh...@charityweb.net>.
Hello Jie,

mod_perl 1.99 is a development version and is old and buggy. This may be 
the first of your problems with it.

You probably want to upgrade to a mod_perl 2.0.x. You can find rpms for 
mod_perl at the Centosplus Repository. Here's a link for more info:

http://wiki.centos.org/Repositories/CentOSPlus/CentOSWebStack

I haven't done this myself. Just passing on some information.

Centos4 is the same as rhel4, I believe.

Take care,

Kurt Hansen
khansen@charityweb.net

Jie Gao wrote:
> Hi All
>
> I am getting this:
>
>> gmake test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" 
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/WASM-Apache2-AuthCookie....#     Failed test 
> (t/WASM-Apache2-AuthCookie.t at line 9)
> #     Tried to use 'WASM::Apache2::AuthCookie'.
> #     Error:  APR object version 0.01 does not match bootstrap 
> parameter 0.009000 at 
> /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 253.
> # Compilation failed in require at 
> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/APR/Const.pm 
> line 18.
> # BEGIN failed--compilation aborted at 
> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/APR/Const.pm 
> line 18.
> # Compilation failed in require at 
> /usr/local/src/usyd_modules/WASM-Apache2-AuthCookie-2.00/blib/lib/WASM/Apache2/AuthCookie.pm 
> line 25.
> # BEGIN failed--compilation aborted at 
> /usr/local/src/usyd_modules/WASM-Apache2-AuthCookie-2.00/blib/lib/WASM/Apache2/AuthCookie.pm 
> line 25.
> # Compilation failed in require at (eval 1) line 2.
> # Looks like you failed 1 tests of 1.
> t/WASM-Apache2-AuthCookie....dubious
>         Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED test 1
>         Failed 1/1 tests, 0.00% okay
> Failed Test                 Stat Wstat Total Fail  Failed  List of Failed
> ------------------------------------------------------------------------------- 
>
> t/WASM-Apache2-AuthCookie.t    1   256     1    1 100.00%  1
> Failed 1/1 test scripts, 0.00% okay. 1/1 subtests failed, 0.00% okay.
> gmake: *** [test_dynamic] Error 2
>
> Can anybody shed some light or provide a pointer for me to debug the 
> problem?
>
> I'm on rhel4.
>
> Cheers,
>
>
>
> Jie
>