[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[STUMP] clisp and swank
From: |
Rohan Nicholls |
Subject: |
[STUMP] clisp and swank |
Date: |
Tue, 02 May 2006 23:29:56 +0200 |
User-agent: |
Wanderlust/2.15.3 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) |
Hi all,
It has been great to see so much activity on this list, and has
inspired me to get clisp and stumpwm up and running.
Following the Readme (I think) and the mit-clx clisp readme I have
stumpwm working perfectly, but my next challenge is getting the clisp
that hosts stumpwm using swank.
So far this is what is working:
slime and lisp are happy when just fired up with M-x slime
here is what I have adapted from the wiki:
#!/home/rohan/bin/clisp -M
/home/rohan/Programs/Clisp/cvs/lib/clisp/full/clx.mem -m 4MB
;; load SLIME
(load #p"/home/rohan/Programs/slime/cvs/slime/swank-loader.lisp")
(load #p"/home/rohan/.slime/fasl/2006-04-20/clisp-2.38-unix-pc386/nregex.fas")
(load
#p"/home/rohan/.slime/fasl/2006-04-20/clisp-2.38-unix-pc386/swank-backend.fas")
(load #p"/home/rohan/.slime/fasl/2006-04-20/clisp-2.38-unix-pc386/swank.fas")
(load
#p"/home/rohan/.slime/fasl/2006-04-20/clisp-2.38-unix-pc386/swank-clisp.fas")
;;(load #p"/home/rohan/.slime/fasl/2006-04-20/clisp-2.38-unix-pc386/")
(swank:create-swank-server 4005 :spawn)
;; load stumpwm
(load "~/.clisprc")
(asdf:oos 'asdf:load-op :stumpwm)
This when run from the command line claims to be successful:
;; Loading file
/home/rohan/.slime/fasl/2006-04-20/clisp-2.38-unix-pc386/swank-backend.fas ...
;; Loaded file
/home/rohan/.slime/fasl/2006-04-20/clisp-2.38-unix-pc386/swank-backend.fas
;; Loading file
/home/rohan/.slime/fasl/2006-04-20/clisp-2.38-unix-pc386/nregex.fas ...
;; Loaded file
/home/rohan/.slime/fasl/2006-04-20/clisp-2.38-unix-pc386/nregex.fas
;; Loading file
/home/rohan/.slime/fasl/2006-04-20/clisp-2.38-unix-pc386/xref.fas ...
;; Loaded file
/home/rohan/.slime/fasl/2006-04-20/clisp-2.38-unix-pc386/xref.fas
;; Loading file
/home/rohan/.slime/fasl/2006-04-20/clisp-2.38-unix-pc386/metering.fas ...
;; Loaded file
/home/rohan/.slime/fasl/2006-04-20/clisp-2.38-unix-pc386/metering.fas
;; Loading file
/home/rohan/.slime/fasl/2006-04-20/clisp-2.38-unix-pc386/swank-clisp.fas ...
WARNING: Replacing method #<STANDARD-METHOD (#<BUILT-IN-CLASS T>)> in
#<STANDARD-GENERIC-FUNCTION CALL-WITHOUT-INTERRUPTS>
WARNING: Replacing method #<STANDARD-METHOD NIL> in
#<STANDARD-GENERIC-FUNCTION LISP-IMPLEMENTATION-TYPE-NAME>
WARNING: Replacing method #<STANDARD-METHOD (#<BUILT-IN-CLASS T>)> in
#<STANDARD-GENERIC-FUNCTION SET-DEFAULT-DIRECTORY>
WARNING: Replacing method #<STANDARD-METHOD (#<BUILT-IN-CLASS T>)> in
#<STANDARD-GENERIC-FUNCTION ARGLIST>
WARNING: Replacing method #<STANDARD-METHOD (#<BUILT-IN-CLASS T>)> in
#<STANDARD-GENERIC-FUNCTION FORMAT-SLDB-CONDITION>
<snip>
WARNING: Replacing method #<STANDARD-METHOD (#<BUILT-IN-CLASS T>)> in
#<STANDARD-GENERIC-FUNCTION LIST-CALLERS>
WARNING: Replacing method #<STANDARD-METHOD (#<BUILT-IN-CLASS T>)> in
#<STANDARD-GENERIC-FUNCTION LIST-CALLEES>
WARNING: Replacing method #<STANDARD-METHOD NIL> in
#<STANDARD-GENERIC-FUNCTION MAKE-DEFAULT-INSPECTOR>
WARNING: Replacing method
#<STANDARD-METHOD (#<BUILT-IN-CLASS T> #<STANDARD-CLASS
CLISP-INSPECTOR>)>
in #<STANDARD-GENERIC-FUNCTION INSPECT-FOR-EMACS>
WARNING: Replacing method #<STANDARD-METHOD NIL> in #<STANDARD-GENERIC-FUNCTION
QUIT-LISP>
;; Swank started at port: 4005.
*** - NO-APPLICABLE-METHOD: When calling #<STANDARD-GENERIC-FUNCTION
SWANK-BACKEND:SPAWN>
with arguments (#<COMPILED-FUNCTION SWANK::SETUP-SERVER-1> :NAME
"Swank"), no method
is applicable.
Apparently swank is up and running however trying a slime connect
yields:
Connecting to Swank on port 4005..
open-network-stream: make client process failed: connection refused, :name,
SLIME Lisp, :buffer, nil, :host, 127.0.0.1, :service, 4005
and that is as far as I have got. The WARNING's above I think might
be a problem and there are a lot of them, but I am not sure where to
go from here.
If anyone has managed to get clisp and swank running with
slime-connect I would be most appreciative if they could let me in on
their secret.
Tia,
Rohan
- [STUMP] clisp and swank,
Rohan Nicholls <=