[slime-devel] ECL 1.12.2/3 on slime

Seth seth at tewebs.com
Sat Dec 19 14:19:42 UTC 2009


Hmm.. .almost have forgotten i switched to a new computer and didn't update
environmental vars to let it compile. However, on my
other computer, i still got the error message below (see new error message,
doesn't involve compiling lisp files).


*inferior-lisp* buffer:
(progn (load "c:/Seth/Program Files/emacs-23.1/plugins/slime/swank-loader.lisp"
:verbose t) (funcall (read-from-string "swank-loader:init")) (funcall
(read-from-string "swank:start-server")
"c:/Users/owner/AppData/Local/Temp/slime.572" :coding-system "iso-latin-1-unix"))

;;; Loading #P"c:/Seth/lisp/ecl/ASDF.fas"
;;; Loading #P"c:/Seth/lisp/ecl/CMP.fas"
;;; Loading #P"c:/Seth/lisp/ecl/sysfun.lsp"
; loading system definition from C:/Seth/lisp/library/libs/cl-fad/cl-fad.asd
; into #
;;; Loading "C:/Seth/lisp/library/libs/cl-fad/cl-fad.asd"
; registering # as CL-FAD
;;; Loading "C:/Seth/lisp/library/libs/cl-fad/packages.fas"
;;; Loading "C:/Seth/lisp/library/libs/cl-fad/fad.fas"
ECL (Embeddable Common-Lisp) 9.12.3
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.  
Top level in: #.
> 
;;; Loading "c:/Seth/Program Files/emacs-23.1/plugins/slime/swank-loader.lisp"
;;; Warning: No architecture feature found in (POWERPC PPC X86 X86-64 AMD64
                                               I686 I586 I486 PC386 IAPX386
                                               SPARC64 SPARC HPPA64 HPPA).
;;; Loading "c:/Seth/Program Files/emacs-23.1/plugins/slime/swank-backend.lisp"
;;; Loading "c:/Seth/Program
Files/emacs-23.1/plugins/slime/swank-source-path-parser.lisp"
;;; Loading "c:/Seth/Program
Files/emacs-23.1/plugins/slime/swank-source-file-cache.lisp"
;;; Loading "c:/Seth/Program Files/emacs-23.1/plugins/slime/swank-ecl.lisp"
;;; Loading #P"c:/Seth/lisp/ecl/SOCKETS.fas"
;;; Loading #P"c:/Seth/lisp/ecl/PROFILE.fas"
;;; Loading "c:/Seth/Program Files/emacs-23.1/plugins/slime/swank-gray.lisp"
;;; Loading "c:/Seth/Program Files/emacs-23.1/plugins/slime/swank-match.lisp"
;;; Loading "c:/Seth/Program Files/emacs-23.1/plugins/slime/swank.lisp"
;;; Warning: These Swank interfaces are unimplemented:
 (ACTIVATE-STEPPING ADD-FD-HANDLER ADD-SIGIO-HANDLER LIST-CALLEES LIST-CALLERS
  RECEIVE-IF REMOVE-FD-HANDLERS REMOVE-SIGIO-HANDLERS RESTART-FRAME
  RETURN-FROM-FRAME SAVE-IMAGE SLDB-BREAK-AT-START SLDB-BREAK-ON-RETURN
  SLDB-STEP-INTO SLDB-STEP-NEXT SLDB-STEP-OUT TOGGLE-TRACE)
;; Swank started at port: 58116.
CL-USER> 
;;; Loading "c:/Seth/Program
Files/emacs-23.1/plugins/slime/contrib/swank-package-fu.lisp"
;;; Loading "c:/Seth/Program Files/emacs-23.1/plugins/slime/contrib/swank-fuzzy.lisp"
;;; Loading "c:/Seth/Program Files/emacs-23.1/plugins/slime/contrib/swank-c-p-c.lisp"
;;; Loading "c:/Seth/Program
Files/emacs-23.1/plugins/slime/contrib/swank-fancy-inspector.lisp"
;;; Loading "c:/Seth/Program
Files/emacs-23.1/plugins/slime/contrib/swank-arglists.lisp"
;;; Loading "c:/Seth/Program Files/emacs-23.1/plugins/slime/contrib/swank-asdf.lisp"
;;; Loading "c:/Seth/Program
Files/emacs-23.1/plugins/slime/contrib/swank-presentations.lisp"


*slime-events*:

(:emacs-rex
 (swank:connection-info)
 "COMMON-LISP-USER" t 1)
(:return
 (:ok
  (:pid 5084 :style nil :lisp-implementation
	(:type "ECL" :name "ECL" :version "9.12.3")
	:machine
	(:instance "OWNER-PC" :type "x86" :version "15")
	:features
	(:wsock :cl-fad :asdf :win32 :formatter :uint32-t :uint16-t
:relative-package-names :unicode :dffi :clos-streams :cmu-format :msvc :ecl-pde
:dlopen :clos :threads :boehm-gc :ansi-cl :common-lisp ...)
	:modules
	("SB-BSD-SOCKETS" "SOCKETS" "CMP" "ASDF")
	:package
	(:name "COMMON-LISP-USER" :prompt "CL-USER")
	:version "2009-12-17"))
 1)
(:emacs-rex
 (swank:swank-require
  '(:swank-package-fu :swank-fuzzy :swank-fancy-inspector :swank-arglists
:swank-asdf))
 "COMMON-LISP-USER" t 2)
(:emacs-rex
 (swank:swank-require :swank-presentations)
 "COMMON-LISP-USER" t 3)
(:emacs-rex
 (swank:create-repl nil)
 "COMMON-LISP-USER" t 4)
(:return
 (:ok
  ("SWANK-ASDF" "SWANK-ARGLISTS" "SWANK-FANCY-INSPECTOR" "SWANK-FUZZY"
"SWANK-C-P-C" "SWANK-PACKAGE-FU" "SB-BSD-SOCKETS" "SOCKETS" "CMP" "ASDF"))
 2)
(:return
 (:ok
  ("SWANK-PRESENTATIONS" "SWANK-ASDF" "SWANK-ARGLISTS" "SWANK-FANCY-INSPECTOR"
"SWANK-FUZZY" "SWANK-C-P-C" "SWANK-PACKAGE-FU" "SB-BSD-SOCKETS" "SOCKETS" "CMP"
"ASDF"))
 3)
(:return
 (:ok
  ("COMMON-LISP-USER" "CL-USER"))
 4)
(:emacs-rex
 (swank:swank-require :swank-asdf)
 "COMMON-LISP-USER" t 5)
(:return
 (:ok
  ("SWANK-PRESENTATIONS" "SWANK-ASDF" "SWANK-ARGLISTS" "SWANK-FANCY-INSPECTOR"
"SWANK-FUZZY" "SWANK-C-P-C" "SWANK-PACKAGE-FU" "SB-BSD-SOCKETS" "SOCKETS" "CMP"
"ASDF"))
 5)
(:emacs-rex
 (swank:listener-eval "asdf:*central-registry*\n")
 "COMMON-LISP-USER" :repl-thread 6)
(:presentation-start 1 :repl-result)


new error message:
Debugger entered: nil
  (condition-case error (slime-net-read) (error (debug) (slime-net-close process
t) (error "net-read error: %S" error)))
  slime-net-read-or-lose(#)
  slime-process-available-input(#)
  slime-net-filter(# "ria/\\\")\" :repl-result)cks-dev/\\\"\n
#P\\\"C:/Seth000022(:presentation-end 1
:repl-result)/lisp/library/libs/usocket-0000020(:write-string \"\n\"
:repl-result).3.7/\\\"\n #P\\\"C:/Seth/lisp/library/libs/url-rewrite-0.1.1/\\\"\n
#P\\\"C:/Seth/lisp/library/libs/trivial-timeout/\\\"\n
#P\\\"C:/Seth/lisp/library/libs/000015(:return (:ok nil)
6)trivial-gray-streams/\\\"\n
#P\\\"C:/Seth/lisp/library/libs/trivial-garbage/\\\"\n
#P\\\"C:/Seth/lisp/library/libs/trivial-features/\\\"\n
#P\\\"C:/Seth/lisp/library/libs/split-sequence/\\\"\n
#P\\\"C:/Seth/lisp/library/libs/salza2-2.0.4/\\\"\n
#P\\\"C:/Seth/lisp/library/libs/salza-0.7.4/\\\"\n
#P\\\"C:/Seth/lisp/library/libs/rt-20040621/\\\"\n
#P\\\"C:/Seth/lisp/library/libs/rfc2388/\\\"\n #P\\\"C:/Seth/li")


ecl initialization file (.ecl):

(in-package :cl)
(require :asdf)
(push "C:/Seth/lisp/library/libs/cl-fad/" asdf:*central-registry*)
(asdf:operate 'asdf:load-op 'cl-fad)

(defun asdf-dir312 (path)
 (setf asdf:*central-registry*
   (loop for dir in (cl-fad:list-directory path)
       if (cl-fad:directory-pathname-p dir)
          collecting   dir  into result
      finally(return result))))

(asdf-dir312 "C:/Seth/lisp/library/libs/")



relevant .emacs file
(add-to-list 'load-path 
 "C:/Seth/Program Files/emacs-23.1/plugins/slime")
(setq inferior-lisp-program "C:/Seth/lisp/ecl/ecl.exe")
(require 'slime)

(global-set-key (kbd "<f5>") 'slime)
(defun slime-get-dirs ()
 (interactive)  
 (slime-eval 
   '(cl::asdf-dir312  "C:/Seth/lisp/library/libs/")))

(eval-after-load "slime"
  `(progn
    (slime-setup '( slime-fancy))
    (global-set-key (kbd "<f12>") 'slime-selector)  
    (global-set-key (kbd "<f4>") 'slime-get-dirs)
   ))



Then i just started ecl, and typed asdf:*central-registry* into the repl and got
the error

And i cant seem to find *cl-connections*, doesn't exist.



---- Msg sent via WebMail




More information about the slime-devel mailing list