【发布时间】:2017-01-19 08:03:33
【问题描述】:
我安装了 Apple 的命令行工具,但不包括 gfortran。因此,我从 homebrew 安装了 gcc(包括 gfortran)
brew install gcc
但是我收到了这个警告
Warning: gcc-6.2.0 already installed, it's just not linked
所以我尝试链接它
brew link gcc
有了这个结果
Linking /usr/local/Cellar/gcc/6.2.0...
Error: Could not symlink share/man/man7/fsf-funding-6.7
/usr/local/share/man/man7 is not writable.
我在这里卡住了。我不知道如何解决这个错误。怎么链接gcc,或者更好,为什么不从头链接呢?
【问题讨论】:
-
这可能是因为权限不足。看看这个post
标签: gcc homebrew osx-elcapitan gfortran