I'm trying to get Clozure CL setup with Emacs and SLIME on Ubuntu 9.10. per these directions:
http://ccl.clozure.com/ccl-documentation.html#Using-CCL-with-GNU-Emacs-and-S...
CCL info:
adam@ubuntu:~$ ./ccl64 -V Version 1.4-r13548M (LinuxX8664)
Located in ~/ccl, the startup script is ~./ccl64 (copied from ccl directory)
Emacs info:
This is GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.3) of 2009-11-10 on crested, modified by Debian
SLIME info:
Located in ~/emacs/site, checked out today using:
sudo cvs -d :pserver:anonymous@common- lisp.net:/project/slime/cvsroot co slime
adam@ubuntu:~$ cat .emacs (set-language-environment "utf-8")
(add-to-list 'load-path "~/emacs/site/slime/")
(setq inferior-lisp-program "~/ccl64 -K utf-8") (require 'slime) (setq slime-net-coding-system 'utf-8-unix) (slime-setup)
;;; This was installed by package-install.el. ;;; This provides support for the package system and ;;; interfacing with ELPA, the package archive. ;;; Move this code earlier if you want to reference ;;; packages in your .emacs. (when (load (expand-file-name "~/.emacs.d/elpa/package.el")) (package-initialize))
When I start Emacs I get these errors in the messages buffer:
Loading 00debian-vars...done Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)... Loading debian-ispell... Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done Loading debian-ispell...done Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done Loading /etc/emacs/site-start.d/50global.el (source)...done Loading /etc/emacs/site-start.d/50psvn.el (source)...done Loading /etc/emacs/site-start.d/50slime.el (source)... Error while loading 50slime: Cannot open load file: /usr/share/emacs23/site-lisp/slime/slime-autoloads Loading /home/adam/.emacs.d/elpa/package.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a.
When I do M-x slime I get these errors:
(progn (load "/usr/share/common-lisp/source/slime/swank-loader.lisp" :verbose t) (funcall (read-from-string "swank:start-server") "/tmp/slime.3489" :coding-system "utf-8-unix"))
Welcome to Clozure Common Lisp Version 1.4-r13548M (LinuxX8664)! ? > Error: File "/usr/share/common-lisp/source/slime/swank-loader.lisp" does not exist.
While executing: CCL::%LOAD, in process listener(1). Type :POP to abort, :R for a list of available restarts. Type :? for other options.
1 >
It looks like SLIME somehow doesn't know about swank?
Suggestions for how to fix?
Thanks
Adam Getchell