apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [mp2] NetBSD-1.6.2 modperl 1.99_16 httpd 2.0.51-dev make test errors
Date Tue, 07 Sep 2004 12:58:26 GMT
MGorbunov@imbank.ru wrote:
>>I'd put my $5.00 on APR being the cause of this problem. Mikhail, you
>>will probably need to patch APR when you build Apache. Try this patch,
>>which I am guessing will work on NetBSD:
>>
>>Index: build/apr_hints.m4 
>>===================================================================
>>RCS file: ./srclib/apr/build/apr_hints.m4,v
>>retrieving revision 1.68
>>diff -u -r1.68 apr_hints.m4
>>--- build/apr_hints.m4  12 Aug 2004 13:44:29 -0000      1.68
>>+++ build/apr_hints.m4  27 Aug 2004 06:12:04 -0000
>>@@  -131,6 +131,8 @@
>>         ;;
>>     *-openbsd*)
>>     APR_ADDTO(CPPFLAGS, [-D_POSIX_THREADS])
>>+    APR_SETIFNULL(ac_cv_o_nonblock_inherited, [yes])
>>         ;;
>>     *-netbsd*)
>>     APR_ADDTO(CPPFLAGS, [-DNETBSD])
>>+    APR_SETIFNULL(ac_cv_o_nonblock_inherited, [yes])
>>
>>The problem is that the APR library thinks a socket is blocking by
>>default -- when in fact the reverse is true on some platforms (on
>>OpenBSD, for example).
>>
>>After applying this patch to your Apache, run ./buildconf to rebuild
>>the configure script. Then run ./configure, make, make install.
>>Let me know if it works for you and cc the Apache APR dev list.
> 
> 
> Ken, Stas, done as advised. The only test which is failing now (and was 
> failing before) is:

Mikhail, Ken, please submit that patch to dev /at/ apr.apache.org
http://apr.apache.org/. Hopefully it'll get into 2.0.51 release. Or may be 
it's too late.

> Failed Test             Stat Wstat Total Fail  Failed  List of Failed
> -------------------------------------------------------------------------------
> t/apr-ext/threadmutex.t    2   512     3    6 200.00%  1-3

> Can't locate APR/ThreadMutex.pm in @INC (@INC contains: 
> /usr/home/mgorb/mp-test/mod_perl-1.99_16/Apache-Test 
> /usr/home/mgorb/mp-test/mod_perl-1.99_16/blib/lib 
> /usr/home/mgorb/mp-test/mod_perl-1.99_16/blib/arch 
> /usr/home/mgorb/mp-test/mod_perl-1.99_16/blib/lib/Apache2 
> /usr/home/mgorb/mp-test/mod_perl-1.99_16/blib/arch/Apache2 
> /usr/home/mgorb/mp-test/mod_perl-1.99_16/lib 
> /usr/home/mgorb/mp-test/mod_perl-1.99_16/Apache-Test/lib 
> /usr/home/mgorb/mp-test/mod_perl-1.99_16/t/lib blib/arch/Apache2 
> blib/lib/Apache2 /usr/pkg/lib/perl5/site_perl/5.8.4/i386-netbsd 
> /usr/pkg/lib/perl5/site_perl/5.8.4/i386-netbsd 
> /usr/pkg/lib/perl5/site_perl/5.8.4 
> /usr/pkg/lib/perl5/site_perl/5.8.4/i386-netbsd 
> /usr/pkg/lib/perl5/site_perl/5.8.4 /usr/pkg/lib/perl5/site_perl 
> /usr/pkg/lib/perl5/5.8.4/i386-netbsd /usr/pkg/lib/perl5/5.8.4/i386-netbsd 
> /usr/pkg/lib/perl5/5.8.4 . /usr/pkg/lib/perl5/site_perl/5.8.4/i386-netbsd 
> /usr/pkg/lib/perl5/site_perl/5.8.4 /usr/pkg/lib/perl5/site_perl 
> /usr/pkg/lib/perl5/5.8.4/i386-netbsd /usr/pkg/lib/perl5/5.8.4 .) at 
> /usr/home/mgorb/mp-test/mod_perl-1.99_16/t/lib/TestAPRlib/threadmutex.pm 
> line 18.

Please do:

cd /home/mgorb/mp-test/mod_perl-1.99_16/
find . | grep ThreadMutex

and post it here

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Mime
View raw message