[Oracle Solaris Studio][1] can be used to build OpenAFS binaries on the
solaris platform. Solaris Studio is freely available for the solaris and linux
-platforms with a no-cost Oracle Technology Network (OTN) account. Follow the
-package installer instructions for your platform type and version.
+platforms with a no-cost Oracle Technology Network (OTN) account. For recent
+versions of Solaris, use the `pkg' command to install Solaris Studio. Follow the
+package installer instructions on the Solaris Studio download page for
+your platform type and version. This requires you to create and download a key
+and certificate using your OTN account.
[1]: http://www.oracle.com/technetwork/server-storage/solarisstudio
-The OpenAFS build process requires the `gencat` program. Verify
-`/usr/bin/gencat` is available, otherwise install the `SUNWloc` package.
+All the tools and libs needed to build OpenAFS are available with the `pkg`
+command on Solaris 11. Earlier versions of Solaris require third party tools
+and libs.
- $ sudo pkg install SUNWloc
+#### Solaris 10 and earlier ####
-The [OpenCSW][2] project provides software packages for solaris which can be
-easily installed. Follow the [OpenCSW getting started][3] instructions to
-setup the `pkgutil` package manager tool.
+The [OpenCSW][2] project provides software packages for solaris 10 and earlier
+which can be easily installed to build OpenAFS. Follow the [OpenCSW getting started][3]
+instructions to setup the `pkgutil` package manager tool.
[2]: http://www.opencsw.org
[3]: http://www.opencsw.org/manual/for-administrators/getting-started.html
Note: Is a perl devel lib needed on solaris?
+#### Solaris 11 ####
+
+Install [SolarisStudio][1] using the `pkg' command. You will need an SSL
+certificate and key, which can be created using your OTN account. See the instructions
+on the Solaris Studio download page.
+
+(Alternately, install Solaris Studio from the tar file installer, and then find
+and install any missing dependencies.)
+
+Use the `pkg` tool to install the other necessary packages:
+
+ $ sudo pkg install git
+ $ sudo pkg install text/locale
+ $ sudo pkg install gnu-coreutils gnu-binutils gnu-sed
+ $ sudo pkg install make flex bison
+ $ sudo pkg install automake autoconf libtool
+
+If you have dependency issues with automake, try automake-110
+
+If you have installed Solaris Studio via the tar file, you may need to install
+the `system/header' package manually:
+
+ $ sudo pkg install system/header
+
+
## Getting the Source Code ##
See [[GitDevelopers]] for details on how to use git to fetch OpenAFS source