Mac Os 10.10或10.11上的自制软件无法正常工作 [英] Homebrew on Mac Os 10.10 or 10.11 is not working
本文介绍了Mac Os 10.10或10.11上的自制软件无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
安装 Homebrew 后,当我运行任何brew ***
时,都会不断出现此错误:
After installed Homebrew, when I run any brew ***
, I keep getting this error:
Homebrew requires Leopard or higher. For Tiger support, see:
https://github.com/mistydemeo/tigerbrew
我的环境:Mac OS 10.10(优胜美地)
My Env: Mac OS 10.10(Yosemite)
我检查了brew.rb
来源,它具有:
I checked the brew.rb
source, it has:
if MACOS and MACOS_VERSION < 10.5
abort <<-EOABORT.undent
Homebrew requires Leopard or higher. For Tiger support, see:
http://github.com/sceaga/homebrew/tree/tiger
EOABORT
end
我不知道为什么优胜美地会触发此版本检查.
I have no idea why the Yosemite will trigger this version check.
推荐答案
编辑brew.rb
文件以获取此信息:
Edit the brew.rb
file to get this :
# 10.10 stands for Mac OS Yosemite
# 10.11 stands for Mac OS El Capitan
if MACOS and MACOS_VERSION < 10.5 and MACOS_VERSION != 10.1 and MACOS_VERSION != 10.11
abort <<-EOABORT.undent
Homebrew requires Leopard or higher. For Tiger support, see:
http://github.com/sceaga/homebrew/tree/tiger
EOABORT
end
然后它将安装正常.
这是因为10.10
与10.5
以下的10.1
相同
这篇关于Mac Os 10.10或10.11上的自制软件无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文