Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error starting SWANK server on macOS #60

Closed
alexpopov opened this issue May 17, 2017 · 2 comments
Closed

Error starting SWANK server on macOS #60

alexpopov opened this issue May 17, 2017 · 2 comments

Comments

@alexpopov
Copy link

I tried looking for existing issues and debugging myself, but I was unable to (first-time lisp user)

The tutorial said to press ,d, which worked, but while launching the the server this error comes up:

; 
; 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: 3634
;   
;       Stream: #<SB-SYS:FD-STREAM
;                 for "file ~/.vim/bundle/slimv0913/slime/swank/sbcl.lisp"
;                 {1353D5A9}>
;; 
;; Error compiling ~/.vim/bundle/slimv0913/slime/swank/sbcl.lisp:
;;   COMPILE-FILE returned NIL.
;; 

I'm not sure if this is an issue with my Vim or installation.

Tested with: Vim 8.0 and MacVim 8.0.596 on macOS 10.12.4
I installed SBCL from the official website and slimv from vim.org

Thank you

@kovisoft
Copy link
Owner

I think the problem is that you have an outdated version of sbcl. I got this error when I was using sbcl version 1.0.55 with the latest swank server. After upgrading to sbcl 1.3.1 the problem disappeared. Please check your sbcl version and if it's old then try to upgrade it. If your distribution does not contain a newer version then you may manually install it. If there is no newer version available for your system, then you can try to replace swank/sbcl.lisp in the swank server embedded in slimv with an older version 2.18 from here.

@alexpopov
Copy link
Author

Thank you very much! For macOS, the version on brew works just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants