Blame INSTALL

Packit Service 392537
Basic Installation
Packit Service 392537
==================
Packit Service 392537
Packit Service 392537
   These are generic installation instructions, and describe in
Packit Service 392537
general how to use ./configure.  For Amanda-specific installation
Packit Service 392537
instructions, including system-specific notes, please see
Packit Service 392537
http://wiki.zmanda.com.
Packit Service 392537
Packit Service 392537
   The `configure' shell script attempts to guess correct values for
Packit Service 392537
various system-dependent variables used during compilation.  It uses
Packit Service 392537
those values to create a `Makefile' in each directory of the package.
Packit Service 392537
It may also create one or more `.h' files containing system-dependent
Packit Service 392537
definitions.  Finally, it creates a shell script `config.status' that
Packit Service 392537
you can run in the future to recreate the current configuration, a file
Packit Service 392537
`config.cache' that saves the results of its tests to speed up
Packit Service 392537
reconfiguring, and a file `config.log' containing compiler output
Packit Service 392537
(useful mainly for debugging `configure').
Packit Service 392537
Packit Service 392537
   If you need to do unusual things to compile the package, please try
Packit Service 392537
to figure out how `configure' could check whether to do them, and mail
Packit Service 392537
diffs or instructions to the address given in the `README' so they can
Packit Service 392537
be considered for the next release.  If at some point `config.cache'
Packit Service 392537
contains results you don't want to keep, you may remove or edit it.
Packit Service 392537
Packit Service 392537
   The file `configure.in' is used to create `configure' by a program
Packit Service 392537
called `autoconf'.  You only need `configure.in' if you want to change
Packit Service 392537
it or regenerate `configure' using a newer version of `autoconf'.
Packit Service 392537
Packit Service 392537
The simplest way to compile this package is:
Packit Service 392537
Packit Service 392537
  1. `cd' to the directory containing the package's source code and type
Packit Service 392537
     `./configure' to configure the package for your system.  If you're
Packit Service 392537
     using `csh' on an old version of System V, you might need to type
Packit Service 392537
     `sh ./configure' instead to prevent `csh' from trying to execute
Packit Service 392537
     `configure' itself.
Packit Service 392537
Packit Service 392537
     Running `configure' takes a while.  While running, it prints some
Packit Service 392537
     messages telling which features it is checking for.
Packit Service 392537
Packit Service 392537
  2. Type `make' to compile the package.
Packit Service 392537
Packit Service 392537
  3. Optionally, type `make check' to run any self-tests that come with
Packit Service 392537
     the package.
Packit Service 392537
Packit Service 392537
  4. Type `make install' to install the programs and any data files and
Packit Service 392537
     documentation.
Packit Service 392537
Packit Service 392537
  5. You can remove the program binaries and object files from the
Packit Service 392537
     source code directory by typing `make clean'.  To also remove the
Packit Service 392537
     files that `configure' created (so you can compile the package for
Packit Service 392537
     a different kind of computer), type `make distclean'.  There is
Packit Service 392537
     also a `make maintainer-clean' target, but that is intended mainly
Packit Service 392537
     for the package's developers.  If you use it, you may have to get
Packit Service 392537
     all sorts of other programs in order to regenerate files that came
Packit Service 392537
     with the distribution.
Packit Service 392537
Packit Service 392537
Compilers and Options
Packit Service 392537
=====================
Packit Service 392537
Packit Service 392537
   Some systems require unusual options for compilation or linking that
Packit Service 392537
the `configure' script does not know about.  You can give `configure'
Packit Service 392537
initial values for variables by setting them in the environment.  Using
Packit Service 392537
a Bourne-compatible shell, you can do that on the command line like
Packit Service 392537
this:
Packit Service 392537
     CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
Packit Service 392537
Packit Service 392537
Or on systems that have the `env' program, you can do it like this:
Packit Service 392537
     env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
Packit Service 392537
Packit Service 392537
Compiling For Multiple Architectures
Packit Service 392537
====================================
Packit Service 392537
Packit Service 392537
   You can compile the package for more than one kind of computer at the
Packit Service 392537
same time, by placing the object files for each architecture in their
Packit Service 392537
own directory.  To do this, you must use a version of `make' that
Packit Service 392537
supports the `VPATH' variable, such as GNU `make'.  `cd' to the
Packit Service 392537
directory where you want the object files and executables to go and run
Packit Service 392537
the `configure' script.  `configure' automatically checks for the
Packit Service 392537
source code in the directory that `configure' is in and in `..'.
Packit Service 392537
Packit Service 392537
   If you have to use a `make' that does not supports the `VPATH'
Packit Service 392537
variable, you have to compile the package for one architecture at a time
Packit Service 392537
in the source code directory.  After you have installed the package for
Packit Service 392537
one architecture, use `make distclean' before reconfiguring for another
Packit Service 392537
architecture.
Packit Service 392537
Packit Service 392537
Installation Names
Packit Service 392537
==================
Packit Service 392537
Packit Service 392537
   By default, `make install' will install the package's files in
Packit Service 392537
`/usr/local/bin', `/usr/local/man', etc.  You can specify an
Packit Service 392537
installation prefix other than `/usr/local' by giving `configure' the
Packit Service 392537
option `--prefix=PATH'.
Packit Service 392537
Packit Service 392537
   You can specify separate installation prefixes for
Packit Service 392537
architecture-specific files and architecture-independent files.  If you
Packit Service 392537
give `configure' the option `--exec-prefix=PATH', the package will use
Packit Service 392537
PATH as the prefix for installing programs and libraries.
Packit Service 392537
Documentation and other data files will still use the regular prefix.
Packit Service 392537
Packit Service 392537
   If the package supports it, you can cause programs to be installed
Packit Service 392537
with an extra prefix or suffix on their names by giving `configure' the
Packit Service 392537
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
Packit Service 392537
Packit Service 392537
Optional Features
Packit Service 392537
=================
Packit Service 392537
Packit Service 392537
   Some packages pay attention to `--enable-FEATURE' options to
Packit Service 392537
`configure', where FEATURE indicates an optional part of the package.
Packit Service 392537
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
Packit Service 392537
is something like `gnu-as' or `x' (for the X Window System).  The
Packit Service 392537
`README' should mention any `--enable-' and `--with-' options that the
Packit Service 392537
package recognizes.
Packit Service 392537
Packit Service 392537
   For packages that use the X Window System, `configure' can usually
Packit Service 392537
find the X include and library files automatically, but if it doesn't,
Packit Service 392537
you can use the `configure' options `--x-includes=DIR' and
Packit Service 392537
`--x-libraries=DIR' to specify their locations.
Packit Service 392537
Packit Service 392537
Specifying the System Type
Packit Service 392537
==========================
Packit Service 392537
Packit Service 392537
   There may be some features `configure' can not figure out
Packit Service 392537
automatically, but needs to determine by the type of host the package
Packit Service 392537
will run on.  Usually `configure' can figure that out, but if it prints
Packit Service 392537
a message saying it can not guess the host type, give it the
Packit Service 392537
`--host=TYPE' option.  TYPE can either be a short name for the system
Packit Service 392537
type, such as `sun4', or a canonical name with three fields:
Packit Service 392537
     CPU-COMPANY-SYSTEM
Packit Service 392537
Packit Service 392537
See the file `config.sub' for the possible values of each field.  If
Packit Service 392537
`config.sub' isn't included in this package, then this package doesn't
Packit Service 392537
need to know the host type.
Packit Service 392537
Packit Service 392537
   If you are building compiler tools for cross-compiling, you can also
Packit Service 392537
use the `--target=TYPE' option to select the type of system they will
Packit Service 392537
produce code for and the `--build=TYPE' option to select the type of
Packit Service 392537
system on which you are compiling the package.
Packit Service 392537
Packit Service 392537
Sharing Defaults
Packit Service 392537
================
Packit Service 392537
Packit Service 392537
   If you want to set default values for `configure' scripts to share,
Packit Service 392537
you can create a site shell script called `config.site' that gives
Packit Service 392537
default values for variables like `CC', `cache_file', and `prefix'.
Packit Service 392537
`configure' looks for `PREFIX/share/config.site' if it exists, then
Packit Service 392537
`PREFIX/etc/config.site' if it exists.  Or, you can set the
Packit Service 392537
`CONFIG_SITE' environment variable to the location of the site script.
Packit Service 392537
A warning: not all `configure' scripts look for a site script.
Packit Service 392537
Packit Service 392537
Operation Controls
Packit Service 392537
==================
Packit Service 392537
Packit Service 392537
   `configure' recognizes the following options to control how it
Packit Service 392537
operates.
Packit Service 392537
Packit Service 392537
`--cache-file=FILE'
Packit Service 392537
     Use and save the results of the tests in FILE instead of
Packit Service 392537
     `./config.cache'.  Set FILE to `/dev/null' to disable caching, for
Packit Service 392537
     debugging `configure'.
Packit Service 392537
Packit Service 392537
`--help'
Packit Service 392537
     Print a summary of the options to `configure', and exit.
Packit Service 392537
Packit Service 392537
`--quiet'
Packit Service 392537
`--silent'
Packit Service 392537
`-q'
Packit Service 392537
     Do not print messages saying which checks are being made.
Packit Service 392537
Packit Service 392537
`--srcdir=DIR'
Packit Service 392537
     Look for the package's source code in directory DIR.  Usually
Packit Service 392537
     `configure' can determine that directory automatically.
Packit Service 392537
Packit Service 392537
`--version'
Packit Service 392537
     Print the version of Autoconf used to generate the `configure'
Packit Service 392537
     script, and exit.
Packit Service 392537
Packit Service 392537
`configure' also accepts some other, not widely useful, options.
Packit Service 392537