TeX binary (tex) installed anywhere in your PATH

背景

            源码编译flex的时候出错:

make[1]: Entering directory ‘/home/dong/3thrdparty/flex/flex-2.6.0/doc’
TEXINPUTS=”../build-aux:$TEXINPUTS” /
MAKEINFO=’/bin/sh /home/dong/3thrdparty/flex/flex-2.6.0/build-aux/missing makeinfo   -I .’ /
texi2dvi –pdf –batch  –build-dir=flex.t2p -o flex.pdf  /
flex.texi
You don’t have a working TeX binary (tex) installed anywhere in
your PATH, and texi2dvi cannot proceed without one.  If you want to use
this script, you’ll need to install TeX (if you don’t have it) or change
your PATH or TEX environment variable (if you do).  See the –help
output for more details.

For information about obtaining TeX, please see http://tug.org/texlive,
or do a web search for TeX and your operating system or distro.
make[1]: *** [Makefile:447: flex.pdf] Error 1
make[1]: Leaving directory ‘/home/dong/3thrdparty/flex/flex-2.6.0/doc’
make: *** [Makefile:530: all-recursive] Error 1

解决

yum install docbool-utils-pdf.noarch

原创文章,作者:carmelaweatherly,如若转载,请注明出处:https://blog.ytso.com/tech/opensource/190766.html

(0)
上一篇 2021年11月14日 09:39
下一篇 2021年11月14日 09:39

相关推荐

发表回复

登录后才能评论