On Thu, Apr 5, 2012 at 3:14 PM, Stas Boukarev stassats@gmail.com wrote:
Arnaud Bailly arnaud.oqube@gmail.com writes:
Hello, I am trying to use ABCL 1.0.1 with slime under emacs and get the following errors:
(progn (load "/usr/share/common-lisp/source/slime/swank-loader.lisp" :verbose t) (funcall (read-from-string "swank-loader:init")) (funcall (read-from-string "swank:start-server") "/tmp/slime.3985" :coding-system "iso-latin-1-unix"))
Armed Bear Common Lisp 1.0.1-svn-13750-13751 Java 1.6.0_26 Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM Low-level initialization completed in 0.297 seconds. Startup completed in 0.935 seconds. Type ":help" for a list of available commands. CL-USER(1): ; Loading /usr/share/common-lisp/source/slime/swank-loader.lisp ... Error loading /usr/share/common-lisp/source/slime/swank-loader.lisp at line 143 (offset 5611) #<THREAD "interpreter" {33E136A8}>: Debugger invoked on condition of type READER-ERROR The package "ASDF" can't be found. Restarts: 0: TOP-LEVEL Return to top level. [1] SWANK-LOADER(2):
The problem is caused by debian packaged slime, which, apparently, uses ASDF to load slime. Use slime from Quicklisp instead.
Also, be aware that java -jar overrides any other user-provided classpath options, so the -cp switch is ignored.
Alessio