diff options
author | Filip Lajszczak <filip@lajszczak.dev> | 2021-11-15 14:34:51 +0000 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2021-11-18 10:13:27 -0500 |
commit | 9ce4a53d1459c8c7c636712be7fd6f3da50d1d84 (patch) | |
tree | f381a1ccd766e38d09cc22e5ca8fbc5a6d0f659b /doc | |
parent | 0e7894fddbccb877c8277e1b4a822c31456c0874 (diff) |
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).
Diffstat (limited to 'doc')
-rw-r--r-- | doc/haunt.texi | 20 |
1 files changed, 20 insertions, 0 deletions
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 |