next up previous contents index
Next: Example command files Up: Further control Previous: Execute ( -e) actions   Contents   Index


Compiling and installing gstat

In order to work with gstat, binary executables of gstat and gnuplot are needed. Both programs can be obtained in source form from the internet and they can be compiled to executables using an ANSI-C compiler. On Unix systems, typing in the gstat directory

./configure

followed by

make; make install

may be sufficient for compiling and installing gstat.

Similarly, for compiling gnuplot, typing

./configure; make; make install

in the gnuplot directory may be sufficient to compile an install gnuplot. Type

./configure -help

to obtain the command line options for non-default configuring (e.g. of install directories, libraries used). By default, for compatibility reasons the output files from flex and bison are used for compiling gstat. If you want to use your own lex or yacc version, remove the files lex.c, parse.c and parse.h from the src directory. From bash or ksh, this is also accomplished by:

LEXYACC=1 ./configure

To my knowledge gstat has been successfully compiled on HP-UX, IBM AIX, Dec OSF/Alpha, SunOS, SGI, Linux, MS-Windows (95, NT) and MS-DOS/DPMI. When modifications to the makefiles or source files are necessary to make the software run, please report them to gstat-info@geog.uu.nl

Gstat requires two external libraries: the Meschach matrix library [24] (available from netlib) and PCRaster grid map API (csf, version 2). Both are distributed as part of the gstat source code distribution. One other library is optional, and required for map2gif: the gd gif library (copyright 1994, 1995, Quest Protein Database Center, Cold Spring Harbor Labs).

Binary executable files should be installed in a directory in the search path for executables.


next up previous contents index
Next: Example command files Up: Further control Previous: Execute ( -e) actions   Contents   Index
Edzer Pebesma
1999-08-31