1 <chapter id="installation">
2 <!-- $Id: installation.xml,v 1.5 2002-10-08 08:09:43 mike Exp $ -->
3 <title>Installation</title>
5 An ANSI C compiler is required to compile the Zebra
6 server system — <literal>gcc</literal> works fine if your
7 own system doesn't provide an adequate compiler.
11 Unpack the distribution archive. The <literal>configure</literal>
12 shell script attempts to guess correct values for various
13 system-dependent variables used during compilation.
14 It uses those values to create a 'Makefile' in each directory of Zebra.
18 To run the configure script type:
27 The configure script attempts to use C compiler specified by
28 the <literal>CC</literal> environment variable.
29 If not set, <literal>cc</literal> or GNU C will be used.
30 The <literal>CFLAGS</literal> environment variable holds
31 options to be passed to the C compiler. If you're using a
32 Bourne-shell compatible shell you may pass something like this:
35 CC=/opt/ccs/bin/cc CFLAGS=-O ./configure
38 The configure script takes a number of arguments, you can see
47 When configured, build the software by typing:
56 If successful, two executables are created in the sub-directory
57 <literal>index</literal>.
61 <term><literal>zebrasrv</literal></term>
64 The Z39.50 server and search engine.
69 <term><literal>zebraidx</literal></term>
72 The administrative indexing tool.
80 You can now use Zebra. If you wish to install it system-wide, then
85 By default this will install the Zebra executables in
86 <filename>/usr/local/bin</filename>,
87 and the standard configuration files in
88 <filename>/usr/local/share/zebra</filename>
89 You can override this with the <literal>--prefix</literal> option
93 <!-- Keep this comment at the end of the file
98 sgml-minimize-attributes:nil
99 sgml-always-quote-attributes:t
102 sgml-parent-document: "zebra.xml"
103 sgml-local-catalogs: nil
104 sgml-namecase-general:t