summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2007-07-02 21:57:22 +0200
committerSimon Josefsson <simon@josefsson.org>2007-07-03 11:21:22 +0200
commit9c5a98ac940808dc0468ea4291d45912262d903b (patch)
treed1f64c635b02ce239fb13d48cd01c4fb147ac829
parent53987e16a35eaefc62953197a0f09e4e617c391d (diff)
downloadgnutls-9c5a98ac940808dc0468ea4291d45912262d903b.tar.gz
Manual: Small Guile fixes.
* doc/guile.texi: Fixed typos, added cross-refs to the Guile manual. Signed-off-by: Simon Josefsson <simon@josefsson.org>
-rw-r--r--doc/guile.texi20
1 files changed, 11 insertions, 9 deletions
diff --git a/doc/guile.texi b/doc/guile.texi
index 8d4d0750e6..53c0e50f76 100644
--- a/doc/guile.texi
+++ b/doc/guile.texi
@@ -6,7 +6,7 @@
This chapter describes the @uref{http://www.gnu.org/software/guile/,
GNU Guile} Scheme programming interface to GnuTLS. The reader is
assumed to have basic knowledge of the protocol and library. Details
-missing from this document may be found in @ref{Function reference,
+missing from this chapter may be found in @ref{Function reference,
the C API reference}.
At this stage, not all the C functions are available from Scheme, but
@@ -70,20 +70,25 @@ need to instruct Guile so that it finds the GnuTLS Guile bindings.
Either use the @code{GUILE_LOAD_PATH} environment variable as follows:
@example
-$ GUILE_LOAD_PATH=/usr/local/share/guile/site guile
+$ GUILE_LOAD_PATH="/usr/local/share/guile/site:$GUILE_LOAD_PATH" guile
guile> (use-modules (gnutls))
guile>
@end example
-If you get an error regarding @file{libguile-gnutls-v-0} similar to:
+Alternatively, you can modify Guile's @code{%load-path} variable
+(@pxref{Build Config, Guile's run-time options,, guile, The GNU Guile
+Reference Manual}).
+
+At this point, you might get an error regarding
+@file{libguile-gnutls-v-0} 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"
@end example
-You will need to modify the run-time linker path, for example as
-follows.
+In this case, you will need to modify the run-time linker path, for
+example as follows:
@example
$ LD_LIBRARY_PATH=/usr/local/lib GUILE_LOAD_PATH=/usr/local/share/guile/site guile
@@ -91,9 +96,6 @@ guile> (use-modules (gnutls))
guile>
@end example
-As another solution, it may be possible to modify the
-@code{%load-path} variable.
-
@c *********************************************************************
@node Guile API Conventions
@@ -368,7 +370,7 @@ as in this example.
@node Guile Examples
@section Guile Examples
-This chapter lists examples that illustrate common use cases.
+This chapter provides examples that illustrate common use cases.
@menu
* Anonymous Authentication Guile Example:: Simplest client and server.