Large File Support

Andreas Jung andreas at andreas-jung.com
Fri Jul 20 10:10:53 EDT 2001


On Fri, Jul 20, 2001 at 09:23:43AM -0400, Rod MacNeil wrote:
> Hello NG,
> 
> I need to build Python to include large file support on Redhat Linux 7.1.
> 
> I tried the following instructions from section 8.1.1 in the Python docs but
> it doesn't work:
> 
>     On large-file-capable Linux systems, this might work:
> 
> 
> CC="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
> export CC
> ./configure
> 

That  is an error in the Python docs. Replace CC by
CFLAGS. This should do the job.

Andreas




More information about the Python-list mailing list