[Zope] LFS (large file support)
Chris McDonough
chrism@zope.com
Mon, 9 Sep 2002 00:13:35 -0400
On Linux, at least, compiling and installing Python 2.X with large
file support can be accomplished via:
export CC="gcc -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
./configure --prefix=/some/directory --with-thread; make; make install
The Linux kernel and C libraries need to support large files for this
to work. I have had success on both Debian Woody and Red Hat 7.2+
with this recipe.
----- Original Message -----
From: "Marc Lindahl" <marc@bowery.com>
To: "Zope Org" <zope@zope.org>
Sent: Sunday, September 08, 2002 6:54 PM
Subject: Re: [Zope] LFS (large file support)
> Actually, I don't believe it has ever been resolved. The python.org
> documentation is dismal on this subject, and there's just no place
that ties
> this all together. The mailing lists are full of questions, noone
seems to
> have done it, at least not that's written, e.g. a step-by-step
howto. I've
> been tracking it for a while :(
>
> on 9/8/02 10:34 AM, Andreas Jung at andreas@andreas-jung.com
scrivened:
>
> > Compiling Python with LFS support requires some configuration
> > magic when running 'configure'. Please check the Python
documentation
> > (Python Library -> posixmodule I think) or the mailing list
archives
> > since this is an FAQ and has been resolved multiple times.
> >
> > -aj
> > ----- Original Message -----
> > From: "Roel Van den Bergh" <roel@planetinterior.com>
> > To: "Zope Org" <zope@zope.org>
> > Sent: Sunday, September 08, 2002 16:32
> > Subject: [Zope] LFS (large file support)
> >
> >
> >> We're running out of luck
> >>
> >> We need LFS (large file support) for the Data.fs file
> >> Upgraded to RH 7.3, ext3 filesystem, compiled our own python
2.1.3 and
> > build
> >> zope 2.5.1 from source
> >>
> >> Exported all sites from previous zope and imported in new zope to
avoid
> >> conflict with existing Data.fs
> >> but no luck Everytime we want to go over the 2GB limit zope
truncates the
> >> Data.fs
> >>
> >> Did we mis some configuration settings?
> >>
> >> TIA, R.
> >>
> >> - - -
> >>
> >> Roel Van den Bergh
> >>
> >>
> >>
> >> _______________________________________________
> >> Zope maillist - Zope@zope.org
> >> http://lists.zope.org/mailman/listinfo/zope
> >> ** No cross posts or HTML encoding! **
> >> (Related lists -
> >> http://lists.zope.org/mailman/listinfo/zope-announce
> >> http://lists.zope.org/mailman/listinfo/zope-dev )
> >>
> >
> >
> > _______________________________________________
> > Zope maillist - Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > ** No cross posts or HTML encoding! **
> > (Related lists -
> > http://lists.zope.org/mailman/listinfo/zope-announce
> > http://lists.zope.org/mailman/listinfo/zope-dev )
> >
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>