Guys,
I am totally new to Lisp, but am trying to learn, however I cannot get slime to install on my linux box!
I want to be able to use slime with clisp using emacs from the command line (ie in a terminal window as oppose to in a GUI). I have tried both the latest version from CVS and the stable released version, but both give the same error. My .emacs entry and output when slime attempts to start are below.
Any help would be much appreciated!
emacs entry:-
(setq inferior-lisp-program "clisp") (add-to-list 'load-path "/home/sodonnel/slime/slime") (require 'slime) (slime-setup)
Startup output:-
(load "/home/sodonnel/slime/slime/swank-loader.lisp" :verbose t) (swank:start-server "/tmp/slime.12088" :external-format :iso-latin-1-unix)
i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8
Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2006
[1]> ;; Loading file /home/sodonnel/slime/slime/swank-loader.lisp ... ;; Loading file /home/sodonnel/.slime/fasl/clisp-2.38-unix-pc386/swank-backend\ .fas ... ;; Loaded file /home/sodonnel/.slime/fasl/clisp-2.38-unix-pc386/swank-backend.\ fas ;; Loading file /home/sodonnel/.slime/fasl/clisp-2.38-unix-pc386/nregex.fas ..\ . ;; Loaded file /home/sodonnel/.slime/fasl/clisp-2.38-unix-pc386/nregex.fas ;; Loading file /home/sodonnel/.slime/fasl/clisp-2.38-unix-pc386/xref.fas ... ;; Loaded file /home/sodonnel/.slime/fasl/clisp-2.38-unix-pc386/xref.fas ;; Loading file /home/sodonnel/.slime/fasl/clisp-2.38-unix-pc386/metering.fas \ ... ;; Loaded file /home/sodonnel/.slime/fasl/clisp-2.38-unix-pc386/metering.fas ;; Loading file /home/sodonnel/.slime/fasl/clisp-2.38-unix-pc386/swank-clisp.f\ as ... WARNING: Replacing method #<STANDARD-METHOD (#<BUILT-IN-CLASS T>)> in #<STANDARD-GENERIC-FUNCTION CALL-WITHOUT-INTERRUPTS>
WARNING: Replacing method #<STANDARD-METHOD NIL> in #<STANDARD-GENERIC-FUNCTION LISP-IMPLEMENTATION-TYPE-NAME>
WARNING: Replacing method #<STANDARD-METHOD (#<BUILT-IN-CLASS T>)> in #<STANDARD-GENERIC-FUNCTION SET-DEFAULT-DIRECTORY>
WARNING: Replacing method #<STANDARD-METHOD (#<BUILT-IN-CLASS T>)> in #<STANDARD-GENERIC-FUNCTION ARGLIST>
*** - READ: input stream #<INPUT BUFFERED FILE-STREAM CHARACTER #P"/home/sodonnel/.slime/fasl/clisp-2.38-unix-pc386/swank-clisp.fas" @408> ends within a token after multiple escape character The following restarts are available: SKIP :R1 skip (LOAD-SWANK) STOP :R2 stop loading file /home/sodonnel/slime/slime/swank-load\ er.lisp ABORT :R3 ABORT Break 1 SWANK-BACKEND[2]>
* stephen.3.odonnell@bt.com [2006-01-29 12:30+0100] writes:
*** - READ: input stream #<INPUT BUFFERED FILE-STREAM CHARACTER #P"/home/sodonnel/.slime/fasl/clisp-2.38-unix-pc386/swank-clisp.fas" @408> ends within a token after multiple escape character
This looks like a miscompiled fasl file. SLIME creates a .slime subdir in your home directory and places its fasl files there. Try to delete that directory before you try again with CVS SLIME.
The problem is that SLIME tries to compile as little as possible and we compare the file modification time of the fasl and source files to decide whether something needs to be recompiled. I guess that you tried the 1.2.1 version first (and that version doesn't work with clisp 2.38) and the broken fasl files are still there because the modification time is newer than the source in CVS.
Maybe we should put fasl files for different SLIME versions in different directories.
Helmut.