5
安裝RcppEigen我試圖在Amazon EC2上安裝RcppEigen(在t1.micro到 確保它的工作原理)&的Ubuntu 13.04。我試着用兩個R版本是2.15.2和3.0,32bit ubuntu和64bit unbuntu。任何時候我得到以下幾點:錯誤在Amazon EC2上
[email protected]:/home/ubuntu# R CMD INSTALL RcppEigen_0.3.1.2.1.tar.gz
* installing to library ‘/usr/local/lib/R/site-library’
* installing *source* package ‘RcppEigen’ ...
** package ‘RcppEigen’ successfully unpacked and MD5 sums checked
** libs
g++ -I/usr/share/R/include -DNDEBUG -I"/usr/local/lib/R/site-library/Rcpp/include" -I../inst/include -fpic -O2 -pipe -g -c RcppEigen.cpp -o RcppEigen.o
g++ -I/usr/share/R/include -DNDEBUG -I"/usr/local/lib/R/site-library/Rcpp/include" -I../inst/include -fpic -O2 -pipe -g -c fastLm.cpp -o fastLm.o
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
make: *** [fastLm.o] Error 4
ERROR: compilation failed for package ‘RcppEigen’
* removing ‘/usr/local/lib/R/site-library/RcppEigen’
任何人有一個想法如何讓RcppEigen在EC2上運行? (Rcpp安裝完美....)
工作完美! – user189035
很高興聽到!我認爲這是之前提出的。也許我應該將它添加到Rcpp的FAQ中... –