Mac Lion安装wget工具
来源:互联网 发布:沪江1212知乎事件 编辑:程序博客网 时间:2024/05/16 01:37
上次我们提到了在Mac下安装gcc,今天来安装一个经常在命令行下使用的工具Wget。
Wget是一个支持HTTP、FTP的下载工具,经过合理的配置参数,我们甚至可以将一个网站的内容全部拷贝下来。
笔者的系统是Mac OS Lion 10.7.4 ,安装好了gcc。
下载Wget的源代码:下载地址
直接安装的话,会发生下面的错误。
checking for compress in -lz... yeschecking for gpg_err_init in -lgpg-error... nochecking for gcry_control in -lgcrypt... nochecking for libgnutls... noconfigure: error: --with-ssl was given, but GNUTLS is not available.username@host:~/wget-1.13.4 $
在zioer的站中也给出了一个解决方法,但这里我找到了一个更好的办法。
# tar zxvf wget-1.13.4.tar.gz# cd wget-1.13.4wget-1.13.4 root# ./configure --with-ssl=opensslwget-1.13.4 root# makewget-1.13.4 root# make install
注意,你如果不是使用root用户,那么在安装的这一步需要使用sudo授权。
- Mac Lion安装wget工具
- Mac Lion安装wget工具
- Mac OS X 上安装wget工具
- mac工具安装-wget、homebrew、pip等
- wget工具for Mac
- wget工具for Mac
- wget工具for Mac
- Mac OS 安装Wget
- mac 安装 wget
- Mac 安装wget
- Mac OS 安装Wget
- mac下安装wget
- 安装Wget for mac
- Mac 终端安装 wget
- MAC下安装wget
- Mac OS 安装Wget
- mac 安装wget
- Mac 安装wget
- Solaris&oracle运用点
- vc的一点小建议
- Mac显示隐藏文件小工具
- mac curl 使用方法(转载)
- 解决centos下MYSQL无法启动但存在锁定sock的问题
- Mac Lion安装wget工具
- pcb加工对pcb设计的要求
- Hibernate中No row with the given identifier exists问题的原因及解决
- Keychain VS NSUserDefaults
- 操作系统如何使用显卡
- 转 mysql my.cnf的优化
- Earth Mover's Distance
- Android: NDK编程入门笔记
- 关于OutOfMemoryError: Java heap space的备忘