[slime-devel] Problem with Slime & SBCL on Windows XP

Marko Kocić marko.kocic at gmail.com
Thu Mar 24 11:47:21 UTC 2011


Have you tried to turn of windows firewall or antivirus?
Those might prevent your slime process from opening connections.

Regards,
Marko

On Wed, Mar 23, 2011 at 2:11 AM, Scott Turner <srt19170 at gmail.com> wrote:
> I've run into a puzzling problem using Slime with SBCL on my Windows
> XP box.  Puzzling in one way, because it seems to work fine on my
> laptop (also a Windows XP box), but not on my desktop machine -- not
> that I can see any differences in my set up.
>
> I'm running GNU Emacs 23.1.50.1, the latest Slime (3/14), and SBCL
> 1.0.37 (Win32-x86).  My .emacs file looks like this:
>
> (setq temporary-file-directory "C:/unzipped/Tmp")
> (setenv "temp" temporary-file-directory)
> (setenv "tmp" temporary-file-directory)
> (setq inferior-lisp-program "sbcl")
> (add-to-list 'load-path "C:/Slime")
> (add-to-list 'load-path "C:/Slime/contrib")
> (require 'slime)
> (require 'slime-autoloads)
> (slime-setup '(slime-repl))
>
> I don't have anything in ~/.slime.lisp
>
> When I start slime (with M-x slime), the *inferior lisp* buffer comes
> up and loads a bunch of files (compiling the first time) and ends
> with:
>
> ;; Swank started at port: 2856
> CL-USER>
>
> As expected.  (I'll append the full trace to the bottom of this
> message.)  However, the connection is never made and the *slime-repl*
> buffer never shows up.  A look in *Messages* shows:
>
> Connecting to Swank on port 2856.. [2 times]
>
> If I try to telnet to that port ("telnet 127.0.0.1 2856") I get "Could
> not open connection..."
>
> If I start SBCL in a separate command shell, I get the same behavior.
> Appears to start up, but neither Emacs nor telnet can talk to the
> port.
>
> FWIW, I can use slime & CLisp fine on this machine -- so I don't think
> it's a problem with a firewall blocking the port or something similar.
>
> It appears to me that for whatever reason, the swank server is not
> opening the advertised port.  I took a look at the swank code but I
> didn't see any additional debugging I can turn on.  I've done some
> extensive Googling but can't find any solution.  Any ideas what's
> going on or how to get it working?
>
> I'm not a subscriber to this mailing list, so if you can CC me
> directly in responses it would be appreciated.  Thanks for any help
> you can provide!
>
> -- Scott Turner
>
> (progn (load "c:\\Documents and Settings\\Turner\\My Documents\\Dad's
> Files\\Slime\\swank-loader.lisp" :verbose t) (funcall
> (read-from-string "swank-loader:init")) (funcall (read-from-string
> "swank:start-server") "c:\\unzipped\\Tmp\\slime.6340" :coding-system
> "iso-latin-1-unix"))
>
> This is SBCL 1.0.37, an implementation of ANSI Common Lisp.
> More information about SBCL is available at <http://www.sbcl.org/>.
>
> SBCL is free software, provided as is, with absolutely no warranty.
> It is mostly in the public domain; some portions are provided under
> BSD-style licenses.  See the CREDITS and COPYING files in the
> distribution for more information.
>
> This is experimental prerelease support for the Windows platform: use
> at your own risk.  "Your Kitten of Death awaits!"
> *
> ; loading #P"c:\\Documents and Settings\\Turner\\My Documents\\Dad's
> Files\\Slime\\swank-loader.lisp"
> ; loading #P"C:\\.slime\\fasl\\2011-03-13\\sbcl-1.0.37-win32-x86\\swank-backend.fasl"
> ; loading #P"C:\\.slime\\fasl\\2011-03-13\\sbcl-1.0.37-win32-x86\\swank-source-path-parser.fasl"
> ; loading #P"C:\\.slime\\fasl\\2011-03-13\\sbcl-1.0.37-win32-x86\\swank-source-file-cache.fasl"
> ; loading #P"C:\\.slime\\fasl\\2011-03-13\\sbcl-1.0.37-win32-x86\\swank-sbcl.fasl"
> STYLE-WARNING: redefining EMACS-INSPECT (#<BUILT-IN-CLASS T>) in DEFMETHOD
> ; loading #P"C:\\.slime\\fasl\\2011-03-13\\sbcl-1.0.37-win32-x86\\swank-gray.fasl"
> STYLE-WARNING:
>   Implicitly creating new generic function STREAM-READ-CHAR-WILL-HANG-P.
> ; loading #P"C:\\.slime\\fasl\\2011-03-13\\sbcl-1.0.37-win32-x86\\swank-match.fasl"
> ; loading #P"C:\\.slime\\fasl\\2011-03-13\\sbcl-1.0.37-win32-x86\\swank-rpc.fasl"
> ; loading #P"C:\\.slime\\fasl\\2011-03-13\\sbcl-1.0.37-win32-x86\\swank.fasl"
> WARNING: These Swank interfaces are unimplemented:
>  (BACKGROUND-SAVE-IMAGE DISASSEMBLE-FRAME EXEC-IMAGE INTERRUPT-THREAD
>  RECEIVE-IF SAVE-IMAGE SEND SLDB-BREAK-AT-START SLDB-BREAK-ON-RETURN SPAWN)
> ;; Swank started at port: 2856.
> CL-USER>
>
> _______________________________________________
> slime-devel site list
> slime-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/slime-devel
>




More information about the slime-devel mailing list