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

Barry A. Warsaw barry@zope.com
Sat, 5 Jan 2002 11:42:35 -0500


>>>>> "MvL" == Martin v Loewis <martin@v.loewis.de> writes:

    MvL> What version of configure are you using? On my system, with
    MvL> configure 1.207.2.7, doing

1.207.2.7 is at the head of the release21-maint branch, so that's
definitely the version I'm using.

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

    MvL> will result in a line

    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.
    
    MvL> This, in turn, will result in a compilation
    MvL> line

    MvL> gcc -c -g -O2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
    MvL> -I. -I./Include -DHAVE_CONFIG_H -o Objects/fileobject.o
    MvL> Objects/fileobject.c

    MvL> Something else is going on on your system. Did you remove
    MvL> config.cache before running configure?

Of course!  I always "make distclean" before running configure again.

-Barry