quetz-mod_python-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Erenkrantz" <jus...@erenkrantz.com>
Subject Re: Cross-platform query: _FILE_OFFSET_BITS in python and httpd
Date Tue, 14 Mar 2006 22:39:24 GMT
On 3/14/06, Gregory (Grisha) Trubetskoy <grisha@ispol.com> wrote:
> What the output on Fedora Core 4 means is that essentially Python and
> APR/httpd are compiled in an incomatible way - in APR the size of an inode
> (ino_t) is 32 bits and in Python it is 64 bits (this is what
> _FILE_OFFSET_BITS 64 does).

APR 1.0+ has LFS turned on by default.  This means that httpd 2.0.xx
will have 32-bit files by default, but that LFS should be activated
for 2.1 and beyond.

The mod_perl guys have some tricks to get around this conflict as they
run into this same mismatch as well.  -- justin

View raw message