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.
Thanks, Vamsee.
Vamsee Kanakala vamlists@gmail.com writes:
;; 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
this looks like an error i get when attempting to require an sbcl contrib without SBCL_HOME set. where is sbcl installed and what is the value of (getenv "SBCL_HOME") ?
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).
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.
Thanks !
Hi Didier,
(I think our emails are crossing like ships in the night)
The problem is that ASDF-Binary-locations (ABL) is trying to get SBCL to recompile parts of itself. This post (http://metabang.com/ unclogit/?p=56) describes the problem and solution. Actually, I hope you don't actually have the latest version of ABL because the 0.2.3 is _supposed_ to handle SBCL out of the box.
BTW, the problem with
(defvar asdf::*source-to-target-mappings* '(("/usr/local/lib/sbcl/" nil))
is that defvar only sets the value if the variable is unbound. ABL will have already set *source-to-target-mappings* so the new value (which, BTW, should work) won't be set. Solutions include:
* Putting the defvar before the load-op * Changing the defvar to a setf * pushing the cons onto the variable.
Please let me know if this helps.
On Feb 6, 2007, at 8:45 AM, 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.
Thanks !
-- The @-quartet now available on iTunes ! http:// www.didierverna.com/records/
Didier Verna EPITA / LRDE, 14-16 rue Voltaire Tel.+33 (1) 44 08 01 85 94276 Le Kremlin-Bicêtre, France Fax.+33 (1) 53 14 59 22 _______________________________________________ slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel
-- Gary Warren King, metabang.com Cell: (413) 885 9127 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM
Gary King gwking@metabang.com wrote:
Hi Didier,
(I think our emails are crossing like ships in the night)
I bet they are ! :-)
Actually, I hope you don't actually have the latest version of ABL because the 0.2.3 is _supposed_ to handle SBCL out of the box.
I have the latest darcs version, which seems to be 0.2.2. The ChangeLog web page advertises version 0.2.3 though.
Ack! My bad (as usual, sign -- too many plates in the kitchen or something).
I had not updated the darcs when I updated everything else.
Sorry about that.
On Feb 6, 2007, at 10:13 AM, Didier Verna wrote:
Gary King gwking@metabang.com wrote:
Hi Didier,
(I think our emails are crossing like ships in the night)
I bet they are ! :-)
Actually, I hope you don't actually have the latest version of ABL because the 0.2.3 is _supposed_ to handle SBCL out of the box.
I have the latest darcs version, which seems to be 0.2.2. The
ChangeLog web page advertises version 0.2.3 though.
-- The @-quartet now available on iTunes ! http:// www.didierverna.com/records/
Didier Verna EPITA / LRDE, 14-16 rue Voltaire Tel.+33 (1) 44 08 01 85 94276 Le Kremlin-Bicêtre, France Fax.+33 (1) 53 14 59 22
-- Gary Warren King, metabang.com Cell: (413) 885 9127 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM
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
Jeffrey Cunningham jeffrey@cunningham.net wrote:
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)
Thanks ! Looking at your code just made me realize that I use defvar to set asdf:*source-to-target-mappings* (snippet actually cut'n pasted from ABL's website on common-lisp.net IIRC), and of course, since then, I've tweaked my configuration files and loaded ABL *before* my defvar, rendering it inoperative. :-/
Jee, I feel stupid. Sorry for the noise. Everything's fine now.
I had this problem updating my Ubuntu SBCL to 1.0.1. The fix was to update common-lisp-controller up to 6.8. The cause was sb-grovel trying to (run-program (sb-ext:posix-getenv "CC") ...) with CC not set. Updating fixed it.