Nick Tonkin wrote:
On Fri, 17 Jan 2003, Nick Tonkin wrote:


Hey all,

Building the latest mp2 I get:
protocol/echo_filter.........ok Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
apr/threadmutex.t 3 3 100.00% 1-3
*** server localhost.rlnt.net:8529 shutdown
!!! error running tests (please examine t/logs/error_log)
*** Error code 1
Nick et al, please submit a complete bug report as explained here:
http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems
(linked from the shortcuts menu!).

Based on the previous thread I'd guess that you are using a prefork mpm with non-threaded perl.

The perl error was that APR/ThreadMutex.pm was not found. But it's right
next to everything else.
Please specify the exact error mesasge, not the rephrasing version of it.
2.0 is trying to be very smart about finding the modules the handlers reside in. And so far it seems to create more trouble than help. The real error wasn't that the file wasn't found. Please try again with the patch below. It's not a patch destined to go in, but just to see that the real problem is elsewhere.

I changed the 'require APR::ThreadMutex' to 'use APR::ThreadMutex'
(outside the handler() sub) anow test suite skips the threadmutex.pm test.

What does this mean?
Again, the autogenerated client test would report skipped, when there was an error. I've fixed it in the cvs. please try again with the cvs version, where the client aborts the test rather than skipping it, when the server side fails.

Here is something to try with the prev error

Index: src/modules/perl/modperl_util.c
===================================================================
RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_util.c,v
retrieving revision 1.50
diff -u -r1.50 modperl_util.c
--- src/modules/perl/modperl_util.c 11 Jan 2003 00:02:16 -0000 1.50
+++ src/modules/perl/modperl_util.c 19 Jan 2003 02:07:30 -0000
@@ -15,7 +15,7 @@
POPSTACK;

if (SvTRUE(ERRSV)) {
- if (logfailure) {
+ if (1) {
(void)modperl_errsv(aTHX_ HTTP_INTERNAL_SERVER_ERROR,
NULL, NULL);
}



__________________________________________________________________
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

Reply via email to