1 <chapter id="installation">
2 <!-- $Id: installation.xml,v 1.6 2002-12-01 23:26:26 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 <literal>Makefile</literal> in each
19 To run the configure script type:
28 The configure script attempts to use C compiler specified by
29 the <literal>CC</literal> environment variable.
30 If this is not set, <literal>cc</literal> or GNU C will be used.
31 The <literal>CFLAGS</literal> environment variable holds
32 options to be passed to the C compiler. If you're using a
33 Bourne-shell compatible shell you may pass something like this:
36 CC=/opt/ccs/bin/cc CFLAGS=-O ./configure
40 The configure script support various options: you can see what they
48 Once the build environment is configured, build the software by
56 If the build is successful, two executables are created in the
57 sub-directory <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/idzebra</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