Solaris 11 pkg list
[openafs-wiki.git] / HowToBuildOpenAFSFromSource.mdwn
index 297b75a..2cd1e78 100644 (file)
@@ -131,6 +131,7 @@ The following development libraries are needed:
 
 - libc
 - kerberos 5
+- perl
 - ncurses (optional, needed to build scout/afsmonitor)
 - pam (optional)
 - kernel headers
@@ -144,7 +145,7 @@ support, which is *strongly* recommended.
 On a Debian 6, the required packages can be install with the following commands apt-get commands,
 
     $ apt-get install git autoconf automake libtool make gcc flex bison
-    $ apt-get install libc6-dev libkrb5-dev libncurses5-dev linux-headers-$(uname -r)
+    $ apt-get install libc6-dev libkrb5-dev libperl-dev libncurses5-dev linux-headers-$(uname -r)
 
 ### Linux RPM Packages ###
 
@@ -152,7 +153,7 @@ On a RedHat-based linux distributions, all of the required packages can be
 installed with the following yum commands,
 
      $ yum install git-core gcc autoconf automake libtool make flex bison
-     $ yum install glibc-devel krb5-devel ncurses-devel pam-devel kernel-devel-$(uname -r)
+     $ yum install glibc-devel krb5-devel perl-devel ncurses-devel pam-devel kernel-devel-$(uname -r)
 
 The following additional packages are needed to [[build RPM packages|HowToBuildOpenAfsRpmPackages]].
 
@@ -167,14 +168,15 @@ package installer instructions for your platform type and version.
 
 [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
@@ -187,6 +189,25 @@ With `pkgutil` installed, install the necessary packages;
      $ sudo pkgutil -y --install gmake flex bison gsed automake autoconf libtool
      $ sudo pkgutil -y --install libkrb5_dev libncurses_dev
 
+Note: Is a perl devel lib needed on solaris?
+
+#### Solaris 11 ####
+
+Install SolarisStudio 12.3 via tarball.
+
+Use the `pkg` tool to install the other necessary tools and libs to build OpenAFS
+on Solaris 11.
+
+      $ sudo pkg install git
+      $ sudo pkg install make flex bison gnu-m4 gnu-coreutils gnu-binutils gnu-sed 
+      $ sudo pkg install automake            /* this selects automake-111; if dependency errors are indicated, try automake-110 */
+      $ sudo pkg install autoconf libtool
+      $ sudo pkg install developer/gcc-3
+
+The OpenAFS build process also requires the `gencat` program. Verify
+`/usr/bin/gencat` is available, otherwise install the `SUNWloc` package.
+
+     $ sudo pkg install SUNWloc
 
 ## Getting the Source Code ##