Installation/OS Specific Notes/Installing Amanda on Solaris

From wiki.zmanda.com
Revision as of 18:39, 13 July 2007 by Dustin (talk | contribs) (→‎Sun Studio cc: add note about setting CC explicitly.)
Jump to navigation Jump to search

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"

If /usr/sfw/bin is in you PATH, configure will find and try to use gcc, which won't work well. If this is a problem, remove that directory from PATH, or add CC=/opt/SUNWspro/bin/cc to your ./configure line.

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.