Tôi đã cố cài đặt RcppEigen trên amazon EC2 (trên t1.micro đến đảm bảo rằng nó hoạt động) & ubuntu 13.04. Tôi đã thử với cả hai phiên bản R là 2.15.2 và 3.0, 32bit ubuntu và 64bit unbuntu. Bất cứ lúc nào tôi nhận được những điều sau đây:Lỗi khi cài đặt RcppEigen trên 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’
Bất kỳ ai có ý tưởng về cách để RcppEigen chạy trên EC2? (Rcpp cài đặt hoàn hảo ....)
hoạt động hoàn hảo! – user189035
Rất vui khi được nghe! Tôi nghĩ điều đó đã xảy ra trước đó. Có lẽ tôi nên thêm nó vào FAQ cho Rcpp ... –