[英]Trouble installing R-2.15.2 on Fedora 14
I need to install R-2.15.2 , the latest version. 我需要安装最新版本R-2.15.2 。 I tried using
我尝试使用
blah> sudo yum install R
to install R, but for whatever reason (maybe because it's an old version of Fedora?) my system thinks R version 13 is the most recent. 安装R,但是出于某种原因(也许是因为它是Fedora的旧版本?),我的系统认为R版本13是最新的。 So, I downloaded the .tar.gz file from R's site and used the following:
因此,我从R的站点下载了.tar.gz文件,并使用了以下命令:
blah> tar -xvf R-2.15.2.tar.gz
This successfully unzipped the file. 这样就成功解压缩了文件。 I then ran:
然后我跑了:
blah> ./configure
blah/R-2.15.2> ls
ChangeLog COPYING Makeconf.in ONEWS src VERSION-NICK
config.log doc Makefile.fw OONEWS SVN-REVISION
config.site etc Makefile.in po tests
configure INSTALL NEWS README tools
configure.ac m4 NEWS.pdf share VERSION
As you can see, makefiles are present. 如您所见,makefile存在。 However, when I run "make" within the R folder, I get the following error:
但是,当我在R文件夹中运行“ make”时,出现以下错误:
blah/R-2.15.2> make
make: No targets specified and no makefile found. Stop.
Is there any way I can fix this issue? 有什么办法可以解决这个问题? I'm guessing people will recommend updating Fedora, but is there another way?
我猜人们会建议更新Fedora,但是还有另一种方法吗?
You should check whether the command ./configure terminate successfully. 您应该检查命令./configure是否成功终止。 If ./configure return without error, there should be a file named with Makefile .
如果./configure没有错误返回,则应该有一个名为Makefile的文件 。
Comment seems to be very long, so posted this answer. 评论似乎很长,因此发布了此答案。
You should see just Makefile - no Makefile.in, Makefile.fw or Makefile.whatdoyouwant - just Makefile . 您应该只看到Makefile-没有Makefile.in,Makefile.fw或Makefile.whatdoyouwant-只有Makefile 。 This file appears after ./configure was successful.
./configure成功后,该文件出现。 If you don't see just Makefile - then ./configure was not successful.
如果您看不到Makefile ,则./configure不成功。 So read its output and try to understand what it needs to do its work right way.
因此,请阅读其输出并尝试了解正确进行工作所需的内容。
Run ./configure in the R-2.15.2 directory not in the blah directory. 在R-2.15.2目录而不是blah目录中运行./configure。 You should get a whole stream of output from ./configure if it runs.
如果运行,您应该从./configure获得完整的输出流。 Once that is done, make should work.
完成后,make应该可以正常工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.