尝试"brew link autoconf"时出错. [英] Error when trying to "brew link autoconf"
问题描述
当我尝试在终端中"brew link autoconf"时,我不断收到此错误.
When I try to "brew link autoconf" in the terminal I keep getting this error.
错误:无法符号链接文件:/usr/local/Cellar/autoconf/2.69/share/emacs/site-lisp /usr/local/share/emacs是不可写的.您应该更改其权限.
Error: Could not symlink file: /usr/local/Cellar/autoconf/2.69/share/emacs/site-lisp /usr/local/share/emacs is not writable. You should change its permissions.
有人对如何解决此问题有任何想法吗?谢谢!
Anyone have any ideas on how to fix this? Thanks!
推荐答案
您需要确保/usr/local中的所有文件和文件夹都是可写的.您可以通过键入以下命令来完成此操作
You need to make sure that all the files and folders in /usr/local are writable by you. You can do this by typing the following command
chown -R yourusername /usr/local
chmod -R u+w /usr/local
您可能必须使用sudo才能使这些命令起作用.
You may have to use sudo for those commands to work.
执行完此操作后,请尝试再次链接.
After you do this, try linking again.
这篇关于尝试"brew link autoconf"时出错.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!