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中... –