1:安装mwget
wget http://jaist.dl.sourceforge.net/project/kmphpfm/mwget/0.1/mwget_0.1.0.orig.tar.bz2
tar -xjvf mwget_0.1.0.orig.tar.bz2
cd mwget_0.1.0.orig
执行 ./configure
./configure
如果出现 error: C++ compiler cannot create executables 说明没有安装c++编译器 安装一个c++编译器就可以了
yum install gcc-c++
如果执行./configure 出现 configure: error: Your intltool is too old. You need intltool 0.35.0 or later.
yum install intltool
如果执行./configure 出现 No package ‘openssl‘ found
yum list|grep openssl
openssl.x86_64 1:1.0.2k-16.el7 @base
openssl-devel.x86_64 1:1.0.2k-16.el7 @base 这个是需要的
openssl-libs.x86_64 1:1.0.2k-16.el7 @base
apr-util-openssl.x86_64 1.5.2-6.el7 base
globus-gsi-openssl-error.x86_64 4.0-1.el7 epel
globus-gsi-openssl-error-devel.x86_64 4.0-1.el7 epel
globus-gsi-openssl-error-doc.noarch 4.0-1.el7 epel
globus-openssl-module.x86_64 5.0-1.el7 epel
globus-openssl-module-devel.x86_64 5.0-1.el7 epel
globus-openssl-module-doc.noarch 5.0-1.el7 epel
mingw32-openssl.noarch 1.0.2h-1.el7 epel
mingw32-openssl-static.noarch 1.0.2h-1.el7 epel
mingw64-openssl.noarch 1.0.2h-1.el7 epel
mingw64-openssl-static.noarch 1.0.2h-1.el7 epel
openssl-devel.i686 1:1.0.2k-16.el7 base
openssl-libs.i686 1:1.0.2k-16.el7 base
openssl-perl.x86_64 1:1.0.2k-16.el7 base
openssl-pkcs11.x86_64 0.4.8-1.el7 epel
openssl-static.i686 1:1.0.2k-16.el7 base
openssl-static.x86_64 1:1.0.2k-16.el7 base
openssl098e.i686 0.9.8e-29.el7.centos.3 base
openssl098e.x86_64 0.9.8e-29.el7.centos.3 base
rubygem-openssl_cms_2_0_0.x86_64 0.0.2-1.20140212git7fea071.el7 epel
rubygem-openssl_cms_2_0_0-doc.noarch 0.0.2-1.20140212git7fea071.el7 epel
xmlsec1-openssl.i686 1.2.20-7.el7_4 base
xmlsec1-openssl.x86_64 1.2.20-7.el7_4 base
xmlsec1-openssl-devel.i686 1.2.20-7.el7_4 base
xmlsec1-openssl-devel.x86_64 1.2.20-7.el7_4 base
执行:yum install openssl-devel.x86_64
最后执行:
make
make install
完成