我遇到了一些困难。我最初的查询是在Emacs - Kieran Healy's Emacs Starter Kit aspell English dictionery
(是的,我对标题中的拼写错误感到尴尬)。
命令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.60brew 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,我认为我不需要这样做。
非常感谢您的帮助。
发布于 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。现在一切都正常了。
https://stackoverflow.com/questions/53311005
复制相似问题