Large file system support in 2.1.2 (was Re: [Python-Dev] release for 2.1.2, plus 2.2.1...)

Martin v. Loewis martin@v.loewis.de
Sat, 5 Jan 2002 19:02:30 +0100


>     MvL> OPT= -g -O2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
> 
>     MvL> in the Makefile.
> 
> Not for me.  In fact the -D symbols never make it into the Makefile at
> all.

That is very puzzling. I just did a fresh checkout on cf.sf.net (the
debian installation), using

cvs -z9 -d:pserver:anonymous@cvs.python.sourceforge.net:/cvsroot/python co -d py21 -rrelease21-maint python/dist/src

cd py21

CFLAGS='-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' OPT="-g -O2 $CFLAGS" ./configure

make

The earliest indication that it was accepted correctly is in

checking whether the C compiler (gcc -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 ) works... yes

In the end, Makefile will have

OPT=            -g -O2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64

Can you please try the same sequence of actions on the SF compile
farm, and report what it does for you? Alternatively, can you spot the
error in the commands I used?

Regards,
Martin