Hi list, I am trying to compile and use luatex-0.95.0 on a Debian variant - Trisquel - but I am getting errors at the "fmtutil" step... the error messages are quite clear but I couldn't find anything on how to build LuaTeX in a way that makes it look for ".ini" files where Debian puts them:
/usr/share/texlive/texmf-dist/tex/latex/latexconfig/dvilualatex.ini /usr/share/texlive/texmf-dist/tex/latex/latexconfig/lualatex.ini /usr/share/texlive/texmf-dist/tex/plain/config/dviluatex.ini /usr/share/texlive/texmf-dist/tex/plain/config/luatex.ini The script I used is below. I edited it for readability, but after editing it I tested it a handful of times by sending it line by line to an Emacs shell buffer to make sure that the bug remains... # Compile. # Note that the things in ~/snarf/ are local copies of: # https://foundry.supelec.fr/frs/download.php/latestfile/6/0.95.0.doc.tar.xz # https://foundry.supelec.fr/frs/download.php/latestfile/6/0.95.0.tar.xz # rm -Rv ~/usrc/luatex/ mkdir ~/usrc/luatex/ cd ~/usrc/luatex/ tar -xJvf ~/snarf/https/ foundry.supelec.fr/frs/download.php/latestfile/6/0.95.0.doc.tar.xz tar -xJvf ~/snarf/https/ foundry.supelec.fr/frs/download.php/latestfile/6/0.95.0.tar.xz cd ~/usrc/luatex/0.95.0/ ./build.sh sudo mv -iv /usr/bin/luatex /usr/bin/luatex-orig sudo rm -v /usr/bin/luatex ls -lAF ~/usrc/luatex/0.95.0/build/texk/web2c/luatex sudo cp -s ~/usrc/luatex/0.95.0/build/texk/web2c/luatex /usr/bin/luatex fmtutil --byengine luatex # fmtutil fails with the error message below: # fmtutil: running `luatex -ini -jobname=dviluatex -progname=dviluatex dviluatex.ini' ... # 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. # This is LuaTeX, Version 0.95.0 (TeX Live 2016) (INITEX) # ! I can't find file `dviluatex.ini'. # <*> dviluatex.ini # # (Press Enter to retry, or Control-D to exit) # Please type another input file name: # ! Emergency stop. # <*> dviluatex.ini # # ! ==> Fatal error occurred, bad output DVI file produced! # No pages of output. # Transcript written on dviluatex.log. # Revert to the Debian LuaTeX. # ls -lAF /usr/bin/luatex* sudo rm -v /usr/bin/luatex sudo mv -iv /usr/bin/luatex-orig /usr/bin/luatex fmtutil --byengine luatex Cheers & thanks in advance, (and sorry if I missed something obvious =\), Eduardo Ochs http://angg.twu.net/ [email protected]
