R包安装错误

时间:2014-02-06 09:36:48

标签: r

我正在尝试使用以下命令在Linux中安装rpart包:

    /opt/vertica/R/bin/R CMD INSTALL rpart_4.1-5.tar.gz

但是我收到以下长错误消息:

* installing to library '/home/vertica/R/x86_64-unknown-linux-gnu-library/3.0'
* installing *source* package 'rpart' ...
** package 'rpart' successfully unpacked and MD5 sums checked
** libs
cc -std=gnu99 -I/opt/vertica/R/include -DNDEBUG  -I/usr/local/include    -fpic   -c    
anova.c -o anova.o
/tmp/ccw3PpFa.s: Assembler messages:
/tmp/ccw3PpFa.s:6: Error: suffix or operands invalid for `push'
/tmp/ccw3PpFa.s:8: Error: suffix or operands invalid for `push'
/tmp/ccw3PpFa.s:24: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:27: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:28: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:36: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:39: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:40: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:43: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:44: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:50: Error: suffix or operands invalid for `pop'
/tmp/ccw3PpFa.s:51: Error: suffix or operands invalid for `pop'
/tmp/ccw3PpFa.s:57: Error: suffix or operands invalid for `push'
/tmp/ccw3PpFa.s:59: Error: suffix or operands invalid for `push'
/tmp/ccw3PpFa.s:131: Error: suffix or operands invalid for `pop'
/tmp/ccw3PpFa.s:132: Error: suffix or operands invalid for `pop'
/tmp/ccw3PpFa.s:144: Error: suffix or operands invalid for `push'
/tmp/ccw3PpFa.s:146: Error: suffix or operands invalid for `push'
/tmp/ccw3PpFa.s:147: Error: suffix or operands invalid for `push'
/tmp/ccw3PpFa.s:148: Error: suffix or operands invalid for `push'
/tmp/ccw3PpFa.s:323: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:335: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:340: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:344: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:372: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:376: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:380: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:390: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:393: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:420: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:425: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:429: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:433: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:436: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:445: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:452: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:454: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:477: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:481: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:487: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:493: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:499: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:505: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:511: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:561: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:579: Error: 8-byte relocation cannot be applied to 4-byte field
/tmp/ccw3PpFa.s:592: Error: suffix or operands invalid for `pop'
/tmp/ccw3PpFa.s:593: Error: suffix or operands invalid for `pop'
/tmp/ccw3PpFa.s:594: Error: suffix or operands invalid for `pop'
/tmp/ccw3PpFa.s:595: Error: suffix or operands invalid for `pop'
make: *** [anova.o] Error 1
ERROR: compilation failed for package 'rpart'
* removing '/home/vertica/R/x86_64-unknown-linux-gnu-library/3.0/rpart'

以下是R:

中sessionInfo()调用的结果
> sessionInfo()
R version 3.0.0 (2013-04-03)
Platform: x86_64-unknown-linux-gnu (64-bit)

locale:
 [1] LC_CTYPE=C                 LC_NUMERIC=C
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
 [7] LC_PAPER=C                 LC_NAME=C
 [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

有人可以帮我解决此错误消息的内容以及解决方法吗?

谢谢。

拉​​维

0 个答案:

没有答案
相关问题