无法安装Hmisc update 4.0.0

时间:2016-11-01 16:12:17

标签: r compilation gfortran hmisc

由于gfortran编译错误

,我在安装R 4.0.0的Hmisc包时遇到问题
gfortran-4.8: warning: couldn’t understand kern.osversion ‘15.6.0
f951: internal compiler error: Illegal instruction: 4
f951: internal compiler error: Abort trap: 6
gfortran-4.8: internal compiler error: Abort trap: 6 (program f951)
make: *** [cidxcn.o] Abort trap: 6

我正在运行r和mac os x

R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin13.4.0 (64-bit)

我直接使用brew和gfortran-4.8重新安装了gcc。 我该如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

我在Linux上看到了类似的错误,并通过安装正确的devel包(gmp-devel mpfr-devel libmpc-devel ..)解决了所有这些错误。我从来没有重新安装gcc / gfortran。