[英]Homebrew aspell directory not writable
我遇到一些困难。 这从一个更广泛的问题开始,但是我(在此列表的帮助下)似乎将范围缩小了一些。 我最初的查询是在Emacs-Kieran Healy的Emacs Starter Kit aspell英语字典
(而且,是的,我为标题中的拼写错误感到尴尬)。
我已经缩小了范围(在该问题的帮助下),将问题缩小到Homebrew安装的aspell。 命令brew install aspell
给出以下错误。
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
出现以下错误:
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的文件权限是
drwxr-xr-x 89 root wheel 2848 7 Nov 2016 aspell-0.60
brew doctor
给
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,所以我认为不需要这样做。
任何帮助,不胜感激。
Homebrew上的信息:无法符号链接,/ usr / local / bin不可写 ,这很有帮助。 我不得不sudo chown -R
whoami :admin /usr/local/lib
。 然后,在使用Homebrew解除安装并重新安装aspell之后,我不得不brew link --overwrite aspell
。 现在一切正常。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.