[Zope] Large file support in Python 2.1 ?
Jean Jordaan
jean@upfrontsystems.co.za
Fri, 08 Nov 2002 12:50:35 +0200
Hi all
Apologies if this is a FAQ, a quick Google only turned up
"Linux binary build includes Python 2.1.3 with Large File Support
enabled compiled against glibc-2.1.3" from
http://lists.zope.org/pipermail/zope-announce/2002-September/000884.html
What I'd like to know is: what was done to compile that Python with
LFS? And how do you check if it's in? After looking at
http://www.python.org/doc/2.2p1/lib/posix-large-files.html
I tried this::
jean@blommie Products $ getconf LFS_CFLAGS
-D_FILE_OFFSET_BITS=64
which makes it look as if the environment is OK for compiling in
LFS. But doing 'import types; dir(types)' doesn't show a
'LongLongType', only a 'LongType'. So it looks like this Python
doesn't handle large files after all. Is there a recipe somewhere?
--
Jean Jordaan
http://www.upfrontsystems.co.za