没有Wget的日子是非常难过的,强大的Mac OS 下安装Wget非常简单
下载一个Wget的源码包,http://www.gnu.org/software/wget/
打开终端解压,
1 输入:tar zxvf wget-1.9.1.tar.gz
2 cd 进入到解压的目录
3 输入:./configure
4 输入:make
5 输入:sudo make install
输入秘密 OK 安装完成!
可以输入wget www.google.com 测试是否安装成功
按你的方法不行,我在Lion里安装时提示
configure: configuring for GNU Wget 1.13
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… build-aux/install-sh -c -d
checking for gawk… no
checking for mawk… no
checking for nawk… no
checking for awk… awk
checking whether make sets $(MAKE)… no
checking build system type… i386-apple-darwin11.3.0
checking host system type… i386-apple-darwin11.3.0
checking for gcc… no
checking for cc… no
checking for cl.exe… no
configure: error: in `/Users/zola/Desktop/wget-1.13′:
configure: error: no acceptable C compiler found in $PATH
See `config.log’ for more details
后来在帮助文档里找到了Mac OSX的版本,直接使用pkg文件安装的
http://www.merenbach.com/software/wget/