SLIME can't start. I get the error message tat ASDF module not found. Reproducible: Always Steps to Reproduce: 1. emerge emacs 2. emerge sbcl 3. emerge slime 4. add to .emacs the following --- Cut here --- (setq inferior-lisp-program "/usr/bin/sbcl") (add-to-list 'load-path "/usr/share/emacs/site-lisp/slime") (require 'slime) (slime-setup) --- Cut here --- 5. Start emacs and do M-x slime Actual Results: (progn (load "/usr/share/emacs/site-lisp/slime/swank-loader.lisp" :verbose t) (funcall (read-from-string "swank:start-server") "/tmp/slime.28279" :coding-system "iso-latin-1-unix")) This is SBCL 1.0.10-gentoo, 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/emacs/site-lisp/slime/swank-loader.lisp" debugger invoked on a SB-KERNEL:READER-PACKAGE-ERROR in thread #<THREAD "initial thread" {A6B96C1}>: READER-ERROR at 45 (line 4, column 9) on #<SB-SYS:FD-STREAM for "file /usr/share/emacs/site-lisp/slime/swank-loader.lisp" {A6D41C1}>: package "ASDF" not found Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL. restarts (invokable by number or by possibly-abbreviated name): 0: [ABORT] Exit debugger, returning to top level. (SB-IMPL::READ-TOKEN #<SB-SYS:FD-STREAM for "file /usr/share/emacs/site-lisp/slime/swank-loader.lisp" {A6D41C1}> #\a) 0] sectoid@mobility ~ $ sbcl --version SBCL 1.0.10-gentoo sectoid@mobility ~ $ emacs --version GNU Emacs 22.1.1 Copyright (C) 2007 Free Software Foundation, Inc. GNU Emacs comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of Emacs under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. sectoid@mobility ~ $ epm -qi slime Name : slime Version : 2.0_p20070816 Release : Slot: 0 Install date: Sun Oct 21 21:46:46 2007 Build Host: mobility Group : app-emacs License: GPL-2 xref.lisp Size : 2691227 Packager : ulm URL : http://common-lisp.net/project/slime/ Summary : SLIME, the Superior Lisp Interaction Mode (Extended)
Looks like some basic initialisation is missing. Do you still get the error if you add the following line to your ~/.sbclrc ? (load #p"/etc/gentoo-init.lisp") (/etc/gentoo-init.lisp is installed by dev-lisp/gentoo-init, so emerge this package if you don't have the file.)
Please reopen if this is still an issue.
This solution sucks and is not well documented.
this should be fixed as of sbcl-1.0.12 (as in .sbclrc is not needed solely for having slime usable) by DEPENDing on dev-lisp/gentoo-init. We should stabilize a recent version and then remove the old versions.
I confirm that it works with a gentoo-lisp-enabled sbcl and the .emacs posted here
It happens for cmucl too.
That depends on bug #208522
Dead tracker?