我意识到新的基于LLVM的gcc与Xcode 4.2有关的一系列问题。
所以我试着rvm get head,rvm install apple-gcc42
安装进行得很好,但由于以下原因,我无法brew link apple-gcc42它:
Error: Could not symlink file: /usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/i686-apple-darwin11-gfortran-4.2.1
Target /usr/local/bin/i686-apple-darwin11-gfortran-4.2.1 already exists. You may need to delete it.
To force the link and delete this file, do:
brew link --overwrite formula_name
To list all files that would be deleted:
brew link --overwrite --dry-run formula_name 我不确定我是否应该在这里试试brew link --overwrite apple-gcc42。没有引用该"Target /usr/local/bin/i686-apple-darwin11-gfortran-4.2.1 already exists"错误。有人能提供一些想法吗?
我关心的是它是否会影响任何与Xcode 4.2.相关的内容。
发布于 2013-03-22 22:40:13
如果您不知道该文件,那么您可以安全地删除它-- /usr/local/bin/i686-apple-darwin11-gfortran-4.2.1 --顾名思义,它是指目前没有在任何标准软件开发中使用的fortran。
https://stackoverflow.com/questions/15576454
复制相似问题