簡體   English   中英

無法在RedHat Linux上安裝R

[英]unable to install R on RedHat Linux

我正在嘗試從RedHat Linux的源代碼安裝R。 當我執行

  ./configure --with-readline=no --with-x=no

我收到此錯誤:

checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... configure: error: in `/software/R/R-3.5.1':
configure: error: cannot compile a simple Fortran program

我什么時候可以獲得gfortran庫? 是否有一個R發行版,其中捆綁了所有必需的庫?

如果只想安裝R,最簡單的解決方案是在CRAN上遵循README

  • 啟用EPEL
  • sudo yum install R

如果您必須自己進行編譯,則啟用EPEL還是有意義的,因為您可以使用

sudo yum-builddep R

安裝R的EPEL構建的所有構建依賴項。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM