funkyj@gmail.com writes:
I had slime + clisp (on cygwin) working fine. Yesterday I decided to upgrade various cygwin packages (including clisp). Now when I try to start slime I get this error:
[1]> *** - LOAD: A file with name /c/cygwin/home/jcano/elisp/slime/2006-06-21/slime/swank-loader.lisp does not exist The following restarts are available: ABORT :R1 ABORT
[...]
I can probably fix this by overriding slime-path (I'll try that after posting this). Does anyone know why upgrading (I think I had 2.35) to 2.38 would cause this failure?
OK, I patched `slime-path' in my .emacs_slime file like this:
(defvar slime-path "/home/jcano/elisp/slime/2006-06-21/slime/")
and I no longer get the error mentioned above (i.e. can't find "swank-loader.lisp"). Now I'm getting a new error:
;; Loaded file /home/jcano/.slime/fasl/2006-06-18/clisp-2.38-unix-pc386/swank.fas 0 errors, 0 warnings WARNING: These Swank interfaces are unimplemented: (ACTIVATE-STEPPING ADD-FD-HANDLER ADD-SIGIO-HANDLER ALL-THREADS CALLS-WHO DISASSEMBLE-FRAME FIND-THREAD INSPECT-FOR-EMACS INTERRUPT-THREAD RECEIVE REMOVE-FD-HANDLERS REMOVE-SIGIO-HANDLERS SEND SLDB-BREAK-AT-START SLDB-BREAK-ON-RETURN SPAWN THREAD-ID TOGGLE-TRACE WHO-MACROEXPANDS WHO-SPECIALIZES) ;; Loaded file /home/jcano/elisp/slime/2006-06-21/slime/swank-loader.lisp T [2]> *** - nonexistent directory: #P"/" The following restarts are available: ABORT :R1 ABORT Break 1 [3]> :bt
Printed 0 frames Break 1 [3]>
Damn, that will teach me to upgrade, eh? Here are the versions of stuff I'm currently using:
clisp (from Cygwin): GNU CLISP 2.38 (2006-01-24) (built on winsteingoldlap.bluelnk.net [10.41.52.143])
SLIME: CVS head (also tried 'fairly stable') 2006-06-21
emacs: GNU Emacs 21.3.1 (i386-mingw-nt5.1.2600) of 2004-03-10 on NYAUMO
.emacs_slime (slime specific emacs lisp -- loaded by .emacs)
;; -*- mode: emacs-lisp -*- (message "begin .emacs_slime") (setq inferior-lisp-program "clisp")
;;; #@ attempted work around for 'swank-loader.lisp does not exist' ;;; error (defvar slime-path "/home/jcano/elisp/slime/2006-06-21/slime/")
(add-to-list 'load-path ;; CVS head (concat (getenv "HOME") "/elisp/slime/2006-06-21/slime") t) (require 'slime) (slime-setup)
;;; Configuration of Erik Naggum's HyperSpec access package.
;; If you have a local copy of the HyperSpec, set its path here. (setq common-lisp-hyperspec-root "file:///c:/cygwin/home/jcano/docs/CL/HyperSpec/") (setq common-lisp-hyperspec-symbol-table (concat (getenv "HOME") "/docs/CL/HyperSpec/ilisp/map_sym.txt" )) (message "end .emacs_slime")