Skip to content

Instantly share code, notes, and snippets.

@selfboot
Created April 17, 2013 10:45
Show Gist options
  • Save selfboot/5403358 to your computer and use it in GitHub Desktop.
Save selfboot/5403358 to your computer and use it in GitHub Desktop.
mac wget 安装
下载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