Archive for the ‘Solaris’ Category

Installing Oracle Solaris Studio 12.3 (on SPARC)

03/04/2012

I only just noticed that Oracle Solaris Studio 12.3 was released last December. I’ve installed the past few releases on Solaris pretty easily (each Installation Guide is helpful), but I thought it would be good to keep a more permanent record of the process here.

First: what’s my machine and OS?

$ cat /etc/release

shows Solaris 10 on SPARC for me.

As root I downloaded the SVR4 *-pkg.tar.bz2 for the correct system from Oracle Solaris Studio Downloads and, naturally, bunzip2ed and untared it. I did this in /tmp/.

Then I ran the included install_patches.sh script. This gave a warning

For patch 147436-01, required patch 118833-36 does not exist.

The machine I’m installing on is probably about 7 years old, and I don’t think many system patches have been applied to it in the past. According to We Sun Solve!, patch 118833-36 is a massive system patch from 2007, while patch 147436-01 is a smaller fix to the linker from 2011. Hopefully we can live without it! Indeed, there seems to be some self-contradictory information from Oracle in the Installing the Required Oracle Solaris OS Patches section of the Studio 12.3 Installation Guide, which says that

…patch 147436-01…is required only on systems running Oracle Solaris 8/11

even though earlier on the page it doesn’t seem to be talking about this particular patch. Hmm. Otherwise, the patches installed fine.

Anyway, we’re ready to run the Studio installer now. For me, /tmp/ is too small, so I see

The /tmp temporary directory does not have enough free disk space for the installer.

plus Java is installed in a non-standard location, so I also see

Java installation was not found on this computer

All this means I have to invoke the installation script as

$ ./solarisstudio.sh --non-interactive --verbose --tempdir /export/home/OSS12.3 --javahome /opt/jre1.6.0_23

which runs successfully.

Advertisements