Large file support in Linux
randy at dayton.akorn.net
randy at dayton.akorn.net
Mon Sep 3 22:20:45 EDT 2001
Hi,
I'm trying to build Python 2.1.1 on Linux (RedHat 7.1) that can handle
large files. I tried the configure command on the website
(http://www.python.org/doc/current/lib/posix-large-files.html) but I can't
get it to work.
What I tried:
CFLAGS='-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' OPT="-g -O2
$CFLAGS" \
./configure
make
This results in these errors during build:
Objects/fileobject.c: In function '_portable_ftell':
Objects/fileobject.c:267: incompatible types in return
Has anyone built Python with large file support on Linux?
Thanks,
-Randy
More information about the Python-list
mailing list