- Free Oracle account
- VirtualBox
- Solaris iconv does not work. We need GNU iconv from CSW
- The CSW version of
r_base
uses gcc
(also from CSW)
- The builds below use the Oracle Studio 12.3 compiler instead (because CRAN)
- Download Solaris 11.2 VM for VirtualBox
- Double Click image to open in Virtualbox
- Click though menu to setup server
- In virtual box "Devices" menu, enable share clipboard bewteen guest/host (bidirectional).
- Add the opencsw repsitory.
- Install GNU iconv:
sudo /opt/csw/bin/pkgutil -y -i libiconv_dev
sudo pkg install --accept jdk-7
javac --version
sudo /opt/csw/bin/pkgutil -a texlive
sudo /opt/csw/bin/pkgutil -y -i texlive
pdflatex --version`
mkdir -p ~/build
cd ~/build
wget http://cran.rstudio.com/src/base/R-3/R-3.1.2.tar.gz
tar xzvf R-3.1.2.tar.gz
cd 3.1.2
rm config.site
## Copy new config.site into R dir
PATH=$PATH:/opt/solarisstudio12.3/bin
./configure --prefix=/opt/R --with-blas='-library=sunperf' --with-lapack
make
sudo mkdir -p /opt/R/lib/R/lib
sudo make install
mkdir -p ~/build
cd ~/build
wget ftp://ftp.stat.math.ethz.ch/Software/R/R-devel.tar.gz
tar xzvf R-devel.tar.gz
cd R-devel
rm config-site
## Copy new config.site into R dir
PATH=$PATH:/opt/solarisstudio12.3/bin
./configure --prefix=/opt/R-devel --with-blas='-library=sunperf' --with-lapack
make
sudo mkdir -p /opt/R-devel/lib/R/lib
sudo make install