Created
April 17, 2013 10:45
-
-
Save selfboot/5403358 to your computer and use it in GitHub Desktop.
mac wget 安装
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
下载Wget的源代码,下载地址:http://ftp.gnu.org/gnu/wget/ | |
直接安装的话,会发生下面的错误。 | |
checking for compress in -lz... yes | |
checking for gpg_err_init in -lgpg-error... no | |
checking for gcry_control in -lgcrypt... no | |
checking for libgnutls... no | |
configure: error: --with-ssl was given, but GNUTLS is not available. | |
解决: | |
# tar zxvf wget-1.13.4.tar.gz | |
# cd wget-1.13.4 | |
wget-1.13.4 root# ./configure --with-ssl=openssl | |
wget-1.13.4 root# make | |
wget-1.13.4 root# make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment