lucy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marvin Humphrey <>
Subject Re: [lucy-user] [ANNOUNCE] Apache Lucy (incubating) 0.2.0 released
Date Fri, 02 Sep 2011 20:33:53 GMT
On Thu, Aug 11, 2011 at 07:53:45PM -0700, Marvin Humphrey wrote:
> On Thu, Aug 11, 2011 at 11:58:29PM +0300, Octavian Rasnita wrote:
> > I have tried to build it under Windows XP, using Perl 5.10.1 and Visual
> > Studio 6 but it gave the error below on `perl build` phase.

---->8 snip 8<----

> Charmonizer doesn't think this system provides large file support, because it
> hasn't found a combination of commands that make the function S_probe_off64()
> in charmonizer/src/Charmonizer/Probe/LargeFiles.c pass.
> This combination generally works for MSVC:
>     { "", "fopen", "_ftelli64", "_fseeki64", "__int64" },
> However, some web research indicates that _ftelli64 and _fseeki64 were
> introduced later and are not in VS6.  For large file support under VS6, you
> need to use _lseeki64, which operates on file descriptors rather than C89
> FILE* streams.
> This approach is actually feasible for Lucy, since we switched from FILE* to
> file descriptors a long time ago.  It will just take some rejiggering of
> LargeFiles.c so that we don't depend on there being some form of fseek/ftell
> when defining off64_t.

The large-files probing fix now been implemented on trunk:

    Discriminate between stdio and POSIX in large file support probing.

Octavian, if you have the chance to try svn trunk with Visual Studio 6, that
would be helpful.

Marvin Humphrey

View raw message