Mac OS 安装Wget
没有Wget的日子是非常难过的,强大的Mac OS 下安装Wget非常简单
下载一个Wget的源码包,http://www.gnu.org/software/wget/
安装与配置
-
首先下载一个Wget的源码包
http://www.gnu.org/software/wget/ -
进入到解压的目录
tar zxvf wget-1.9.1.tar.gz -
输入:./configure
末尾几行执行结果:
…
configure: error: in `/Users/Richard/Documents/Dev/tools/wget-1.17’:
configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
Alternatively, you may set the environment variables GNUTLS_CFLAGS
and GNUTLS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
To get pkg-config, see http://pkg-config.freedesktop.org/.
See `config.log’ for more details