无法通过Max OS Yosemite中的Brew链接pcre [英] Can't link pcre thru brew in max os yosemite
问题描述
当我使用brew install watchman
安装watchman时,得到了这个Error: You must brew link pcre before watchman can be installed
.所以我尝试brew link pcre
和brew link --overwrite pcre
linking /usr/local/Cellar/pcre/8.36...
Error: Could not symlink share/man/man3/pcre.3
/usr/local/share/man/man3 is not writable.
When I install watchman using brew install watchman
, it got this Error: You must brew link pcre before watchman can be installed
. So I try brew link pcre
and brew link --overwrite pcre
, I just got
linking /usr/local/Cellar/pcre/8.36...
Error: Could not symlink share/man/man3/pcre.3
/usr/local/share/man/man3 is not writable.
任何人都可以帮忙吗?
推荐答案
根据设计,自酿(brew)要求/usr/local
的内容归您所有.您可以通过运行以下命令轻松修复它:
By design Homebrew (brew) requires the contents of /usr/local
to be owned by you. You can fix it easily by running:
sudo chown -R `whoami` /usr/local
在您的终端机上
.
from your Terminal.
有关进一步的说明,请参见此处.
See here for further explanation.
这篇关于无法通过Max OS Yosemite中的Brew链接pcre的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!