[MacPorts] #24919: SBCL - Does not include readline support
MacPorts
noreply at macports.org
Thu May 20 18:58:10 PDT 2010
#24919: SBCL - Does not include readline support
-------------------------------+--------------------------------------------
Reporter: perhje@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Resolution: wontfix | Keywords:
Port: sbcl |
-------------------------------+--------------------------------------------
Comment(by joao@…):
This is not a port problem, or even a sbcl issue. It is all on how each
individual user wants to
customize his working environment.
I personally do not use linedit as I dislike its deep and complex
dependency chain.
Instead I use 'sb-readline, which also integrates readline into the read
loop.
To install, download the latest version of sb-readline.tar.gz (look on
[http://www.cliki.net/sb-readline] ). You'll need to untar it, and it the
sb-readline.lisp file and replace:
{{{
(eval-when (:compile-toplevel :load-toplevel :execute)
(load-1-foreign "/lib/libncurses.so")
(load-1-foreign "/lib/libreadline.so"))
}}}
with
{{{
(eval-when (:compile-toplevel :load-toplevel :execute)
(load-shared-object "/opt/local/lib/libncurses.dylib")
(load-shared-object "/opt/local/lib/libreadline.dylib"))
}}}
to make it MacPorts compatible. Then tar everything back up and proceed
with the install
as follows:
{{{
(require :asdf)
(require :asdf-install)
(asdf-install:install "sb-readline.tgz")
}}}
Then to use it, this is what I have on my $HOME/.sbclrc file:
{{{
(when (interactive-stream-p *terminal-io*)
(require :asdf)
(require :sb-readline))
}}}
--
Ticket URL: <http://trac.macports.org/ticket/24919#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list