6

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

当我根据文章运行“nice make”时,我在下面得到了这个错误......谁能帮我提供一些解决这个问题的指示?提前致谢。

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
4

1 回答 1

20

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

   sudo apt-get install libpcre3-dev  libidn11-dev
于 2012-09-13T05:20:12.123 回答