diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-02-11 23:04:34 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-02-15 10:05:54 +0100 |
commit | 92d471b8c10d09795737b695533a43dd08a6b693 (patch) | |
tree | a61112f01dd95f2b8aee0249329f5272bd598033 /doc | |
parent | cb5b3a38e0c91f6b4c6b9ce9770649c6486c331a (diff) | |
download | gnutls-92d471b8c10d09795737b695533a43dd08a6b693.tar.gz |
guile: doc: Change prompt in examples.
* doc/gnutls-guile.texi (Guile Preparations): Use the prompt found in
2.0. Change "libguile-gnutls-v-0" to "guile-gnutls-v-2".
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gnutls-guile.texi | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/gnutls-guile.texi b/doc/gnutls-guile.texi index 4bc04ad088..061a31f90c 100644 --- a/doc/gnutls-guile.texi +++ b/doc/gnutls-guile.texi @@ -95,9 +95,9 @@ something like this: @example $ guile -guile> (use-modules (gnutls)) -<unnamed port>: no code for module (gnutls) -guile> +@dots{} +scheme@@(guile-user)> (use-modules (gnutls)) +ERROR: no code for module (gnutls) @end example There are two ways to solve this. The first is to make sure that when @@ -134,8 +134,8 @@ Either use the @code{GUILE_LOAD_PATH} environment variable as follows: @example $ GUILE_LOAD_PATH="/usr/local/share/guile/site:$GUILE_LOAD_PATH" guile -guile> (use-modules (gnutls)) -guile> +scheme@@(guile-user)> (use-modules (gnutls)) +scheme@@(guile-user)> @end example Alternatively, you can modify Guile's @code{%load-path} variable @@ -143,11 +143,11 @@ Alternatively, you can modify Guile's @code{%load-path} variable Reference Manual}). At this point, you might get an error regarding -@file{libguile-gnutls-v-0} similar to: +@file{guile-gnutls-v-2} similar to: @example -gnutls.scm:361:1: In procedure dynamic-link in expression (load-extension "libguile-gnutls-v-0" "scm_init_gnutls"): -gnutls.scm:361:1: file: "libguile-gnutls-v-0", message: "libguile-gnutls-v-0.so: cannot open shared object file: No such file or directory" +gnutls.scm:361:1: In procedure dynamic-link in expression (load-extension "guile-gnutls-v-2" "scm_init_gnutls"): +gnutls.scm:361:1: file: "guile-gnutls-v-2", message: "guile-gnutls-v-2.so: cannot open shared object file: No such file or directory" @end example In this case, you will need to modify the run-time linker path, for @@ -155,8 +155,8 @@ example as follows: @example $ LD_LIBRARY_PATH=/usr/local/lib GUILE_LOAD_PATH=/usr/local/share/guile/site guile -guile> (use-modules (gnutls)) -guile> +scheme@@(guile-user)> (use-modules (gnutls)) +scheme@@(guile-user)> @end example To check that you got the intended GnuTLS library version, you may @@ -164,10 +164,10 @@ print the version number of the loaded library as follows: @example $ guile -guile> (use-modules (gnutls)) -guile> (gnutls-version) +scheme@@(guile-user)> (use-modules (gnutls)) +scheme@@(guile-user)> (gnutls-version) "@value{VERSION}" -guile> +scheme@@(guile-user)> @end example |