安装libpcap出现的两个错误
1.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
.
原因可能是系统的flex版本太低,解决办法
yum -y install flex
办法:
2.make的时候出现
make: yacc: Command not found make: *** [grammar.c] Error 127
解决办法
[root@test5 libpcap-1.1.1]# yum search yacc
byacc.i386 : A public domain Yacc parser generator.
flex.i386 : A tool for creating scanners (text pattern recognizers).
bison.i386 : A GNU general-purpose parser generator.
byacc.i386 : A public domain Yacc parser generator.
bison.i386 : A GNU general-purpose parser generator.
gob2.i386 : GOB2, The GObject Builder
flex.i386 : A tool for creating scanners (text pattern recognizers).
gob2.i386 : GOB2, The GObject Builder
[root@test5 libpcap-1.1.1]#
安装以上包
办法:
阅读(6013) | 评论(0) | 转发(0) |