configure: error: No Fortran compiler found

 

001、问题 centos8 中出现 没有Fortan 编译器的报错

configure: error: No Fortran compiler found

 

002、解决方法

[root@localhost R-4.3.2]# yum install gcc-gfortran

 

003、测试效果

[root@localhost R-4.3.2]# ./configure --prefix=/opt/R/${R_VERSION} --enable-R-shlib --enable-memory-profiling

 fortran编译器的报错消失。

 

posted @ 2024-04-05 00:06  小鲨鱼2018  阅读(183)  评论(0编辑  收藏  举报