Hi, I'm having a problem getting slime to work.
I'm new to this, so I apologize if I'm doing something stupid. Here's what happens when I start emacs and type M-x slime
I get a new buffer, called *inferior-lisp* which then outputs the following:
(load "/Users/cfta/lisp/slime-1.2.1/swank-loader.lisp" :verbose t) (swank:start-server "/tmp/slime.2167" :external-format :iso-latin-1-uni x) Welcome to OpenMCL Version 1.0 (DarwinPPC32)! ? ;Loading #P"/Users/cfta/lisp/slime-1.2.1/swank-loader.lisp"... ;Loading #P"/Users/cfta/.slime/fasl/openmcl-1.0-darwin-powerpc/swank -backend.dfs\l"... ;Loading #P"/Users/cfta/.slime/fasl/openmcl-1.0-darwin-powerpc/nregex.dfsl"... ;Loading #P"/Users/cfta/.slime/fasl/openmcl-1.0-darwin-powerpc/metering.dfsl"... ;Compiling "/Users/cfta/lisp/slime-1.2.1/swank-openmcl.lisp"... ;Compiler warnings for "/Users/cfta/lisp/slime-1.2.1/swank-openmcl.lisp" : ; Unused lexical variable STREAM, in (MAKE-STREAM-INTERACTIVE (T)). ; Warning: Interface file #P"ccl:darwin-headers;libc;functions.cdb" does not exist. ; While executing: CCL::CDB-OPEN Read error between positions 8480 and 8595 in /Users/cfta/lisp/slime-1.2.1/ swank-openmcl.lisp.
Error in process listener(1): Foreign function not found: DARWIN32::|tmpnam| While executing: CCL::LOAD-EXTERNAL-FUNCTION Type :POP to abort.
Type :? for other options. 1 >
then I'm stuck in the debugger. If I type :pop to abort, I'm able to use the inferior lisp buffer as a lisp interpreter. If I open a new buffer and try to write some code, the mode line says (Lisp Slime[Polling: XXX]) , where the polling number just counts up. Nothing ever happens. None of the compile macros work either- C-c C-c says "not connected."
Is it a problem with the way I've set the system up? I tried to follow the instructions for installing Open MCL and Slime, but I'm not sure I completely understood what I was doing with either.
Thanks.
* Carl Tucker [2005-12-27 06:39+0100] writes:
Hi, I'm having a problem getting slime to work.
I'm new to this, so I apologize if I'm doing something stupid. Here's what happens when I start emacs and type M-x slime
I get a new buffer, called *inferior-lisp* which then outputs the following:
[...]
; Warning: Interface file #P"ccl:darwin-headers;libc;functions.cdb" does not exist. ; While executing: CCL::CDB-OPEN Read error between positions 8480 and 8595 in
You didn't install OpenMCL properly. You need the cdb files for foreign functions. Look at the OpenMCL home page for details.
Helmut.
In article m2slsfj6s8.fsf@common-lisp.net, Helmut Eller heller@common-lisp.net wrote:
You didn't install OpenMCL properly. You need the cdb files for foreign functions. Look at the OpenMCL home page for details.
Exactly right. I fixed that, and it works beautifully now. Thank you very much.