首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Homebrew aspell目录不可写

Homebrew aspell目录不可写
EN

Stack Overflow用户
提问于 2018-11-15 09:03:22
回答 1查看 138关注 0票数 0

我遇到了一些困难。我最初的查询是在Emacs - Kieran Healy's Emacs Starter Kit aspell English dictionery

(是的,我对标题中的拼写错误感到尴尬)。

命令brew install aspell给出以下错误。

代码语言:javascript
运行
复制
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink lib/aspell-0.60/american-variant_0.alias
/usr/local/lib/aspell-0.60 is not writable.

You can try again using:
brew link aspell

如果我尝试使用brew link aspell,我会得到以下错误:

代码语言:javascript
运行
复制
Linking /usr/local/Cellar/aspell/0.60.6.1_1... 
Error: Could not symlink lib/aspell-0.60/american-variant_0.alias
/usr/local/lib/aspell-0.60 is not writable.

aspell上的文件权限为

代码语言:javascript
运行
复制
drwxr-xr-x  89 root  wheel  2848  7 Nov  2016 aspell-0.60

brew doctor给出

代码语言:javascript
运行
复制
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that 
depend on
those kegs to fail to run properly once built. Run `brew link` on 
these:
aspell

它还告诉我需要从XCode 9.3更新到XCode 10.1,但由于我仍然运行MacOS 10.13.4,我认为我不需要这样做。

非常感谢您的帮助。

EN

回答 1

Stack Overflow用户

发布于 2018-11-19 07:40:46

Homebrew: Could not symlink, /usr/local/bin is not writable上的信息很有帮助。我不得不和:admin /usr/local/lib一起使用sudo chown -R。然后,在使用自制软件卸载并重新安装aspell之后,我不得不使用brew link --overwrite aspell。现在一切都正常了。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/53311005

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档