configure: error: Your operating system's lex is insufficient to compile

编译libpcap时出错:

configure: error: Your operating system's lex is insufficient to compile
 libpcap.  flex is a lex replacement that has many advantages, including
 being able to compile libpcap.  For more information, see
 http://www.gnu.org/software/flex/flex.html .

问题:

缺少flex包

解决办法:

yum install -y flex

你可能感兴趣的:(linux,Flex,职场,休闲,libpcap)