[slime-devel] Error: Searching for program: no such file or directory, sbcl
nikodemus at random-state.net
Sat Oct 29 11:43:17 UTC 2011
On 6 October 2011 12:08, ishi soichi <soichi777 at gmail.com> wrote:
> The installation of sbcl is fine. I can launch sbcl in terminal.
> But when launching slime in Emacs, it give an error
> Searching for program: no such file or directory, sbcl
> Can anyone tell my what's wrong with my setting?
> in .emacs file, I have written the following.
> (setq inferior-lisp-program "/usr/local/bin/sbcl --noinform")
> (setq slime-lisp-implementations
> '((sbcl ("sbcl") :coding-system utf-8-unix)
> (cmucl ("cmucl") :coding-system iso-latin-1-unix)))
I'm guessing that either /usr/local/bin isn't in the PATH when Emacs
is looking for sbcl.
Put (sbcl ("/usr/local/bin/sbcl") :coding-system utf-8-unix) there
instead: inferior-lisp-program is not used when
slime-lisp-implementations is provided.
> (add-to-list 'load-path "~/.emacs.d/slime")
...unless this of course has something that overrides the stuff above.
I think you'll probably want (slime-setup '(slime-fancy)) here.
More information about the slime-devel