今天在安裝nmap的時候執行 ./configure
提示錯誤 :configure: error: Neither flex nor lex was found.
解決方法:
[root@root libpcap-1.8.1]# yum install flex bison
安裝以后又提示:
fatal error: nbase_config.h: No such file or director
解決辦法:
重新執行 ./configure
原因見: https://stackoverflow.com/questions/9138109/config-h-no-such-file-or-directory
make make install