Subject: Re: perl-apache-mod_perl discord
To: None <tech-pkg@netbsd.org>
From: Bernd Ernesti <netbsd@arresum.inka.de>
List: tech-pkg
Date: 09/25/2001 08:09:57
On Mon, Sep 24, 2001 at 05:21:08PM -0400, Bill Sommerfeld wrote:
> > Trying to build ap-perl on freshly minted 1.5.2 machine:
> > 
> > cd /usr/pkgsrc/www/ap-perl ; make 
> > ...
> >  ************* WARNING *************
> >  
> >    Your Perl is uselargefiles enabled, but Apache is not, suggestions:
> >      *) Rebuild mod_perl with Makefile.PL PERL_USELARGEFILES=0
> >      *) Rebuild Apache with CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
> >      *) Rebuild Perl with Configure -Uuselargefiles
> >      *) Let mod_perl build Apache (USE_DSO=1 instead of USE_APXS=1)
> 
> This looks like a bogus check within the package.

No, it is not. I had a big problem with it on solaris.
Apache got a segmention fault whenever someone requests a webpage and it took me a,
while to found out that ap-perl was the cause, due too largefile mismatches.

I did step one, modifying Makefile.PL, which fixed my problem.

Bernd