perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John D Groenveld <jdg...@elvis.arl.psu.edu>
Subject Re: [mp2] Authen handler with htgroup authorization
Date Sun, 20 Jun 2004 23:04:50 GMT
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. <URL:http://www.mathforum.org/epigone/modperl/herfepum/DBELJKJPCJADLHLIEBPJOEPJDKAA.hkchoi@ece.gatech.edu>

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


Mime
View raw message