[Rd] Testing R packages on Solaris Studio
Jeroen Ooms
jeroenooms at gmail.com
Thu Jan 8 21:52:54 CET 2015
I have setup a Solaris server to test packages before submitting to
CRAN, in order to catch problems that might not reveal themselves on
Fedora, Debian, OSX or Windows. The machine runs a Solaris 11.2 vm
with Solaris Studio 12.3.
I was able to compile current r-devel using the suggested environment
variables from "R Installation and Administration" and:
./configure --prefix=/opt/R-devel --with-blas='-library=sunperf' --with-lapack
All works great (fast too), except for some CRAN packages with c++
code won't build. The compiler itself works, most packages (including
e.g. MCMCpack) build OK. However packages like Rcpp and RJSONIO fail
with errors shown here:
https://gist.github.com/jeroenooms/f1b6a172320a32f59c82.
I tried installing with GNU make, but that does not seem to be the problem
configure.vars = "MAKE=/opt/csw/bin/gmake"
I am aware that I can work around it by compiling with gcc instead of
solaris studio, but I would specifically like to replicate the setup
from CRAN.
Which additional args/vars/dependencies do I need to make Rcpp and
RJSONIO build as they do on the CRAN Solaris server?
> sessionInfo()
R Under development (unstable) (2015-01-07 r67351)
Platform: i386-pc-solaris2.11 (32-bit)
Running under: Solaris 11
locale:
[1] C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] tcltk_3.2.0 tools_3.2.0
More information about the R-devel
mailing list