Installation Instructions for Unix Gopher.
------------------------------------------

All configuration is now in two files, Makefile.config and conf.h.

Some of the more important parameters are

   CLIENTDIR    Where the client (gopher) is installed.
   CLIENTLIB    Where the client helpfile is installed
   SERVERDIR    Where the server (gopherd) is installed.
   MAN1DIR      Where the man pages for gopher are installed.
   MAN8DIR      Where the man pages for gopherd are installed.

   CLIENT_HOST  The host to contact first.
   CLIENT_PORT  The port to contact first.

If you're on an HP machine uncomment out the HPLIBS line in
Makefile.config.  If you're on a UMAX system comment out the UMAXLIBS
line.

If you're on an Ultrix Machine change the CLIENTLIBS definition in
Makefile.config.

If you're making a gopher server and are interested in full-text
indexes, see the section on full-text searching in this file *now*.


If you want to make just the client type:

   make client

If you want to make just the server type:

   make server

If you want to make everything, just type:
 
   make

If you want to install everything, type:

   make install.



Full Text Indexing Setup for NeXTs (NeXTos 2.0, 2.1, 2.2)
--------------------------------------------

First get the libtext and btree libraries.  (Available as a separate
tar file called NeXTtext.tar.Z).  The files libbtree.a and libtext.a
are in this tar file, along with two directories "btree" and "text".
Copy the library (.a) files to /usr/local/lib and type 

   ranlib /usr/local/lib/libbtree.a
   ranlib /usr/local/lib/libtext.a

Then copy the directories btree and text into /usr/include


Full Text Indexing Setup for WAIS
---------------------------------

First get the wais distribution.  If you don't have wais, ftp to
"think.com" and get /wais/wais-8-b5.tar.Z  Untar this and edit the
makefiles appropriate for your system.

After you untar the thing, go into the top level WAIS directory and
make the distribution.  Refer to the instructions in the WAIS
distribution.

"make lib"
"make ir"

Or just type make if you want the whole WAIS thing.

Now go to the top level of the gopher distribution and do the following:

% cd {GopherSrc}
% ln -s {WaisTop}/ir .
% ln -s {WaisTop}/ui .

Then go into the gopherd directory and look at the Makefile.  If you're
using an older version of WAIS, change the WAISOBJ variable to the
release you're using.  

