skipfish - make中的错误

时间:2012-09-13 04:04:47

标签: security ubuntu-12.04 skipfish

我试图在我刚刚下载的ubuntu最新版本上使用skipfish。我按照此链接http://digitivity.org/943/how-to-install-google-skipfish-on-ubuntu-linux

的说明进行操作

当我跑步时,#34;好的制作"基于这篇文章,我在下面得到了这个错误...有谁能帮我提一下解决这个问题?提前谢谢。

michaelsync@ubuntu:~/Downloads/skipfish-2.09b$ nice make
cc -L/usr/lib/ssl/engines -L/usr/lib/ -L/usr/lib/ssl/ -L/usr/local/lib/ -L/opt/local/lib src/skipfish.c -o skipfish \
        -O3 -Wno-format -Wall -funsigned-char -g -ggdb -I/usr/local/include/ -I/opt/local/include/ -I/usr/include/ -DVERSION=\"2.09b\" src/http_client.c src/database.c src/crawler.c src/analysis.c src/report.c src/checks.c src/signatures.c src/auth.c -lcrypto -lssl -lidn -lz -lpcre
In file included from src/skipfish.c:47:0:
src/signatures.h:24:18: fatal error: pcre.h: No such file or directory
compilation terminated.
src/http_client.c:40:18: fatal error: idna.h: No such file or directory
compilation terminated.
In file included from src/analysis.c:32:0:
src/signatures.h:24:18: fatal error: pcre.h: No such file or directory
compilation terminated.
src/signatures.c:27:18: fatal error: pcre.h: No such file or directory
compilation terminated.
make: *** [skipfish] Error 1

1 个答案:

答案 0 :(得分:20)

您缺少开发库。运行此命令:

   sudo apt-get install libpcre3-dev  libidn11-dev