Hi all,
I'm new to LISP and SLIME, and I'm trying to install SLIME 2.0 on Emacs 21.4, on Debian Linux (Linspire 4.0), with SBCL 0.8.16. Emacs and SBCL seem to work fine, but I'm getting the following messages when invoking M-x slime RET (after configuring .emacs as explained in several on-line tutorials I have consulted):
(load "/usr/share/slime-2.0/swank-loader.lisp" :verbose t) (swank:start-server "/tmp/slime.17879" :external-format :iso-latin-1-unix)
This is SBCL 0.8.16, an implementation of ANSI Common Lisp. More information about SBCL is available at http://www.sbcl.org/.
SBCL is free software, provided as is, with absolutely no warranty. It is mostly in the public domain; some portions are provided under BSD-style licenses. See the CREDITS and COPYING files in the distribution for more information. * ; loading #P"/usr/share/slime-2.0/swank-loader.lisp" ;; loading #P"/root/.slime/fasl/2006-04-20/sbcl-0.8.16-linux-x86/swank-backend.fasl" ;; loading #P"/root/.slime/fasl/2006-04-20/sbcl-0.8.16-linux-x86/nregex.fasl" ;; loading #P"/root/.slime/fasl/2006-04-20/sbcl-0.8.16-linux-x86/swank-sbcl.fasl"
debugger invoked on a SIMPLE-ERROR in thread 17906: Unknown foreign symbol: "linux_no_threads_p"
You can type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
-- (end of the buffer text from Emacs --
This is what I appended to my .emacs file:
(add-to-list 'load-path "/usr/share/slime-2.0/") (require 'slime) (add-hook 'lisp-mode-hook (lambda () (slime-mode t))) (add-hook 'inferior-lisp-mode-hook (lambda () (inferior-slime-mode t))) (setq inferior-lisp-program "sbcl") (setq common-lisp-hyperspec-root "/usr/share/HyperSpec")
Any help will be appreciated.
Jaime Mexico City
___________________________________________________________ Do You Yahoo!? La mejor conexión a Internet y <b >2GB</b> extra a tu correo por $100 al mes. http://net.yahoo.com.mx
Jaime Gonza1ez wrote:
Hi all,
I'm new to LISP and SLIME, and I'm trying to install SLIME 2.0 on Emacs 21.4, on Debian Linux (Linspire 4.0), with SBCL 0.8.16. Emacs and SBCL seem to work fine, but I'm getting the following messages when invoking M-x slime RET (after configuring .emacs as explained in several on-line tutorials I have consulted):
(load "/usr/share/slime-2.0/swank-loader.lisp" :verbose t) (swank:start-server "/tmp/slime.17879" :external-format :iso-latin-1-unix)
This is SBCL 0.8.16, an implementation of ANSI Common Lisp. More information about SBCL is available at http://www.sbcl.org/.
SBCL is free software, provided as is, with absolutely no warranty. It is mostly in the public domain; some portions are provided under BSD-style licenses. See the CREDITS and COPYING files in the distribution for more information.
; loading #P"/usr/share/slime-2.0/swank-loader.lisp" ;; loading #P"/root/.slime/fasl/2006-04-20/sbcl-0.8.16-linux-x86/swank-backend.fasl" ;; loading #P"/root/.slime/fasl/2006-04-20/sbcl-0.8.16-linux-x86/nregex.fasl" ;; loading #P"/root/.slime/fasl/2006-04-20/sbcl-0.8.16-linux-x86/swank-sbcl.fasl"
debugger invoked on a SIMPLE-ERROR in thread 17906: Unknown foreign symbol: "linux_no_threads_p"
You can type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
-- (end of the buffer text from Emacs --
This is what I appended to my .emacs file:
(add-to-list 'load-path "/usr/share/slime-2.0/") (require 'slime) (add-hook 'lisp-mode-hook (lambda () (slime-mode t))) (add-hook 'inferior-lisp-mode-hook (lambda () (inferior-slime-mode t))) (setq inferior-lisp-program "sbcl") (setq common-lisp-hyperspec-root "/usr/share/HyperSpec")
Any help will be appreciated.
Jaime Mexico City
___________________________________________________________ Do You Yahoo!? La mejor conexión a Internet y <b >2GB</b> extra a tu correo por $100 al mes. http://net.yahoo.com.mx
slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel
I have a very similar setup ... and I made sure that I set my lisp executable path first, my other paths ... my auto load lists ... and LAST did my require slime ...
anyways ... I haven't tried them in another order ... but, since I know that SLIME cares about where and how it finds your lisp executable ... giving it a path to that before trying to run SLIME seems the most logical to me.
Hope that helps ... if not, sorry.
jd
Jaime Gonza1ez jaimeglz1952@yahoo.com.mx writes:
I'm new to LISP and SLIME, and I'm trying to install SLIME 2.0 on Emacs 21.4, on Debian Linux (Linspire 4.0), with SBCL 0.8.16. Emacs and SBCL seem to work
SBCL 0.8.16 is _really_ old, and while Slime 2.0 isn't exactly a tender youth either, the effort of getting those two to play togather is better spent elsewhere.
Current SBCL version is 0.9.17. The easiest way to move ahead is to get the current SBCL version, and install it under /usr/local using the install.sh that comes with it.
If that doesn't sort you out, then replacing 2.0 with the CVS Slime will. (Just put it eg. under ~/elisp/slime).
Cheers,
-- Nikodemus Schemer: "Buddha is small, clean, and serious." Lispnik: "Buddha is big, has hairy armpits, and laughs."