[tlbuild] build failure: texk/web2c/configure.ac tests for stat64 function but not for "struct stat64"
taco
taco at elvenkind.com
Mon May 31 20:30:51 CEST 2010
Karl Berry wrote:
> which results in "#define HAVE_STAT64 1" in Work/texk/web2c/c-auto.h
> but despite the presence of the stat64() function, neither it, nor the
> "struct stat64" is defined in the headers in the current build environment.
> (one would need to specially define some macros to enable this API.
>
> Yes, and that is true in general.
>
> since we're building 32-bit binaries, and there's no
> need for 64-bit I/O).
>
> I agree. And our sources are not prepared to deal with largefile
> support. Therefore I removed stat64 from the AC_CHECK_FUNCS in
> web2c/configure.ac, so it will always be undefined.
Good, thanks.
> The lua lfs.c was the only place in our source tree where stat64 was
> used. It still compiled fine for me without the test.
Probably because HAVE_STAT64 is false on 32-bit linux unless you
add a special #define. Large file support on linux 32 is about
as natural as MS-DOS's memory segmentation.
Best wishes,
Taco
More information about the tlbuild
mailing list