1.首先安装在apple store中安装xcode
2.然后下载command line tools:https://developer.apple.com/downloads/index.action?name=for%20Xcode%20-#
我下载的是:http://adcdownload.apple.com/Developer_Tools/command_line_tools_os_x_mountain_lion_for_xcode__november_2012/xcode452cltools10_86938211a.dmg
3.下载wget源代码:http://124.254.47.50/download/30024544/37766861/6/gz/55/171/1348648038455_427/wget-1.14.tar.gz
4../configure --with-ssl=openssl
make
sudo make install |