[slime-devel] Slime startup error with SBCL 1.0.0.10

Gary King gwking at metabang.com
Tue Feb 6 13:52:46 UTC 2007


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 at 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 at 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







More information about the slime-devel mailing list