Mostly for Ken, but if anyone else has any ideas, please feel free to comment.
I'm trying to update ffmpeg. The build is not a problem, but we offer
optional instructions to build pdf and ps docs.
The basic command is 'texi2pdf -b $DOCNAME.texi' whrere DOCNAME is
something like git-howto.texi.
This keeps failing on me. I have been trying to debug this. Since
texi2dvi is an ascii script, I have narrowed down the problem to a
configuration issue, but I can't seem to solve it.
The message I get is:
/usr/bin/texi2dvi: texinfo.tex appears to be broken.
This may be due to the environment variable TEX set to something
other than (plain) tex, a corrupt texinfo.tex file, or
to tex itself simply not working.
and
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded
format=etex)
restricted \write18 enabled.
entering extended mode
(./txiversion.tex
! I can't find file `texinfo.tex'.
tex is in /opt/texlive/2015/bin/x86_64-linux/tex and is found OK.
The texinfo.tex file is in /usr/share/texmf/tex/texinfo/texinfo.tex
I can set TEXINPUTS to the above, but texi2dvi fails with "I can't find
file txiversion.tex"
What texi2dvi is doing is creating a tmp directory and a one line file:
echo '\input texinfo.tex @bye' >txiversion.tex
and then
etex txiversion.tex </dev/null >txiversion.out 2>txiversion.err
I've tried export TEXINPUTS=".:/usr/share/texmf/tex/texinfo" and it finds
texinfo.tex but not txiversion.tex. Changing the execution line to
etex ./txiversion.tex ...
in the texi2dvi works, but I'm uncomfortable with changing the default script.
This boils down to a texlive configuration issue or perhaps an artifact
that we install in /opt.
Ken, do you have any ideas?
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page