quetz-mod_python-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Dumpleton <grah...@dscpl.com.au>
Subject Re: Cross-platform query: _FILE_OFFSET_BITS in python and httpd
Date Tue, 14 Mar 2006 22:24:27 GMT

On 15/03/2006, at 8:45 AM, Gregory (Grisha) Trubetskoy wrote:

>
> Could folks with access to different OS's try the following:
>
> Compare output of "apxs -q CPPFLAGS" with the value of  
> _FILE_OFFSET_BITS in pyconfig.h.
>
> For example, on my Fedora Core 4 i386 system (stock httpd and python):
>
> $ /usr/sbin/apxs -q CPPFLAGS
> -DSSL_EXPERIMENTAL_ENGINE
>
> [note - no mention of _FILE_OFFSET_BITS above]
>
>
> $ grep _FILE_OFFSET_BITS /usr/include/python2.4/pyconfig.h
> #define _FILE_OFFSET_BITS 64

Apache 2.0.55/Python 2.3/Mac OS X 10.3.9

~ [507]$ /usr/local/apache-2.0/bin/apxs -q CPPFLAGS
~ [508]$ grep _FILE_OFFSET_BITS  
/System/Library/Frameworks/Python.framework/Versions/Current/include/ 
python2.3/pyconfig.h
/* #undef _FILE_OFFSET_BITS */



Mime
View raw message