[EMAIL PROTECTED] wrote:
Thanks for your prompt response!

We did compile Apache with CFLAGS="-D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64" but we're trying to move away from this now,
because of vendors like IBM and Oracle not willing to re-compile (websphere
mods and mod_ossos) with the same flags. Thus without re-compiling my whole
Perl 5.8.0 build I need to come up with a solution.

Like I said before Doug MacEachern actually allows you to get away with
this in mod_perl 1.27 (with mod_perl 1.24 it would squeal and terminate
during compile time).

Sorry for my ignorance but it does look like it will work (non-LFS Apache)
provided that you don't try to access files larger then 2GB. Is there
another low level consideration I'm not taking into account?

Everything will work OK if all the components are compiled without large file support. Of course you won't be able to handle files > 2GB.


Last but not least...Perl 5.6.1 and greater compiles with LFS (default) and
Apache has always compiled without it (unless you specifically specify it).
Did you re-compile Apache with CFLAGS="-D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64"?

mod_perl 1.x does it for you (i.e. uses perl's cppflags) if you build static (since it builds apache).


perl -V:cppflags
cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -I/usr/include/gdbm';


I'm not sure what happen if you build DSO.

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




Reply via email to