Page 1 of 1

Slime Not Working in EMACS

Posted: Sun Jul 20, 2008 8:22 pm
by Tim
Hey all, I would appreciate some help sorting this out. SLIME does not work in EMACS, and here is the output:
http://pastebin.com/fcefb49d

Just to give you a little bit of context, this is on a shell account given to me by a friend. Emacs and several dialects of LISP are already installed, but SLIME is not. I got the latest version of slime from CVS and it is in my home directory. My .emacs file looks like this:

Code: Select all

(setq inferior-lisp-program "/usr/bin/sbcl")
(add-to-list 'load-path "/home/tss/slime")
(require 'slime)
(slime-setup)
Version information:
GNU Emacs 21.4.1
SBCL 0.8.16
GNU CLISP 2.33.2 (2004-06-02) (built 3318123717) (memory 3398465807)
SLIME: Latest from CVS

Re: Slime Not Working in EMACS

Posted: Sun Jul 20, 2008 10:36 pm
by findinglisp
That's an ancient version of SBCL. Perhaps SLIME has moved on and is no longer compatible with something that old?

Re: Slime Not Working in EMACS

Posted: Sun Jul 20, 2008 10:47 pm
by Tim
findinglisp wrote:That's an ancient version of SBCL. Perhaps SLIME has moved on and is no longer compatible with something that old?
I thought about that, but then I switched to clisp (which, while it's old, is supported according to the website) and still had the problem.

Re: Slime Not Working in EMACS

Posted: Mon Jul 21, 2008 12:20 am
by Wodin
This looks suspicious:

Code: Select all

compilation aborted because of fatal error:
  READ failure in COMPILE-FILE:
    READER-ERROR at 19070 (line 515, column 70) on #<FILE-STREAM for "file \"/home/tss/slime/swank-sbcl.lisp\"" {9B\
56A49}>:
Symbol "FIND-DEFINITION-SOURCES-BY-NAME" not found in the SB-INTROSPECT package.
Is slime correctly checked out? Maybe it's corrupt or incomplete?

What does slime/swank-sbcl.lisp look like around line 515?

Re: Slime Not Working in EMACS

Posted: Mon Jul 21, 2008 4:28 am
by Tim
Wodin wrote:This looks suspicious:

Code: Select all

compilation aborted because of fatal error:
  READ failure in COMPILE-FILE:
    READER-ERROR at 19070 (line 515, column 70) on #<FILE-STREAM for "file \"/home/tss/slime/swank-sbcl.lisp\"" {9B\
56A49}>:
Symbol "FIND-DEFINITION-SOURCES-BY-NAME" not found in the SB-INTROSPECT package.
Is slime correctly checked out? Maybe it's corrupt or incomplete?

What does slime/swank-sbcl.lisp look like around line 515?
I tried deleting the slime directory and checking it out again, but I got the same result.

Code: Select all

(defimplementation find-definitions (name)
  (loop for type in *definition-types* by #'cddr
          for locations = (sb-introspect:find-definition-sources-by-name   <--- Line 15
                         name type)
        append (loop for source-location in locations collect
                     (make-source-location-specification type name
                                                         source-location))))

Do you think there would be a way to get an earlier version of SLIME to see if that would work?

Re: Slime Not Working in EMACS

Posted: Mon Jul 21, 2008 5:46 am
by Wodin
Tim wrote:I tried deleting the slime directory and checking it out again, but I got the same result.
Oh well, then I don't know what the problem is.
Do you think there would be a way to get an earlier version of SLIME to see if that would work?
Yes, in the directory that you checked out slime to, do something like this:
$ cvs up -PAd -D "2007/01/01 12:34:56"

or

$ cvs up -PAd -D "2 months ago"