Dear All,
One of my users has reported a problem with R on a 64-bit SL44
system. The R in question is version 2.5.1, installed from the CRAN
mirror at http://www.stats.bris.ac.uk/R/bin/linux/redhat/el4/x86_64/
. When I run R and type the command
install.packages("gbm")
I get floods of error messages of which a sample is pasted below.
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_bvector.h:318: error: expected `;' before "const_iterator"
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_bvector.h:319: error: declaration of `operator-=' as non-function
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_bvector.h:319: error: expected `;' before '(' token
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_bvector.h:325: error: expected `;' before "const_iterator"
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_bvector.h:326: error: `difference_type' has not been declared
This only happens with packages which require C++ (e.g. the tseries
and gee packages installed on this system without a hitch). Also, gbm
installs perfectly on my 32-bit systems running the same version of
R. I realise that this R is not part of Scientific Linux, but I'm
guessing that this problem would be easy to solve for someone familiar
with the quirks of 64-bit Linux.
Eva.