I'm using GNU Emacs 21.2.1 on Mac OS X 10.3.7. I'm trying to get SLIME 1.0 to work with either CMUCL or SBCL. I load slime with M-x slime and I get the following message in the *inferior-lisp* buffer:
===========MESSAGE STARTS HERE===============
CMU Common Lisp 19a+ Darwin/Exp 2004-07-25-090, running on Vigor10 With core: /usr/local/lib/cmucl/lib/lisp.core Dumped on: Sun, 2004-07-25 20:53:38+01:00 on PMSF-PowerBook.local See http://www.cons.org/cmucl/ for support information. Loaded subsystems: Python 1.1, target PowerPC CLOS based on Gerd's PCL 2004/04/14 03:32:47 * ; Loading #p"/Users/dave/Documents/slime-1.0/swank-loader.lisp". ;; Loading #p"/Users/dave/.slime/fasl/cmu-19a+ Darwin-Exp 2004-07-25-090/swank-backend.ppcf". ;; Loading #p"/Users/dave/.slime/fasl/cmu-19a+ Darwin-Exp 2004-07-25-090/nregex.ppcf". ;; Loading #p"/Users/dave/.slime/fasl/cmu-19a+ Darwin-Exp 2004-07-25-090/swank-source-path-parser.ppcf". ;; Loading #p"/Users/dave/.slime/fasl/cmu-19a+ Darwin-Exp 2004-07-25-090/swank-cmucl.ppcf". ;; Loading #p"/Users/dave/.slime/fasl/cmu-19a+ Darwin-Exp 2004-07-25-090/swank.ppcf". Warning: These Swank interfaces are unimplemented: (ALL-THREADS FIND-THREAD INTERRUPT-THREAD RECEIVE RESTART-FRAME RETURN-FROM-FRAME SEND SPAWN THREAD-ID) T * ;; Swank started at port: 49577.
49577 *
Error in function CREATE-INET-LISTENER: Error binding socket to port 0: Can't assign requested address [Condition of type SIMPLE-ERROR]
Restarts: 0: [ABORT] Return to Top-Level.
Debug (type H for help)
(CREATE-INET-LISTENER 0 :STREAM :HOST 2130706433 ...) Source: Error finding source: Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no longer exists: target:code/internet.lisp. 0]
======MESSAGE ENDS HERE==========
Can anyone please tell me what's going wrong?
Cheers, Dave Meredith
On Sun Jan 23, 2005 at 01:19:54AM +0000, David Meredith wrote:
- ;; Swank started at port: 49577.
49577
Error in function CREATE-INET-LISTENER: Error binding socket to port 0: Can't assign requested address [Condition of type SIMPLE-ERROR]
I can think of two possibilities: do you have a firewall blocking ports in that address range? Or it looks like it might be looking for the socket on port 0 whereas it is actually listening on port 49577.
But I'm a real noob at SLIME, so you better hear what others have to say.
--Jeff
David Meredith dave@titanmusic.com writes:
I'm using GNU Emacs 21.2.1 on Mac OS X 10.3.7. I'm trying to get SLIME 1.0 to work with either CMUCL or SBCL. I load slime with M-x slime and I get the following message in the *inferior-lisp* buffer:
i would strongly suggest getting a more recent slime.
- ;; Swank started at port: 49577.
49577
Error in function CREATE-INET-LISTENER: Error binding socket to port 0: Can't assign requested address [Condition of type SIMPLE-ERROR]
this is (often) a sympton of not being able to resolve localhost. try changing the occurences of "localhost" to "127.0.0.1" in slime.el (or upgrade to cvs slime).