[Rcpp-devel] Installing RcppArmadillo under Ubuntu 10.10
Dirk Eddelbuettel
edd at debian.org
Wed Feb 9 16:30:08 CET 2011
On 9 February 2011 at 09:16, Douglas Bates wrote:
| On Tue, Feb 8, 2011 at 3:49 PM, Douglas Bates <bates at stat.wisc.edu> wrote:
| > I guess my compiler just doesn't like me.
|
| Actually it's my compiler options that don't like me. I was using the
| -ggdb option to g++ instead of -g. When i switched back to -g I could
| compile and load RcppArmadillo.
I am thrilled to hear that you are getting over that hump, but some curious
exploring at my end suggests that you still have a local issue -- -ggdb works
fine here with g++ 4.3 and 4.3. I even opted out of ccache to really force it:
edd at max:~/svn/rcpp/pkg$ R CMD INSTALL --preclean RcppArmadillo
* installing to library ‘/usr/local/lib/R/site-library’
* installing *source* package ‘RcppArmadillo’ ...
** libs
g++-4.3 -I/usr/share/R/include -I"/usr/local/lib/R/site-library/Rcpp/include" -I../inst/include -fpic -ggdb -O3 -Wall -pipe -pedantic -Wno-variadic-macros -c RcppArmadillo.cpp -o RcppArmadillo.o
g++-4.3 -I/usr/share/R/include -I"/usr/local/lib/R/site-library/Rcpp/include" -I../inst/include -fpic -ggdb -O3 -Wall -pipe -pedantic -Wno-variadic-macros -c fastLm.cpp -o fastLm.o
g++ -shared -o RcppArmadillo.so RcppArmadillo.o fastLm.o -L/usr/local/lib/R/site-library/Rcpp/lib -lRcpp -Wl,-rpath,/usr/local/lib/R/site-library/Rcpp/lib -llapack -lblas -lgfortran -lm -L/usr/lib64/R/lib -lR
installing to /usr/local/lib/R/site-library/RcppArmadillo/libs
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices ...
** testing if installed package can be loaded
* DONE (RcppArmadillo)
edd at max:~/svn/rcpp/pkg$ R CMD INSTALL --preclean RcppArmadillo
* installing to library ‘/usr/local/lib/R/site-library’
* installing *source* package ‘RcppArmadillo’ ...
** libs
g++-4.4 -I/usr/share/R/include -I"/usr/local/lib/R/site-library/Rcpp/include" -I../inst/include -fpic -ggdb -O3 -Wall -pipe -pedantic -Wno-variadic-macros -c RcppArmadillo.cpp -o RcppArmadillo.o
g++-4.4 -I/usr/share/R/include -I"/usr/local/lib/R/site-library/Rcpp/include" -I../inst/include -fpic -ggdb -O3 -Wall -pipe -pedantic -Wno-variadic-macros -c fastLm.cpp -o fastLm.o
g++ -shared -o RcppArmadillo.so RcppArmadillo.o fastLm.o -L/usr/local/lib/R/site-library/Rcpp/lib -lRcpp -Wl,-rpath,/usr/local/lib/R/site-library/Rcpp/lib -llapack -lblas -lgfortran -lm -L/usr/lib64/R/lib -lR
installing to /usr/local/lib/R/site-library/RcppArmadillo/libs
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices ...
** testing if installed package can be loaded
* DONE (RcppArmadillo)
edd at max:~/svn/rcpp/pkg$
Dirk
--
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
More information about the Rcpp-devel
mailing list