Searching for program: no such file or directory, lisp

October 6, 2008 at 11:03 am | Posted in Uncategorized | 4 Comments

slime under ubuntu 8.04.1 (Hardy Heron)
Seems I found another bug in getting slime to work under ubuntu. I couldn’t find the solution online, but I found out about it by just poking around:

Problem
When using slime under emacs, I got the following error: “Searching for program: no such file or directory, lisp”

The problem can be fixed in one of two ways:
1) ln -s /usr/bin/clisp /usr/bin/lisp
2) Add this to your .emacs file:
(setq inferior-lisp-program “sbcl”)

Evidently, SLIME is using the name “lisp” to invoke Lisp, when it should be using “sbcl”.

The error has been reported on the ubuntu forums, but I am putting it in my blog just in case people google search this problem. The ubuntu forums don’t index well on google.

4 Comments »

RSS feed for comments on this post. TrackBack URI

  1. I had the same error but fixed it with: sudo apt-get install clisp

    d’oh

  2. thanks. one link missed, now it works.

  3. My Ubuntu box defaults to having sbcl but not clisp installed, so the command is:

    ln -s /usr/bin/sbcl /usr/bin/lisp

  4. Both solutions working but i prefer

    “sudo apt-get install clisp”

    The same case held to me but now resolved after installing clisp….

    Thanx


Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.