TeX binary (tex) installed anywhere in your PATH
Background
Error while compiling flex with source code:
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
Solve
Yum install docbool-utils-pdf.noarch