Thursday, January 5, 2012

SLIME: there is no package with name "ASDF"

The known bug with

Welcome to GNU CLISP 2.49 (2010-07-07) <http://clisp.cons.org/>

Copyright (c) Bruno Haible, Michael Stoll 1992, 1993
Copyright (c) Bruno Haible, Marcus Daniels 1994-1997
Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998
Copyright (c) Bruno Haible, Sam Steingold 1999-2000
Copyright (c) Sam Steingold, Bruno Haible 2001-2010

Type :h and hit Enter for context help.

[1]> 
;; Loading file /usr/share/common-lisp/source/slime/swank-loader.lisp ...
*** - READ de
       #<INPUT BUFFERED FILE-STREAM CHARACTER
         #P"/usr/share/common-lisp/source/slime/swank-loader.lisp" @143>
      : there is no package with name "ASDF"

The following restarts are available:
ABORT          :R1      Abort main loop
Break 1 SWANK-LOADER[2]>  
 
seems not yet fixed (2012-01-05). 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=640815
The solution proposed there worked for me:
 
Ok I realized that I had to manually setup ASDF in my ~/.clisprc:

  (load #P"/usr/share/common-lisp/source/cl-asdf/asdf.lisp")

Or, for SBCL, in my ~/.sbclrc

  (require 'asdf)

Mentionning this fact in the README.Debian would be useful for CL newbies
 

No comments:

Post a Comment