guile-devel
[Top][All Lists]
Advanced

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

Re: readline and libguile


From: Thomas Wawrzinek
Subject: Re: readline and libguile
Date: Wed, 6 Feb 2002 08:41:57 +0100 (MET)

Hi!

Jose A Ortega Ruiz wrote:

 > i'm a relatively newcomer to guile. i've managed to compile it from the
 > cvs tree without much trouble on a FreeBSD 4.5 box, with an exception:
 > readline support seems to be not available: i would appreciate any clue
 > about how to enable it! (btw, readline support is also missing from the
 > guile 1.4 freebsd 'official' port).

When you want readline support, you must make sure that a shared library
version of readline is in your search path for shared libs (/usr/lib and/or
/usr/local/lib, for example).

It may be be, that you also have to give an option like --with-readline or
--enable-readline to guile's configure script (no sure).

Then, you need to load readline into your guile:

(use-modules (ice-9 readline))
(activate-readline)

You can put these lines into your .guile init file.

HTH,

                        Thomas




reply via email to

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