This page explain how to build and install Yeti and is divided in the following parts:

Prerequisites

Starting with version 6.0.0, Yeti is built as a regular Yorick plugin and the other Yeti extensions are built as standalone Yorick plugins (they do not require Yeti to be used). The installation of Yeti depends on that of Yorick which must have been installed prior to Yeti. You'll need at least version 1.6.02 of Yorick (for Yorick version 1.5, you can install Yeti 5.3). You can have a look at my notes about building and installing Yorick.

Configuration

The first installation step consists in the configuration of Yeti software suite. This is done via the config.i script. In order to figure out the different options (and their default values), you can just do:

yorick -batch ./config.i --help

where yorick can also be the full path of the particular Yorick executable you want to use for building Yeti. At least version 1.6 of Yorick is required to configure/build Yeti.

By default, Yeti is configured so as to be built as a plugin for the executable used to run the config.i script. You can however specify a different Yorick executable with option --yorick=PATH. If you have different versions of Yorick installed, you can configure/build/install different versions of Yeti by runnning the configure script with option --yorick set to the full path name of the considered Yorick executable.

If you want Yeti plugin for extended regular support, you'll have the choice to use a system provided POSIX REGEX library or the GNU REGEX library which can be built into the plugin. This is achieved by defining the preprocessor macro HAVE_REGEX to true if you trust your system REGEX library. To use the POSIX REGEX library of your system:

yorick -batch ./config.i [...] \
    --with-regex-defs='-DHAVE_REGEX=1' [...]

and to build the GNU REGEX library into the plugin (this is the default behaviour):

yorick -batch ./config.i [...] \
    --with-regex-defs='-DHAVE_REGEX=0' [...]

For instance, here is how to call the configure script to use builtin REGEX support and to enable plugins for FFTW (installed in /usr/local), GSL and TIFF (installed in standard locations):

yorick -batch ./config.i --with-regex \
    --with-fftw --with-fftw-defs="-I/usr/local/include" \
    --with-fftw-libs="-L/usr/local/lib -lrfftw -lfftw" \
    --with-gsl --with-gsl-defs="-I/usr/local/include" \
    --with-gsl-libs="-L/usr/local/lib -lgsl -lgslcblas" \
    --with-tiff --with-tiff-libs="-ltiff"

In order to check your configuration settings, you can add --help as the last argument of the call to config.i.

Compilation

After configuration, you can build Yeti and all related plugins by just doing:

make

Installation

In order to install Yeti files into Yorick installation directories, you simply do:

 make install