You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Mike Zelina <mi...@zdginc.com> on 2003/04/28 19:00:31 UTC

RE: mod_perl-1.99_09 win32 "nmake test" - success!

>   In making up httpd.conf for the mod_perl tests, the httpd.conf
> found beneath what you specified for MP_AP_PREFIX is parsed, and
> any LoadModule directives used are included in mod_perl's
> httpd.conf (except for that related to mod_perl.so).

Sure enough, that was it...  Got everything compiled and ran the tests.
Here's excerpts from the parts that failed and the summary.  I'm now
digging through the mod_perl docs to try and decipher how these tests
work.  Looking at the the t/xxx/yyy.t files don't tell me much...

I've also included the error_log at the end of the message...

Thanks for all your help! Mike

apr\socket.....................1..4
# Running under perl version 5.008 for MSWin32
# Win32::BuildNumber 804
# Current time local: Mon Apr 28 09:46:11 2003
# Current time GMT:   Mon Apr 28 16:46:11 2003
# Using Test.pm version 1.23
ok 1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>200 OK</title>
</head><body>
<h1>OK</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 @@ServerAdmin@@ and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>
FAILED tests 2-4
	Failed 3/4 tests, 25.00% okay

...

compat\apache..................1..8
# Running under perl version 5.008 for MSWin32
# Win32::BuildNumber 804
# Current time local: Mon Apr 28 09:46:11 2003
# Current time GMT:   Mon Apr 28 16:46:11 2003
# Using Test.pm version 1.23
# testing : Apache->gensym
# expected: 'GLOB'
# received: 'GLOB'
ok 1
# testing : Apache::module('mod_perl.c')
# expected: 1
# received: 1
ok 2
# testing : Apache::module('mod_ne_exists.c')
# expected: 0
# received: 0
ok 3
# testing : Apache->define
# expected: 1
# received: 1
ok 4
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>200 OK</title>
</head><body>
<h1>OK</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 @@ServerAdmin@@ and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>
FAILED tests 5-8
	Failed 4/8 tests, 50.00% okay

...

modperl\current_callback.......dubious
	Test returned status 9 (wstat 2304, 0x900)


protocol\eliza.................1..0 # skipped: cannot find module 'Chatbot::Eliza'
skipped
        all skipped: cannot find module 'Chatbot::Eliza'
Failed Test                Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
apr\socket.t                              4    3  75.00%  2-4
compat\apache.t                           8    4  50.00%  5-8
modperl\current_callback.t    9  2304    ??   ??       %  ??
4 tests skipped.


Relevant Parts of error_log
===========================

[error] [client 192.168.0.3] Can't locate object method "timeout_get" via package "APR::Socket" at
G:\mod_perl\modperl-2.0\t\response/TestAPR/socket.pm line 34.
[error] [client 192.168.0.3] Undefined subroutine &Apache::current_callback called at
G:\mod_perl\modperl-2.0\t\response/TestCompat/apache.pm line 37.
[error] [client 192.168.0.3] Undefined subroutine &TestError::runtime::no_such_func called at
G:\mod_perl\modperl-2.0\t\response/TestError/runtime.pm line 19.
[error] failed to resolve handler `TestError::syntax'
[error] [client 192.168.0.3] syntax error at G:\mod_perl\modperl-2.0\t\response/TestError/syntax.pm line 22, near "\;"
Compilation failed in require at (eval 112) line 3.

[Mon Apr 28 09:47:11 2003] [error] [client 192.168.0.3] Undefined subroutine &Apache::current_callback called at
G:\mod_perl\modperl-2.0\t\response/TestModperl/current_callback.pm line 35.
[Mon Apr 28 09:47:11 2003] [error] [client 192.168.0.3] Undefined subroutine &Apache::current_callback called at
G:\mod_perl\modperl-2.0\t\response/TestModperl/current_callback.pm line 35.

[Mon Apr 28 09:47:19 2003] [error] [client 192.168.0.3] need AuthName: /TestModperl__setauth


RE: mod_perl-1.99_09 win32 "nmake test" - success!

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Mon, 28 Apr 2003, Mike Zelina wrote:

> [ ... ]  Got everything compiled and ran the tests.
> Here's excerpts from the parts that failed and the summary.  I'm now
> digging through the mod_perl docs to try and decipher how these tests
> work.  Looking at the the t/xxx/yyy.t files don't tell me much...
[ .. ]
> Failed Test                Stat Wstat Total Fail  Failed  
> apr\socket.t                              4    3  75.00%  2-4
> compat\apache.t                           8    4  50.00%  5-8
> modperl\current_callback.t    9  2304    ??   ??       %  ??

Did you do an 'nmake distclean' before rebuilding, or
alternatively start from fresh sources? I've had sporadic
failures sometimes when trying to continue a build from a
previously failed attempt, which a clean start fixes. Also, what
Apache version do you have?

-- 
best regards,
randy