[slime-devel] Error: Searching for program: no such file or directory, sbcl

ishi soichi soichi777 at gmail.com
Sat Oct 29 20:32:24 UTC 2011


Thanks! It worked.

soichi

2011/10/29 Nikodemus Siivola <nikodemus at random-state.net>

> 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.
>
> > (slime-setup)
>
> I think you'll probably want (slime-setup '(slime-fancy)) here.
>
> Cheers,
>
>  -- Nikodemus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/slime-devel/attachments/20111030/898ea671/attachment.html>


More information about the slime-devel mailing list