skipfis安装
来源:互联网 发布:汤姆索亚历险记 知乎 编辑:程序博客网 时间:2024/05/01 07:54
安装skipfish的时候,文档中就简单的说了一句“解压缩包之后,在编译前先安装 libidn or libpcre3,然后使用make”
(To compile it, simply unpack the archive and try make. Chances are, you will need to install libidn or libpcre3 first.)
可是安装后依然报错。
如下:
src/http_client.c:2461: error: ‘struct conn_entry’ has no member named ‘next’
src/http_client.c:2465: error: ‘struct conn_entry’ has no member named ‘q’
src/http_client.c: In function ‘http_req_list’:
src/http_client.c:2777: error: ‘struct conn_entry’ has no member named ‘q’
src/http_client.c:2778: error: ‘struct conn_entry’ has no member named ‘q’
src/http_client.c:2791: error: ‘struct conn_entry’ has no member named ‘next’
In file included from src/database.c:33:
src/http_client.h:26:25: error: openssl/ssl.h: No such file or directory
In file included from src/database.c:33:
src/http_client.h:226: error: expected specifier-qualifier-list before ‘SSL_CTX’
In file included from src/crawler.c:30:
src/http_client.h:26:25: error: openssl/ssl.h: No such file or directory
In file included from src/crawler.c:30:
src/http_client.h:226: error: expected specifier-qualifier-list before ‘SSL_CTX’
In file included from src/analysis.c:28:
src/http_client.h:26:25: error: openssl/ssl.h: No such file or directory
In file included from src/analysis.c:28:
src/http_client.h:226: error: expected specifier-qualifier-list before ‘SSL_CTX’
src/analysis.c: In function ‘maybe_xsrf’:
src/analysis.c:410: warning: implicit declaration of function ‘time’
In file included from src/report.c:33:
src/http_client.h:26:25: error: openssl/ssl.h: No such file or directory
In file included from src/report.c:33:
src/http_client.h:226: error: expected specifier-qualifier-list before ‘SSL_CTX’
In file included from src/crawler.h:26,
from src/checks.c:27:
src/http_client.h:26:25: error: openssl/ssl.h: No such file or directory
In file included from src/crawler.h:26,
from src/checks.c:27:
src/http_client.h:226: error: expected specifier-qualifier-list before ‘SSL_CTX’
In file included from src/database.h:29,
from src/signatures.c:35:
src/http_client.h:26:25: error: openssl/ssl.h: No such file or directory
In file included from src/database.h:29,
from src/signatures.c:35:
src/http_client.h:226: error: expected specifier-qualifier-list before ‘SSL_CTX’
In file included from src/auth.c:30:
src/http_client.h:26:25: error: openssl/ssl.h: No such file or directory
In file included from src/auth.c:30:
src/http_client.h:226: error: expected specifier-qualifier-list before ‘SSL_CTX’
解决1:ubuntu下的方案http://tosbourn.com/2010/05/security/skipfish-no-such-file-or-directory/
使用sudo apt-get install libssl-dev build-essential zlibc zlib-bin libidn11-dev libidn11安装相应的包
由于安装环境是centos的,没有成功
解决2:centos下的方案http://blog.redbranch.net/2012/09/10/skipfish-on-centos/
使用yum install pcre-devel openssl-devel libidn-devel libidn2-devel
经测试可以完成skipfish安装
(To compile it, simply unpack the archive and try make. Chances are, you will need to install libidn or libpcre3 first.)
可是安装后依然报错。
如下:
src/http_client.c:2461: error: ‘struct conn_entry’ has no member named ‘next’
src/http_client.c:2465: error: ‘struct conn_entry’ has no member named ‘q’
src/http_client.c: In function ‘http_req_list’:
src/http_client.c:2777: error: ‘struct conn_entry’ has no member named ‘q’
src/http_client.c:2778: error: ‘struct conn_entry’ has no member named ‘q’
src/http_client.c:2791: error: ‘struct conn_entry’ has no member named ‘next’
In file included from src/database.c:33:
src/http_client.h:26:25: error: openssl/ssl.h: No such file or directory
In file included from src/database.c:33:
src/http_client.h:226: error: expected specifier-qualifier-list before ‘SSL_CTX’
In file included from src/crawler.c:30:
src/http_client.h:26:25: error: openssl/ssl.h: No such file or directory
In file included from src/crawler.c:30:
src/http_client.h:226: error: expected specifier-qualifier-list before ‘SSL_CTX’
In file included from src/analysis.c:28:
src/http_client.h:26:25: error: openssl/ssl.h: No such file or directory
In file included from src/analysis.c:28:
src/http_client.h:226: error: expected specifier-qualifier-list before ‘SSL_CTX’
src/analysis.c: In function ‘maybe_xsrf’:
src/analysis.c:410: warning: implicit declaration of function ‘time’
In file included from src/report.c:33:
src/http_client.h:26:25: error: openssl/ssl.h: No such file or directory
In file included from src/report.c:33:
src/http_client.h:226: error: expected specifier-qualifier-list before ‘SSL_CTX’
In file included from src/crawler.h:26,
from src/checks.c:27:
src/http_client.h:26:25: error: openssl/ssl.h: No such file or directory
In file included from src/crawler.h:26,
from src/checks.c:27:
src/http_client.h:226: error: expected specifier-qualifier-list before ‘SSL_CTX’
In file included from src/database.h:29,
from src/signatures.c:35:
src/http_client.h:26:25: error: openssl/ssl.h: No such file or directory
In file included from src/database.h:29,
from src/signatures.c:35:
src/http_client.h:226: error: expected specifier-qualifier-list before ‘SSL_CTX’
In file included from src/auth.c:30:
src/http_client.h:26:25: error: openssl/ssl.h: No such file or directory
In file included from src/auth.c:30:
src/http_client.h:226: error: expected specifier-qualifier-list before ‘SSL_CTX’
解决1:ubuntu下的方案http://tosbourn.com/2010/05/security/skipfish-no-such-file-or-directory/
使用sudo apt-get install libssl-dev build-essential zlibc zlib-bin libidn11-dev libidn11安装相应的包
由于安装环境是centos的,没有成功
解决2:centos下的方案http://blog.redbranch.net/2012/09/10/skipfish-on-centos/
使用yum install pcre-devel openssl-devel libidn-devel libidn2-devel
经测试可以完成skipfish安装
- skipfis安装
- 安装
- 安装
- 安装
- 安装
- 安装
- 安装
- 安装
- 安装
- 安装
- 安装
- 安装
- 安装
- 安装
- 安装
- 安装
- 安装
- 安装
- GridView应用
- sql查询优化,项目中遇到的not in优化
- 如何去掉织梦CMS dede 后台广告
- Mac OS 怎么修改 PATHS 环境变量
- dede内容页调用缩略图方法
- skipfis安装
- 阿牛的EOF牛肉串
- struts2页面上double类型的数据转换成整数
- dede后台崩溃,打不开,不能操作左边菜单
- Union和Union All的区别
- Cannot find javahl, svnkit nor command line svn client
- jquery 倒计时 简洁版
- DEDE 调用文章图片
- 用ShellScript批量轉換文件的編碼