Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 71086 invoked from network); 20 Jun 2004 23:01:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 20 Jun 2004 23:01:15 -0000 Received: (qmail 66106 invoked by uid 500); 20 Jun 2004 23:01:03 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 66079 invoked by uid 500); 20 Jun 2004 23:01:02 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 65998 invoked by uid 99); 20 Jun 2004 23:01:01 -0000 X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 X-uri: To: Geoffrey Young cc: modperl@perl.apache.org Subject: Re: [mp2] Authen handler with htgroup authorization In-reply-to: Your message of "Fri, 18 Jun 2004 15:19:36 EDT." <40D34048.9030902@modperlcookbook.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 20 Jun 2004 19:04:50 -0400 From: John D Groenveld Message-Id: <20040620230148Z6968-422+351@elvis.arl.psu.edu> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N In message <40D34048.9030902@modperlcookbook.org>, Geoffrey Young writes: >I can't seem to reproduce the problem in an isolated context. please give thi It stems from a peculiarity in building Apache and Perl with largefile support. $ cd /tmp/perl-5.8.4 $ env PATH=/usr/sbin:/usr/bin:/usr/ccs/bin:/opt/SUNWspro/bin ./Configure \ -Dprefix=/opt/perl-5.8.4 -Dcc=cc -Duseshrplib -Uusemymalloc -Duselargefiles \ -Ubincompat5005 -Doptimize="-xO3 -xdepend" $ cd /tmp/httpd-2.0.49 $ env PATH=/usr/sbin:/usr/bin:/usr/ccs/bin:/opt/SUNWspro/bin CC=cc \ CFLAGS="-xO3 -xdepend" CPPFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" \ ./configure --enable-modules=all --enable-mods-shared=all --enable-ssl \ --with-ssl=/opt/openssl --prefix=/opt/apache2 --enable-proxy --enable-rewrite The configuration scripts in those builds don't generate largefile-aware mod_perl shared objects which seems to cause random cores in file access. I suspect this to be the same bug earlier seen by Hyoung-Kee Choi [1]. My hack was to modify /opt/apache2/bin/apr-config to the largefile defines to CPPFLAGS. Is it an Apache bug that apr-config does not include my CFLAGS and CPPFLAGS? 1. John groenveld@acm.org -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html