千家信息网

TeX binary (tex) installed anywhere in your PATH

发表于:2025-12-01 作者:千家信息网编辑
千家信息网最后更新 2025年12月01日,背景源码编译flex的时候出错:make[1]: Entering directory '/home/dong/3thrdparty/flex/flex-2.6.0/doc'TEXINPUTS="..
千家信息网最后更新 2025年12月01日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


0