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
-
Either a zip package, or tar and GNU zip.
-
GNU C++ (g++) version 2.7.2: other versions may work, as may other C++
compilers, but we have not tested any.
-
GNU make: you may substitute make, but will need to rewrite the (simple)
Makefiles to suit.
-
Bison & flex: not actually required for libgist, but necessary in order
to compile the demonstration code. It is possible that yacc and lex may
be substituted, but we have not tested them.
Procedure
-
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.
-
Set the LIBGISTHOME environment variable to the root of the libgist directory
hierarchy.
-
Run gmake from the src directory -- it will recursively make
libgist, the pre-packaged extensions and the command line driver program,
gistcmdline.
-
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.
-
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 $.