Dear all,

this bug is about an off_t with 64bit different to a long int on a 32 bit machine and thus kpathsea fails to find a file on CIFS. 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] line ~74) on using large file support
has already been between debian and texlive (here focused on dvips).

[1] http://tug.org/pipermail/tex-k/2010-September/002202.html
[2] http://www.tug.org/svn/texlive/trunk/Build/source/Build?revision=21415&view=markup

I would suggest to coment out the line and let the configure test find the appropriate flags for the offset bits or to limit the option --enable-large-file to kpathsea instead of including
the flags explicitly.


Sincerely yours
    Pierre

--
+---------------------------------------------------------------------+
  Pierre Schnizer<p.schni...@gsi.de>

GSI Helmholtzzentrum für Schwerionenforschung GmbH
Planckstraße 1
D-64291 Darmstadt
www.gsi.de

Gesellschaft mit beschränkter Haftung
Sitz der Gesellschaft: Darmstadt
Handelsregister: Amtsgericht Darmstadt, HRB 1528

Geschäftsführung: Professor Dr. Dr. h.c. Horst Stöcker, Dr. Hartmut Eickhoff
Vorsitzende des Aufsichtsrates: Dr. Beatrix Vierkorn-Rudolph
Stellvertreter: Ministerialdirigent Dr. Rolf Bernhardt
+---------------------------------------------------------------------+

--- texlive-bin-2009/Build      2011-03-16 17:58:07.000000000 +0100
+++ texlive-bin-2009-modified/Build     2011-03-16 17:55:40.000000000 +0100
@@ -66,7 +66,7 @@
 
 # longinteger and off_t declarations are still inconsistent, do not
 # enable this unless you are testing.
-: ${TL_CONF_LARGEFILE=--disable-largefile}
+#: ${TL_CONF_LARGEFILE=--disable-largefile}
 
 # default to static linking.
 : ${TL_CONF_SHARED=--disable-shared}

Reply via email to