小编Sha*_*awn的帖子

我使用自制软件时会遇到麻烦

我想在我的Mac上安装git(OS X 10.10.3).我写道:brew install git

但它报告说:

sh: line 1:  1549 Abort trap: 6           /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk / -find clang 2> /dev/null
clang: error: unable to find utility "clang", not a developer tool or in PATH
sh: line 1:  1552 Abort trap: 6           /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk / -find otool 2> /dev/null
otool: error: unable to find utility "otool", not a developer tool or in PATH
Error: Failure while executing: /usr/bin/otool -L /usr/bin/install_name_tool
Run Code Online (Sandbox Code Playgroud)

然后我写brew医生.它报告说:

Warning: /usr/local/include isn't writable.

This can happen if you "sudo …
Run Code Online (Sandbox Code Playgroud)

git homebrew include

11
推荐指数
1
解决办法
6239
查看次数

标签 统计

git ×1

homebrew ×1

include ×1