由于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。我该如何解决这个问题呢?
发布于 2017-03-22 05:11:34
我在Linux上看到了类似的错误,并通过安装正确的devel包(gmp-devel mpfr-devel libmpc-devel ..)解决了所有错误。我再也不用重新安装gcc/gfortran了。
https://stackoverflow.com/questions/40364038
复制相似问题