Bug#618033: off_t vs long int
On 16.03.11 Pierre SCHNIZER (p.schnizer@gsi.de) wrote:
Hi,
> The configure script for kpathsea includes the appropriate tests
> for _FILE_OFFSET_BITS and _LARGEFILE. But these tests are disabled
> as the "Build" file disables large file support.
>
> A discussion [1] (see comment in the "Build" source on [2] linea
> ~74) on using large file support has already been between debian
> and texlive (here focused on dvips).
>
Yes, I was working already on LFS support for dvips (i.e. not the
source code, but tried to build w/ LFS enabled). IIRC I had already
the idea to enable LFS support in the Build script, but this did not
solve the problem, see http://bugs.debian.org/383781, at least not
for dvips.
If you look at the build log, you'll notice that the two options you
suggested (and which are probably needed/correct) never occur in it
(see http://home.amasol.de/~preusse/tl_2009_build_lfs_enabled.bz2).
And no, dvips wasn't able to write files > 2GB^1. Could you test on
your system, if commenting out the disable-lfs option generates a
pdftex binary, which is able to write on cifs?
Hilmar
^1 Yes, I tested dvips after building with _LARGEFILE_SOURCE
_LARGEFILE64_SOURCE explicitely enabled, no success. So I guess there
is still something to fix in the source code before we have LFS
support in dvips.
--
sigmentation fault
Reply to: