如何在MAC上安装make 以及 wget

来源:互联网 发布:数据脱敏产品 编辑:程序博客网 时间:2024/06/05 05:40

第一种方式:

首先 安装make 命令

https://developer.apple.com/downloads/index.action?name=for%20Xcode%20- 

下载 https://developer.apple.com/downloads/index.action?name=for%20Xcode%20-#

command_line_tools_for_xcode_june_2012.dmg

 

然后下载Wget 安装

curl -O http://ftp.gnu.org/gnu/wget/wget-1.13.4.tar.gztar -xzvf wget-1.13.4.tar.gzcd wget-1.13.4./configure --with-ssl=opensslmakesudo make install
如果上面这种方式不行,报错,说啥 ,那就换我第二种方式,绝对可用
configure: error: --with-ssl=openssl was given, but SSL is not available
configure: error: --with-ssl was given, but GNUTLS is not available.
第二种方式:
brew install wget --with-libressl
如果解决了你的问题,可以顶我一下,遇到问题请留言
0 0
原创粉丝点击