Skip to content

Instantly share code, notes, and snippets.

@satoshin2071
Created April 26, 2013 05:14
Show Gist options
  • Save satoshin2071/5465171 to your computer and use it in GitHub Desktop.
Save satoshin2071/5465171 to your computer and use it in GitHub Desktop.
Install and Configure wget on OS X Mountain Lion 10.8 and fix SSL GNUTLS error
get Xcode
preferences -> download -> commandLintTools install
sudo mkdir /usr/local/src
sudo chmod 0777 /usr/local/src
cd /usr/local/src
curl -O http://ftp.gnu.org/gnu/wget/wget-1.14.tar.gz
tar -zxvf wget-1.14.tar.gz
cd wget-1.14/
./configure -> configure: error: --with-ssl was given, but GNUTLS is not available.
./configure --with-ssl=openssl
make
sudo make install
sudo ln -s /usr/local/bin/wget /usr/bin/wget
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment