Installation Guide


Portability

Libgist was initially developed under Digital Unix with the g++ compiler and was ported to Solaris (both x86 and Sparc), Linux and HP/UX with g++. Since these platforms are quite different, we expect the code to be somewhat portable, but have not done extensive porting ourselves. Before you port libgist to other platforms, please check the libgist home page and see if anybody has done it for you already. If not, and you succeed in porting, contact us at gist@postgres.berkeley.edu!

All of the GNU software (GNU zip, GNU tar, GNU C++, GNU make, bison, flex) described below is available from the usual free software repositories (e.g., ftp://ftp.gnu.org/).  We do not provide or support these packages; if they are not installed on your computer, please ask your system administrator for assistance. Note that these packages are very common and are often available as precompiled executables for many operating systems (including Win32).


UNIX Installation Guide

Requirements

Procedure

  1. Edit the file Makefile.inc in the src directory, and set paths for the various tools (JDK, Swing/JFC) and the g++ executable, include and library directories.
  2. Set the LIBGISTHOME environment variable to the root of the libgist directory hierarchy.
  3. Run gmake from the src directory -- it will recursively make libgist, the pre-packaged extensions and the command line driver program, gistcmdline.
  4. If you want to run some test scripts to make sure everything is working, cd to ../tests, and type ./runtests. If nothing suspicious comes up on the screen, your installation has passed the tests.
  5. Libraries and executables will be left with their sources.  If you wish to install them elsewhere, you will need to do so by hand.
    gistcmdline is located under the src/cmdline directory.
    The lib directory contains libgist.a and the prepackaged extensions: libbtree.a, librtree.a.

Comments, questions and suggestions may be directed to gist@postgres.berkeley.edu

Last modified: $Date: 1999/01/19 01:42:31 $ by $Author: aoki $.