On Tue Feb 06, 2007 at 02:45:33PM +0100, Didier Verna wrote:
I wrote:
Vamsee Kanakala vamlists@gmail.com wrote:
Hi,
I am using the latest SBCL built from sources (1.0.0.10) and doing M-x slime gives me the following error:
; compiling file "/home/vamsee/lisp/slime/swank-sbcl.lisp" (written 27 NOV 2006 02:22:50 PM): (/usr/local/lib/sbcl/sb-bsd-sockets/constants.lisp /usr/local/lib/sbcl/sb-bsd-sockets/constants.fasl /usr/local/lib/sbcl/sb-bsd-sockets/constants.fasl /usr/local/lib/sbcl/sb-bsd-sockets/foo.c /usr/local/lib/sbcl/sb-bsd-sockets/a.out /usr/local/lib/sbcl/sb-bsd-sockets/constants.lisp-temp) ; compilation aborted after 0:00:00
;; Error while loading: /home/vamsee/.slime/fasl/2006-11-26/sbcl-1.0.0.10-linux-x86/swank-sbcl.fasl ;; Condition: The value NIL ;; is not of type ;; (OR (VECTOR CHARACTER) (VECTOR NIL) BASE-STRING PATHNAME ;; FILE-STREAM). ;; Aborting. ; ; compilation unit aborted ; caught 3 fatal ERROR conditions
I am using the latest slime too. Any help appreciated.
If you are using asdf-binary-locations, try commenting it out from
your .sbclrc and tell us if it works better ('worked for me).
So, what's the status of this problem finally ? While I can find a few
traces on the net, I couldn't figure out a proper way to fix it. I've tried again this morning with the latest CVS version and it's still present.
For the record, the cause (for me) is having
(asdf:operate 'asdf:load-op 'asdf-binary-locations) (defvar asdf::*source-to-target-mappings* '(("/usr/local/lib/sbcl/" nil)))
in my init file.
I am not using the latest SBCL, and mine is sbcl-1.0.1 which appears to be later than yours, so you might try updating your sbcl. I'm not having any problem. Here's my .sbclrc:
(in-package #:cl-user) (require :asdf) (push #p"/home/jcunningham/systems/" asdf:*central-registry*) (push #p"/usr/share/common-lisp/systems/" asdf:*central-registry*) (asdf:oos 'asdf:load-op :asdf-binary-locations) (setf asdf:*source-to-target-mappings* '((#p"/home/jcunningham/lib/sbcl/" nil) (#p"/home/jcunningham/lib64/sbcl/" nil))) (setf asdf:*centralize-lisp-binaries* t)
--Jeff