0
從源碼在Ubuntu 14.04(64位)上安裝R時,出現make
錯誤。我的安裝步驟如下:使用make從源碼構建R時出錯
sudo apt-get install build-essential sudo apt-get install gfortran sudo apt-get install libreadline6-dev sudo apt-get install libxt-dev ./configure --prefix=/home/li/Dev/R-3.2.0 --enable-R-shlib make
我然後我得到了以下錯誤:
collect2: error: ld returned 1 exit status make[3]: *** [R.bin] Error 1 make[3]: Leaving directory `/home/li/Dev/R/src/main' make[2]: *** [R] Error 2 make[2]: Leaving directory `/home/li/Dev/R/src/main' make[1]: *** [R] Error 1 make[1]: Leaving directory `/home/li/Dev/R/src' make: *** [R] Error 1
爲什麼要從源代碼編譯?按照http://cran.r-project.org/bin/linux/ubuntu/README.html上的說明操作並獲取二進制包。此外,請從http://www.rstudio.com/products/rstudio/download/ – kdopen
使用RStudio進行調查:我爲您的帖子進行了更新,以澄清一些問題。如果這不符合您的想法,請隨時[回滾](http://meta.stackexchange.com/a/18876/287795)。 –
你已經砍掉了太多的make輸出。如果您無法正確修剪,並且不想在此處將其全部內嵌粘貼,請鏈接到pastebin或gist頁面, –