美文网首页
/usr/local/include is not writab

/usr/local/include is not writab

作者: 不拘小节123456 | 来源:发表于2016-06-07 10:04 被阅读495次

在Mac上使用brew命令安装东西,提示/usr/local/include is not writable的错误,在Stack Overflow很快找到解决办法:

Simple solution that worked for me:

click on your background to go to finder

click on go and go to folder /usr

right click on local and do get info

unlock the lock at the bottom

click + sign and add your user to the list and give read/write privileges

click on the gear sign at the

bottom and choose apply to enclosed items to recurse under that

directory and assign privileges too all directories beneath it.

相关文章

网友评论

      本文标题:/usr/local/include is not writab

      本文链接:https://www.haomeiwen.com/subject/bduddttx.html