Peter Stirling peter@pjstirling.plus.com writes:
sbcl doesn't attempt to make its fasls safe between versions.
stick the following into ~/.sbclrc
(require :asdf)
;;; If a fasl was stale, try to recompile and load (once). (defmethod asdf:perform :around ((o asdf:load-op) (c asdf:cl-source-file)) (handler-case (call-next-method o c) ;; If a fasl was stale, try to recompile and load (once). (sb-ext:invalid-fasl () (asdf:perform (make-instance 'asdf:compile-op) c) (call-next-method))))
and edit "/path/to/clbuild/clbuild.conf" so that the line "unset USER_INIT" isn't commented out.
You also need to pre-pend "/path/to/clbuild/target/bin/" to $PATH. clbuild should really document it.
First, slime doesn't use ASDF for loading its file. And the problem is not with different fasl versions, but that side effects of compilation of slime-presentation-streams contrib aren't present when only loading it.