Subject: Re: perl-apache-mod_perl discord
To: Alex <xela@MIT.EDU>
From: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
List: tech-pkg
Date: 09/24/2001 17:21:08
> 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.

NetBSD is *always* "largefiles-enabled" (i.e., off_t is always a
64-bit value); whatever test it's using to determine whether apache is
"largefiles-enabled" is likely to be bogus..

						- Bill