X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Finstallation.xml;h=fd1e873b273450d03009a2370161357a4b86b7ab;hb=8f9e2cb55203802cb43fcda15a85797579372250;hp=0809bf78d3f39ffb5ad5d4a9867ab99cb988dacd;hpb=dd8372e3f27c68a0410f13044dd184ccde8ca243;p=idzebra-moved-to-github.git diff --git a/doc/installation.xml b/doc/installation.xml index 0809bf7..fd1e873 100644 --- a/doc/installation.xml +++ b/doc/installation.xml @@ -1,4 +1,5 @@ + Installation An ANSI C compiler is required to compile the Zebra @@ -10,7 +11,8 @@ Unpack the distribution archive. The configure shell script attempts to guess correct values for various system-dependent variables used during compilation. - It uses those values to create a 'Makefile' in each directory of Zebra. + It uses those values to create a Makefile in each + directory of Zebra. @@ -25,7 +27,7 @@ The configure script attempts to use C compiler specified by the CC environment variable. - If not set, cc or GNU C will be used. + If this is not set, cc or GNU C will be used. The CFLAGS environment variable holds options to be passed to the C compiler. If you're using a Bourne-shell compatible shell you may pass something like this: @@ -33,21 +35,26 @@ CC=/opt/ccs/bin/cc CFLAGS=-O ./configure - + + + The configure script support various options: you can see what they + are with + + ./configure --help + - When configured build the software by typing: - + Once the build environment is configured, build the software by + typing: make - - If successful, two executables have been created in the sub-directory - index. + If the build is successful, two executables are created in the + sub-directory index: @@ -69,6 +76,19 @@ + + You can now use Zebra. If you wish to install it system-wide, then + as root type + + make install + + By default this will install the Zebra executables in + /usr/local/bin, + and the standard configuration files in + /usr/local/share/idzebra + You can override this with the --prefix option + to configure. +