Installation/OS Specific Notes/Installing Amanda on Solaris: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
(→‎Solaris 10: add sfw for gtar)
(→‎Solaris 10: um, *don't* add sfw to the path)
Line 5: Line 5:
== Solaris 10 ==
== Solaris 10 ==
The recommended configuration is to compile with the Sun Studio CC.
The recommended configuration is to compile with the Sun Studio CC.
=== Sun Studio cc ===
=== Sun Studio cc ===
Assuming Sun Studio is installed in {{file|/opt/SUNWspro}}, add the following to PATH:
Assuming Sun Studio is installed in {{file|/opt/SUNWspro}}, add the following to PATH:
  PATH="$PATH:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/sfw/bin"
  PATH="$PATH:/opt/SUNWspro/bin:/usr/ccs/bin"
and proceed to ''./configure; make; make install'' as usual.
Make sure that {{file|/usr/sfw/bin}} does not appear in PATH, otherwise configure will find and prefer ''gcc''.
 
Proceed to ''./configure; make; make install'' as usual.


=== GNU gcc ===
=== GNU gcc ===

Revision as of 15:15, 13 July 2007

General Notes

You may get errors running make: Assure that you use the BSD-version of make, usually /usr/ccs/bin/make. Add /usr/ccs/bin to the path before running configure.

Specific Versions

Solaris 10

The recommended configuration is to compile with the Sun Studio CC.

Sun Studio cc

Assuming Sun Studio is installed in /opt/SUNWspro, add the following to PATH:

PATH="$PATH:/opt/SUNWspro/bin:/usr/ccs/bin"

Make sure that /usr/sfw/bin does not appear in PATH, otherwise configure will find and prefer gcc.

Proceed to ./configure; make; make install as usual.

GNU gcc

TBD

Solaris 9

TBD

Solaris 8

TBD

Trusted Solaris

According to Julian Stevens <[email protected]>, the format of inetd on Trusted Solaris 1.2 is a bit different. Just before the user name, you should insert the word `untrusted':

amanda dgram udp wait untrusted amuser /usr/local/libexec/amandad amandad

The patch-system script is *NOT* aware of this detail; you must fix it yourself.

Solaris 2.6

You may have compilation errors on statfs.c if you're running, on a Solaris 2.6 host, a gcc that was not build on a Solaris 2.6 host. This happens because gcc stores fixed copies of some Solaris header files on an internal directory. You must rebuild gcc if you get this kind of trouble. Note, however, that gcc 2.7.2.3 does not support Solaris 2.6, you should upgrade to 2.8.0 or higher, or egcs.

SunOS 4.x

A bug in GNU-tar 1.12 causes it to miscalculate (in fact, to misreport) the size of filesystems. A patch for GNU-tar is available in the patches directory.