当前位置: 技术问答>linux和unix
libpcap安装
来源: 互联网 发布时间:2016-10-12
本文导语: onfigure: 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 . f...
onfigure: 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我已经安装的是最新的了,还是有这个问题,请高手指点。
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我已经安装的是最新的了,还是有这个问题,请高手指点。
|
|
应该有--with-flex 之类的选项...
如果还没就用包装flex试试吧
|
应该是用pkg-config工具找不到flex
在RH/Fedora环境下, 你需要装flex-devel类似的安装包
从源码安装flex时, 你可能需要类似make devel-install
仔细检查一下
在RH/Fedora环境下, 你需要装flex-devel类似的安装包
从源码安装flex时, 你可能需要类似make devel-install
仔细检查一下
|
你是源码安装的flex把 编译libpcap的时候应该没找到flex
|
如果楼主是RHEL/Fedora/CentOS
推荐你直接用yum安装flex吧 就不会有这样的问题了
推荐你直接用yum安装flex吧 就不会有这样的问题了