OS X软件包的安装取决于gfortran-4.8 [英] OS X package installation depends on gfortran-4.8

查看:314
本文介绍了OS X软件包的安装取决于gfortran-4.8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用OS X devel版本的R

I'm using the OS X devel version of R

R Under development (unstable) (2014-05-27 r65787)
Platform: x86_64-apple-darwin13.1.0 (64-bit)

GNU Fortran(GCC)4.2.3(来自 Simon的网站)和Xcode命令行工具5.1.1版。

with GNU Fortran (GCC) 4.2.3 (from Simon's site) and version 5.1.1 of Xcode's command line tools.

从源代码构建时,出现如下错误:

When building from source, I get errors like:

gfortran-4.8   -fPIC  -g -O2  -c altmov.f -o altmov.o
make: gfortran-4.8: No such file or directory

我不确定这里要做什么。我可以为我的版本创建一个别名,但我不确定它是否真的需要4.8。

I'm not sure what to do here. I could create an alias to the version I have but I'm not sure if it really needs 4.8 or not.

谢谢,

Max

推荐答案

在您的终端中键入以下两行,直接引用: b

Type these two lines in your terminal, direct quote:

curl -O http://r.research.att.com/libs/gfortran-4.8.2-darwin13.tar.bz2
sudo tar fvxj gfortran-4.8.2-darwin13.tar.bz2 -C /

它会下载你gfortran for Mavericks(目前在您的系统中缺失)并将其安装到您的系统中。至少,这对我来说解决了同样的问题。

It will download you the gfortran for Mavericks (which is missing in your system at the moment) and will install it in your system. At least, this solved the same problem for me

(我正在使用2011年末MacPro,Mavericks)。

(I'm running late 2011 MacPro, Mavericks).

这篇关于OS X软件包的安装取决于gfortran-4.8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆