[tex-live] problem (perhaps) with texhash in TL2015 pretest
Greg' Ar Tourter
artourter at gmail.com
Mon Apr 13 20:44:55 CEST 2015
I had the same problem after installing it earlier on linux.
the problem seems to be located in the mktexlsr script (texhash is a
symlink to mktexlsr) which has on line 76:
treefile=`mktemp --tmpdir mktexlsrtrees.XXXXXXXXXX` || exit 1
looking at the same script from texlive 2014, every thing is identical
apart from that line and a few comments at the beginning. using the line
from 2014 fixes the problem:
treefile="${TMPDIR-/tmp}/mktexlsrtrees$$.tmp"
basically, mktemp doesn't have (currently, maybe a future version
will) an --tmpdir
flag
hope this helps
Greg
On 13 April 2015 at 18:55, jfbu <jfbu at free.fr> wrote:
> Hi
>
> I get
>
> ttys000:texlive (19:44)$ texhash texmf-local-2015
> mktemp: illegal option -- -
> usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
> mktemp [-d] [-q] [-u] -t prefix
>
> trying
> texhash --version
> and
> texhash --help
> both do the same
>
> however this texhash (mktexlsr) is the one I compiled
> from sources on my mac os x 64bit
>
> ChangeLog of the /source/ has on top
> 2015-04-12 Peter Breitenlohner <peb at mppmu.mpg.de>
>
> * version.ac (tex_live_version): starting pretest, no more /dev.
>
>
> I compiled simply doing ./Build
>
> sorry if I make noise for badly compiled version locally on
> my machine
>
> as an aside: in case I get further problems of this type should I report
> on this mailing list or rather on tex-k at tug.org ?
>
> best
>
> Jean-Francois
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20150413/31802fff/attachment.html>
More information about the tex-live
mailing list