View Single Post

   
  #2 (permalink)  
Old 01-05-2008, 07:00 AM
Ross
 
Posts: n/a
Default Re: Large file support for Python?

pruebauno@latinmail.com wrote:
> Hello all,
> I compiled the latest Python on AIX, works good. But I am having issues
> compiling Python with large file support (I need to do some simple text
> processing on a 3GB file). I tried forcing the configure script to add
> it but then it bombs in the make process. Any help will be appreciated.


I build Python ok on AIX 5.2 with this following GNU configure string:

CFLAGS="-O2 -D_LARGE_FILES" OPT=$CFLAGS LDFLAGS=-s ./configure
--prefix=/usr/local --disable-ipv6

I then also define HAVE_BROKEN_POSIX_SEMAPHORES in pyconfig.h.

Of course, if you want to do a "make test" after you build, you'll need
to run the make on a large file enabled file system or it'll fail.


Good luck,
Ross

Reply With Quote