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

From wiki.zmanda.com
Jump to navigation Jump to search
No edit summary
 
(write down my notes)
Line 1: Line 1:
= 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.
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.


===Solaris 2.6===
= Specific Versions =
== Solaris 10 ==
The recommended configuration is to compile with the Sun Studio CC.
=== Sun Studio cc ===
Assuming Sun Studio is installed in {{file|/opt/SUNWspro}}, add the following to PATH:
PATH="$PATH:/opt/SUNWspro/bin:/usr/ccs/bin"
and proceed to ''./configure; make; make install'' as usual.


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.
=== GNU gcc ===
TBD
 
== Solaris 9 ==
TBD


===Trusted Solaris===
== 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':
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':


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


===SunOS 4.x===
==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.
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.

Revision as of 15:02, 20 June 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"

and 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.