$ sbcl
This is SBCL 2.2.2, 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.
* (load "~/quicklisp/setup.lisp")
T
* (ql:quickload "quicklisp-slime-helper")
To load "quicklisp-slime-helper":
Load 1 ASDF system:
quicklisp-slime-helper
; Loading "quicklisp-slime-helper"
.
; compiling file "/home/jcunningham/quicklisp/dists/quicklisp/software/slime-v2.27/contrib/swank-presentation-streams.lisp" (written 24 MAR 2022 08:23:31 AM):
;;
;; Error compiling /home/jcunningham/quicklisp/dists/quicklisp/software/slime-v2.27/contrib/swank-presentation-streams.lisp:
;; attempt to load an empty FASL file:
;; "/home/jcunningham/.slime/fasl/2.27/sbcl-2.2.2-linux-x86-64/contrib/swank-presentations.fasl"
;;
debugger invoked on a SIMPLE-ERROR in thread
#<THREAD "main thread" RUNNING {1004DD0073}>:
attempt to load an empty FASL file:
"/home/jcunningham/.slime/fasl/2.27/sbcl-2.2.2-linux-x86-64/contrib/swank-presentations.fasl"
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [TRY-RECOMPILING ] Recompile swank-loader and try loading it again
1: [RETRY ] Retry
loading FASL for #<SWANK-LOADER-FILE "swank" "swank-loader">.
2: [ACCEPT ] Continue, treating
loading FASL for #<SWANK-LOADER-FILE "swank" "swank-loader">
as having been successful.
3: Retry ASDF operation.
4: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the
configuration.
5: Retry ASDF operation.
6: Retry ASDF operation after resetting the
configuration.
7: [ABORT ] Give up on "quicklisp-slime-helper"
8: [REGISTER-LOCAL-PROJECTS ] Register local projects and try again.
9: Exit debugger, returning to top level.
(SB-FASL::LOAD-AS-FASL #<SB-SYS:FD-STREAM for "file /home/jcunningham/.slime/fasl/2.27/sbcl-2.2.2-linux-x86-64/contrib/swank-presentations.fasl" {10028F61E3}> NIL NIL)
0]
To use, add this to your ~/.emacs:
(load (expand-file-name "~/.roswell/lisp/quicklisp/slime-helper.el"))
;; Replace "sbcl" with the path to your implementation
(setq inferior-lisp-program "sbcl")
(:QUICKLISP-SLIME-HELPER)
Works on my machine on SBCL 2.2.2.
Thanks for all your help.
--Jeff
On Thu, 24 Mar 2022 23:02:15 +0100
Michał "phoe" Herda via Sbcl-help <sbcl...@lists.sourceforge.net> wrote:
> * (lisp-implementation-version)
> "2.2.2"
> * (lisp-implementation-type)
> "SBCL"
> * (ql:quickload :quicklisp-slime-helper)
> To load "quicklisp-slime-helper":
> Load 1 ASDF system:
> quicklisp-slime-helper
> ; Loading "quicklisp-slime-helper"
> .
> slime-helper.el installed in
> "/home/phoe/.roswell/lisp/quicklisp/slime-helper.el"
>
> To use, add this to your ~/.emacs:
>
> (load (expand-file-name "~/.roswell/lisp/quicklisp/slime-helper.el"))
> ;; Replace "sbcl" with the path to your implementation
> (setq inferior-lisp-program "sbcl")
>
> (:QUICKLISP-SLIME-HELPER)
>
> Works on my machine on SBCL 2.2.2.
>
> Your test made me think of something: the version of 2.2.2 I was
> running was the prebuilt binary that loads with the Arch linux package
> manager.; I just downloaded the source code and built it myself, and
> it works fine. From which I conclude the bug is introduced by their
> build. I'll stick with building from source code, I guess. That's what
> happens when you get lazy.
I'm running Arch's SBCL 2.2.2, Arch's Emacs 27.2, and Emacs's package
manager's SLIME 20220302.1215, on Arch's 5.15.27-1-lts kernel, and it's
all working.
I used to have random issues upgrading, but now, whenever there's a new
version of SBCL, Emacs, or SLIME, I quit all three, delete SLIME's fasl
files from a shell, and restart Emacs and SLIME. Maybe it's overkill,
but I'm not having issues anymore, either.
HTH,
--
I can eat glass, it does not hurt me.
Dan Sommers, http://www.tombstonezero.net/dan