Hi all,
I'm just getting started with SLIME and CMUCL, so any help would be really appreciated.
I set up SLIME 1.0 on a linux machine according to the manual's instructions, and M-x slime worked out-of-the-box quite nicely. The analogous setup on OS X, however, gives me the following error. After this point, the inferior lisp mode works fine, but slime mode does not. A problem with the socket communication perhaps?
Could someone please help me debug this? I think that my network interface is properly configured, but since it's my day 1 with SLIME, it's hard for me to know how to analyze this error.
* ;; Swank started at port: 49188.
49188 *
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.
Matthew M. Munz mattmunz@email.com
On Sep 10, 2004, at 6:21 PM, Matthew Munz wrote:
Hi all,
I'm just getting started with SLIME and CMUCL, so any help would be really appreciated.
I set up SLIME 1.0 on a linux machine according to the manual's instructions, and M-x slime worked out-of-the-box quite nicely. The analogous setup on OS X, however, gives me the following error. After this point, the inferior lisp mode works fine, but slime mode does not. A problem with the socket communication perhaps?
I was playing with this yesterday and based on a suggestion by Raymond Toy on #lisp was able to get slime to work if I set *use-dedicated-output-stream* to NIL
(you might also find the fink packages for slime and cmucl convenient, if you have fink installed on your system)
-Lars
Could someone please help me debug this? I think that my network interface is properly configured, but since it's my day 1 with SLIME, it's hard for me to know how to analyze this error.
- ;; Swank started at port: 49188.
49188
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.
Matthew M. Munz mattmunz@email.com
-- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm
slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel
Lars Rosengreen http://www.margay.org
Matthew Munz wrote:
Hi all,
I'm just getting started with SLIME and CMUCL, so any help would be really appreciated.
I set up SLIME 1.0 on a linux machine according to the manual's instructions, and M-x slime worked out-of-the-box quite nicely. The analogous setup on OS X, however, gives me the following error. After this point, the inferior lisp mode works fine, but slime mode does not. A problem with the socket communication perhaps?
Could someone please help me debug this? I think that my network interface is properly configured, but since it's my day 1 with SLIME, it's hard for me to know how to analyze this error.
In recent combinations of SLIME and CMUCL I've found it necessary to comment out a bit of swank-cmucl.lisp. The bit in question is at line 77 of version 1.114 (the cvs version I have at the moment), and looks like this:
(defimplementation create-socket (host port) (ext:create-inet-listener port :stream :reuse-address t :host (resolve-hostname host)))
The bit you want to comment out is:
:host (resolve-hostname host)
After I do that, SLIME and CMUCL cohabit nicely in recent builds of Carbon Gnu Emacs.