Previous: , Up: Installation   [Contents][Index]


2.3 Building

Haunt uses the standard GNU build system, so the basic installation procedure looks like this:

./configure
make
make install

This will install Haunt to /usr/local/. This is not part of the default load path for GNU Guile if you installed it from your distribution’s package manager (/usr is.) You may choose to change the prefix to your GNU Guile’s location with ./configure --prefix=/usr or add /usr/local/ to GNU Guile’s load path in your shell environment like this (replacing 3.0 with your GNU Guile version):

export GUILE_LOAD_PATH="/usr/local/share/guile/site/3.0\
${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"

export GUILE_LOAD_COMPILED_PATH="/usr/local/lib/guile/3.0/site-ccache\
${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_COMPILED_LOAD_PATH"

(see Environment Variables in GNU Guile Reference Manual for more details on GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH.)