gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gnutls-dev] Guile related 'make install' failure


From: Ludovic Courtès
Subject: Re: [gnutls-dev] Guile related 'make install' failure
Date: Fri, 29 Jun 2007 22:45:45 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Hi,

Simon Josefsson <address@hidden> writes:

> They need to read some instructions anyway, the above won't work unless
> the user has also added /usr/local/lib to /etc/ld.so.conf or set
> LD_LIBRARY_PATH to where libguile-gnutls-v-0.so is installed.  Otherwise
> you get error messages such as:

Hmm, right.

> I think the few users that will be affected by this need to read up on
> how to install things for their environment, in particular do one of:
>
> 1) Set %load-path, and possibly also the run-time linker search path, to
> let guile know where the gnutls module is located.
>
> 2) Use --with-guile-site-dir=no during installation.
>
> I have added a new section 'Guile Preparations' to the manual, see
> below.  What do you think?

Perfect, thanks for doing it!

Perhaps we could rather put it in an "Obtaining and Installing GnuTLS"
node (or similar), in between "Preface" and "The Library"?  "Guile
Preparations" would just be a sub-node, and I guess additional material
about GnuTLS-core could go in another sub-node (e.g., the information
under the "Compilation Issues" heading of the `README' file).

BTW, that'd also be an opportunity to mention address@hidden'.

> The GnuTLS library itself needs similar "load-path" settings: the
> -R/usr/local/lib or LD_LIBRARY_PATH setting for the run-time linker.
> You need to install GnuTLS into /usr for the library to just "work out
> of the box".  Installing it anywhere else, including the default of
> /usr/local, requires that users go through extra steps to have it work.
> I think this is a pretty common scenario.

Good point.  From that perspective, `GUILE_LOAD_PATH' is actually no
different from `LD_LIBRARY_PATH'.

> That could be added, although I'm not sure if anyone ever actually reads
> such messages.

Well, yeah.  I for one don't read it, but I thought others did.  ;-)

Thanks,
Ludovic.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]