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页面, –