building 2.1 with LFS
John Hunter
jdhunter at ace.bsd.uchicago.edu
Wed Aug 25 10:01:37 EDT 2004
>>>>> "John" == John Hunter <jdhunter at nitace.bsd.uchicago.edu> writes:
John> I am trying to build python2.1 with alrge file support. I
John> ran configure in a clean build tree and then edited the
John> makefile
John> # Compiler options OPT= -ggdb -O3 -Wall -Wstrict-prototypes
John> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 #OPT= -g -O2
John> -Wall -Wstrict-prototypes DEFS= -DHAVE_CONFIG_H CFLAGS=
John> $(OPT) -I. -I$(srcdir)/Include $(DEFS)
John> And did a make; make install
Solved; this incantation worked...
982 CFLAGS='-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' OPT="-g -O2 $CFLAGS" ./configure
983 make
984 make install
JDH
More information about the Python-list
mailing list