Hi Jeffrey,
I'm replying to the list on this one since I'm about to disappear for the weekend and because a problem this strange deserves a place in the list archives. :-)
Below when you try to start the SWANK server it gives a "No such file or directory" error. If the bind(2) system call is doing this then the only reason I can think of is if we try to bind to an IP address that does not exist, but that's weird because we're binding to 127.0.0.1. (Somehow this rings a vague bell though..)
Random questions: are you on x86? and how come Gentoo gives you CMUCL 18e when 19a was released nearly 6 months ago? any other Gentoo users able to shed some light here? did you see Helmut's question about byte compiling?
Jeffrey Cunningham jeffrey@cunningham.net writes:
Hi Luke,
Thank you for your great explanation. Everything worked up to the point where I tried to create the server. Here is the output up until that failure:
jcunningham@apollo $ lisp ; Loading #p"/home/jcunningham/.cmucl-init". ; loading system definition from /usr/local/asdf-registry/asdf-install.asd into ; #<The ASDF1038 package, 0/9 internal, 0/9 external> ;; Loading #p"/usr/local/asdf-install/asdf-install.asd". ; registering #<SYSTEM ASDF-INSTALL {4802FFED}> as ASDF-INSTALL ;; Loading #p"/usr/local/asdf-install/defpackage.x86f". ;; Loading #p"/usr/local/asdf-install/split-sequence.x86f". ;; Loading #p"/usr/local/asdf-install/port.x86f". ;; Loading #p"/usr/local/asdf-install/installer.x86f". CMU Common Lisp CVS release-18e-branch + minimal debian patches, running on apollo.olympus.net With core: /usr/lib/cmucl/lisp.core Dumped on: Fri, 2005-01-07 22:55:27-08:00 on apollo.olympus.net For support see http://www.cons.org/cmucl/support.html Send bug reports to http://bugs.gentoo.org. Type (help) for help or (quit) to exit.
Loaded subsystems: Python 1.1, target Intel x86 CLOS 18e (based on PCL September 16 92 PCL (f))
- (load "/usr/share/emacs/site-lisp/slime/swank-loader.lisp")
; Loading #p"/usr/share/emacs/site-lisp/slime/swank-loader.lisp". ;; Loading #p"/usr/share/common-lisp/source/swank/swank.asd". ;; Loading #p"/usr/lib/common-lisp/cmucl/swank/swank-backend.x86f". ;; Loading #p"/usr/lib/common-lisp/cmucl/swank/nregex.x86f". ;; Loading #p"/usr/lib/common-lisp/cmucl/swank/swank-source-path-parser.x86f". ;; Loading #p"/usr/lib/common-lisp/cmucl/swank/swank-cmucl.x86f". ;; Loading #p"/usr/lib/common-lisp/cmucl/swank/swank.x86f". T
- (setq swank::*log-events* t)
T
- (swank:create-server)
Error in function CREATE-INET-LISTENER: Error binding socket to port 4005: No such file or directory
Restarts: 0: [ABORT] Return to Top-Level.
Debug (type H for help)
(CREATE-INET-LISTENER 4005 :STREAM :HOST 16777343 ...) Source: Error finding source: Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no longer exists: target:code/internet.lisp. 0]
And, in case it is useful, here is the contents of ~/.cmucl-init:
#-:asdf (load "/usr/lib/common-lisp/clisp/asdf/asdf") (pushnew "/usr/local/asdf-registry/" asdf:*central-registry* :test #'equal) #-:asdf-install (asdf:operate 'asdf:load-op :asdf-install)
I tried moving that file and going through the process again with the same result.
--Jeff