From 9ce4a53d1459c8c7c636712be7fd6f3da50d1d84 Mon Sep 17 00:00:00 2001 From: Filip Lajszczak Date: Mon, 15 Nov 2021 14:34:51 +0000 Subject: doc: Explain how to handle Guile path problems. * doc/haunt.texi (Installation): Explains how to handle GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH problems (almost exact copy of Erik Edrosa's guile-commonmark installation instructions). --- doc/haunt.texi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/doc/haunt.texi b/doc/haunt.texi index e1827fc..cd55625 100644 --- a/doc/haunt.texi +++ b/doc/haunt.texi @@ -182,6 +182,26 @@ make make install @end example +This will install Haunt to @file{/usr/local/}. This is not part of +the default load path for GNU Guile if you installed it from your +distribution's package manager (@file{/usr} is.) You may choose to +change the prefix to your GNU Guile's location with @code{./configure +--prefix=/usr} or add file{/usr/local/} to GNU Guile's load path in +your shell environment like this (replacing 3.0 with your GNU Guile +version): + +@example +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" +@end example + +(@pxref{Environment Variables, Environment Variables,, guile, GNU +Guile Reference Manual} for more details on @env{GUILE_LOAD_PATH} and +@env{GUILE_LOAD_COMPILED_PATH}.) + @node Tutorial @chapter Tutorial -- cgit v1.2.3