[MacPorts] #24919: SBCL - Does not include readline support
#24919: SBCL - Does not include readline support ------------------------------+--------------------------------------------- Reporter: perhje@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: ------------------------------+--------------------------------------------- The Macports version of SBCL does not support readline. Makes interactive usage somewhat painful. -- Ticket URL: <http://trac.macports.org/ticket/24919> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24919: SBCL - Does not include readline support ------------------------------+--------------------------------------------- Reporter: perhje@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: sbcl ------------------------------+--------------------------------------------- Changes (by jmr@…): * cc: gwright@…, waqar@…, easieste@… (added) * port: => sbcl Comment: Please remember to fill in the Port field and cc the maintainers. -- Ticket URL: <http://trac.macports.org/ticket/24919#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24919: SBCL - Does not include readline support ------------------------------+--------------------------------------------- Reporter: perhje@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: sbcl ------------------------------+--------------------------------------------- Comment(by easieste@…): Replying to [ticket:24919 perhje@…]:
The Macports version of SBCL does not support readline. Makes interactive usage somewhat painful.
I suggest the use of lang/slime for any serious interactive use. -- Ticket URL: <http://trac.macports.org/ticket/24919#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 | -------------------------------+-------------------------------------------- Changes (by easieste@…): * status: new => closed * resolution: => wontfix Comment: Or use sysutils/rlwrap. Upon investigation, SBCL has no support in its distribution for compiling with readline, instead its developers would probably point to SLIME and/or rlwrap as I have done. Therefore, I am marking this as "wontfix". I am open to arguments or patches if someone wishes to make them. -- Ticket URL: <http://trac.macports.org/ticket/24919#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 perhje@…): Fair enough. I checked on the SBCL mailing lists, and found the following incantations that should solve the problem too. But unfortunately the linedit install will not work (craps out during compilation) but I'm not sure that's a MacPorts issue. (require :asdf-install) (asdf-install:install :linedit) ;first-time installation only (require :linedit) ;if already installed (linedit:install-repl) -- Ticket URL: <http://trac.macports.org/ticket/24919#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
participants (1)
-
MacPorts