[luatex] luatex-0.95.0 on Debian: fmtutil problem
Norbert Preining
norbert at preining.info
Wed Mar 22 03:26:37 CET 2017
On Tue, 21 Mar 2017, Eduardo Ochs wrote:
> foundry.supelec.fr/frs/download.php/latestfile/6/0.95.0.tar.xz
> ./build.sh
> sudo mv -iv /usr/bin/luatex /usr/bin/luatex-orig
> sudo rm -v /usr/bin/luatex
That does not work...
> # warning: kpathsea: configuration file texmf.cnf not found in these
> directories:
> # /home/edrx/usrc/luatex/0.95.0/build/texk/web2c:
> # /home/edrx/usrc/luatex/0.95.0/build/texk/web2c/share/texmf-local/web2c:
> # /home/edrx/usrc/luatex/0.95.0/build/texk/web2c/share/texmf-dist/web2c:
> # /home/edrx/usrc/luatex/0.95.0/build/texk/web2c/share/texmf/web2c:
> # /home/edrx/usrc/luatex/0.95.0/build/texk/web2c/texmf-local/web2c:
> # /home/edrx/usrc/luatex/0.95.0/build/texk/web2c/texmf-dist/web2c:
> # /home/edrx/usrc/luatex/0.95.0/build/texk/web2c/texmf/web2c:
> # /home/edrx/usrc/luatex/0.95.0/build/texk:
> # /home/edrx/usrc/luatex/0.95.0/build/texk/share/texmf-local/web2c:
> # /home/edrx/usrc/luatex/0.95.0/build/texk/share/texmf-dist/web2c:
> # /home/edrx/usrc/luatex/0.95.0/build/texk/share/texmf/web2c:
> # /home/edrx/usrc/luatex/0.95.0/build/texk/texmf-local/web2c:
> # /home/edrx/usrc/luatex/0.95.0/build/texk/texmf-dist/web2c:
> # /home/edrx/usrc/luatex/0.95.0/build/texk/texmf/web2c:
> # /home/edrx/usrc/luatex/0.95.0/texmf-local/web2c:
> # /home/edrx/usrc/luatex/0.95.0/build:
> # /home/edrx/usrc/luatex/0.95.0/build/share/texmf-local/web2c:
> # /home/edrx/usrc/luatex/0.95.0/build/share/texmf-dist/web2c:
> # /home/edrx/usrc/luatex/0.95.0/build/share/texmf/web2c:
> # /home/edrx/usrc/luatex/0.95.0/build/texmf-local/web2c:
> # /home/edrx/usrc/luatex/0.95.0/build/texmf-dist/web2c:
> # /home/edrx/usrc/luatex/0.95.0/build/texmf/web2c.
To set up the whol kpathsea library, any program using kpathsea first
needs to find an *initial* texmf.cnf.
The program code hard codes several paths, as you see above, but none
of them coincides with the path in Debian/TeX Live.
Because binaries and the respective share/texlive dirs are not laid out
as expected by kpathsea (which practically expects an installation of
TeX Live ROOT/bin ROOT/texmf-dist ..), I apply the following patch
during building of the binaries, including luatex:
https://anonscm.debian.org/cgit/debian-tex/texlive-bin.git/tree/debian/patches/debian-builtin-searchpath
If you want to do it without patching, you need to add a
texmf.cnf *in* /usr/bin (link to the one in texmf-dist/web2c/ should
suffice).
Norbert
--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
More information about the luatex
mailing list