[Rcpp-devel] RcppArmadillo installation issue
Dirk Eddelbuettel
edd at debian.org
Tue Jul 10 18:26:38 CEST 2012
On 10 July 2012 at 09:00, Vinh Nguyen wrote:
| Dear list,
|
| I'm trying to install RcppArmadillo on my school's cluster (R version
| 2012-05-31 r59485). Was able to install Rcpp fine using
| install.packages. However, I get the following error for Rcpp:
|
| > install.packages("RcppArmadillo", lib="~/Rlib", dep=TRUE)
| trying URL 'http://cran.stat.ucla.edu/src/contrib/RcppArmadillo_0.3.2.3.tar.gz'
| Content type 'application/x-tar' length 668838 bytes (653 Kb)
| opened URL
| ==================================================
| downloaded 653 Kb
|
| * installing *source* package ‘RcppArmadillo’ ...
| ** package ‘RcppArmadillo’ successfully unpacked and MD5 sums checked
| ** libs
| mpiCC -I/data/users/vqnguyen/r-devel-installed/lib64/R/include
| -DNDEBUG -I/data/apps/mpc-0.9/include
| -I"/data/users/vqnguyen/Rlib/Rcpp/include" -I../inst/include -fpic
| -g -O2 -c RcppArmadillo.cpp -o RcppArmadillo.o
| In file included from ../inst/include/armadillo:141:0,
| from ../inst/include/RcppArmadilloForward.h:36,
| from ../inst/include/RcppArmadillo.h:25,
| from RcppArmadillo.cpp:22:
| ../inst/include/armadillo_bits/Mat_bones.hpp:468:5: internal compiler
| error: in copy_binfo, at cp/tree.c:1250
| Please submit a full bug report,
| with preprocessed source if appropriate.
| See <http://gcc.gnu.org/bugs.html> for instructions.
| make: *** [RcppArmadillo.o] Error 1
|
| Is my compiler not compatible with RcppArmadillo? Let me know your
| thoughts, thanks!
It would help us somewhat if you could let us know which compiler that is, eg
which compiler gets called from the mpiCC wrapper ;-)
That said, it very much looks like an issue with g++ 4.7.*. I actually made a
small change to make it work at my end (Debian testing, g++-4.7.1).
You may well get by using version 4.6 (eg via CXX=g++-4.6).
Let us know how it goes.
Dirk
--
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
More information about the Rcpp-devel
mailing list