[Openmcl-devel] Using Clozure CL with GNU Emacs and SLIME

Stas Boukarev stassats at gmail.com
Wed Mar 24 14:54:30 PDT 2010


Adam Getchell <adam.getchell at gmail.com> writes:

> 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-SLIME
>
> CCL info:
>
> adam at 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 at common-lisp.net:/project/slime/cvsroot co slime
>
> adam at 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?
>
Ununistall slime provided by debian:
apt-get --purge remove slime cl-swank

P.S. This question belongs to slime-devel mailing list.

-- 
With Best Regards, Stas.



More information about the Openmcl-devel mailing list