Search code examples
slime

Slime: the symbol "HOST-ENT-ADDRESS-TYPE" is not external in the SB-BSD-SOCKETS package


this is an error message that suddenly prevents me from using Slime:

; loading #P"/home/vince/quicklisp/dists/quicklisp/software/slime-v2.19/swank-loader.lisp" ; ; caught ERROR: ; READ error during COMPILE-FILE: ;
; The symbol "HOST-ENT-ADDRESS-TYPE" is not external in the SB-BSD-SOCKETS package. ;
; Line: 117, Column: 76, File-Position: 3633 ;
; Stream: #<SB-SYS:FD-STREAM ; for "file /home/vince/quicklisp/dists/quicklisp/software/slime-v2.19/swank/sbcl.lisp" ; {10065BF923}> ;; ;; Error compiling /home/vince/quicklisp/dists/quicklisp/software/slime-v2.19/swank/sbcl.lisp: ;; COMPILE-FILE returned NIL. ;

Do you have any idea of what's causing it and what I can do ? Thanks.

update: happened a second time, supposedly after a quicklisp update.


Solution

  • Another fix is to upgrade sbcl.

    go to http://www.sbcl.org/platform-table.html, download a binary, run the install script:

    sudo sh install.sh
    

    We can also use linuxbrew: http://linuxbrew.sh/ (it may have to download and compile more stuff).

    make sure your emacs will find the location of the new sbcl:

    (setq inferior-lisp-program "/usr/local/bin/sbcl")  ;; location given by the install script.
    

    It worked back with sbcl 1.3.19 and slime 2.19.