刚为开发人员升级到beta El Capitan。
Deniss-MBP:src me$ brew install hg
Warning: You are using OS X 10.11.
We do not provide support for this pre-release version.
You may encounter build failures or other breakage.
==> Downloading https://mercurial.selenic.com/release/mercurial-3.4.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/mercurial-3.4.2.tar.gz
==> make PREFIX=/usr/local/Cellar/mercurial/3.4.2 install-bin
#include <stdio.h>
^
1 error generated.
error: command 'clang' failed with exit status 1
make: *** [build] Error 1
READ THIS: https://git.io/brew-troubleshooting
Warning: You are using OS X 10.11.
We do not provide support for this pre-release version.
You may encounter build failures or other breakage.
任何想法如何使其工作?
注意:当我这样做brew doctor
时说
Warning: Your Xcode (6.3.2) is outdated
Please update to Xcode 7.0.
Xcode can be updated from
https://developer.apple.com/downloads
但我确实在我的电脑上安装了xcode-beta 7。不确定这是否相关联。以防万一
brew update
Warning: You are using OS X 10.11.
为我固定。