您的位置:首页 > 理论基础 > 计算机网络

安装slowhttptest各种问题解决方案

2017-08-16 15:31 417 查看
1、安装libssl-dev


控制台安装libssl-dev
输入apt-getinstall libssl-dev

 

出错

The followinginformation may help to resolve the situation:
The followingpackages have unmet dependencies:
 libssl-dev :Depends: libssl1.0.0 (= 1.0.1-4ubuntu5) but 1.0.1-4ubuntu5.3 is to be installed
              Recommends:libssl-doc but it is not going to be installed
E: Unable to correctproblems, you have held broken packages.
 

原因:
已安装的libssl1.0.0版本太高,
无法支持
1
2
3
4
5
6
7
8
9
$dpkg -l *libssl*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name               Version            Description
+++-==================-==================-====================================================
un  libssl-dev         <none>             (no description available)
un  libssl-doc         <none>             (no description available)
ii  libssl1.0.0        1.0.1-4ubuntu5.3   SSL shared libraries
 
解决方案:
使用aptitude软件包管理器
1. 安装aptitude
1
$sudo apt-get install aptitude
2. 使用aptitude安装 libssl-dev包,
采用建议的解决方案(将libssl1.0.0版本降级)
验证libssl-dev包安装情况:
1
2
3
4
5
6
7
8
9
$dpkg -l *libssl*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name               Version            Description
+++-==================-==================-====================================================
ii  libssl-dev         1.0.1-4ubuntu5     SSL development libraries, header files and document
un  libssl-doc         <none>             (no description available)
ii  libssl1.0.0        1.0.1-4ubuntu5     SSL shared libraries
 

2、安装slowhttptest

安装slowhttptest

git clonegit://github.com/shekyan/slowhttptest

进入slowhttptest文件夹
选择"在终端打开"
输入./configure
make;makeinstall

 

出现错误

1、root@kali:~/下载/slowhttptest# make

CDPATH="${ZSH_VERSION+.}:"&& cd . && /bin/bash /root/下载/slowhttptest/missingaclocal-1.15 -I m4

/root/下载/slowhttptest/missing:line 81: aclocal-1.15: command not found

WARNING: 'aclocal-1.15' is missing on yoursystem.

        You should only need it if you modified 'acinclude.m4' or

        'configure.ac' or m4 files included by 'configure.ac'.

        The 'aclocal' program is part of the GNU Automake package:

        <http://www.gnu.org/software/automake>

        It also requires GNU Autoconf, GNU m4 and Perl in order to run:

        <http://www.gnu.org/software/autoconf>

        <http://www
8d3f
.gnu.org/software/m4/>


        <http://www.perl.org/>

Makefile:333: recipe for target 'aclocal.m4'failed

make: *** [aclocal.m4] Error 127

 

编译过程错误,缺少aclocal-1.15 和m4等依赖包,查询发现aclocal为automake系列包含,这里先安装automake 、autoconf、m4

下载地址为:http://ftp.gnu.org/gnu/

也可以使用wget方法:

输入命令:wgethttp://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz 

然后解压缩autoconf-2.69.tar.gz
,输入命令:
tar -zxvfautoconf-2.69.tar.gz 
入解压缩后的目录autoconf-2.69,配置编译环境,输入命令:
./configure
编译并安装autoconf,输入命令:
make;make install
检查是否安装成功,输入命令:
autoconf --version
同上依次安装完成
 执行如下命令:
test@test:/usr/local/src/Mesa-10.3.5$sudo autoreconf-ivf         就是这一句解决了问题
然后在slowhttptest目录下执行:make;make install 完成安装,大功告成
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: