无法通过Max OS Yosemite中的Brew链接pcre [英] Can't link pcre thru brew in max os yosemite

查看:142
本文介绍了无法通过Max OS Yosemite中的Brew链接pcre的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用brew install watchman安装watchman时,得到了这个Error: You must brew link pcre before watchman can be installed.所以我尝试brew link pcrebrew 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆