[CM] SBCL/CM + SLIME = [Error ] No executable found.

Bret Battey BBattey at dmu.ac.uk
Tue Mar 25 04:05:10 PDT 2008


Hi Rick,

Thanks, good to hear the SLIME is now built into Aquamacs. I was able to get this working with some tweaks -- for some reason Aquamacs wasn't finding SBCL when calling cm-program, even though I have the path in my .cshrc, so I had to provide full path:


(require 'slime)
(slime-setup)
(add-to-list 'load-path "/Applicatons/lisp/cm/etc/xemacs")
(setq cm-program "/Applications/lisp/cm/bin/cm.sh -l /usr/local/bin/sbcl")
(load "/Applications/lisp/cm/etc/xemacs/cm.el")
(enable-cm-commands)

Now I am well on my way to having my PICACS (Bézier spline modeling software) running again...

-=B


-----Original Message-----
From: Heinrich Taube [mailto:taube at uiuc.edu]
Sent: Sun 3/23/2008 8:20 PM
To: Bret Battey
Cc: Common Muisc List
Subject: Re: [CM] SBCL/CM + SLIME = [Error  ]  No executable found.
 
not sure whats going wrong  but it may be several things. first,  for  
more recent cm's (current in svn is 2.11.3) the pathname to cm.el is  
cm/etc/emacs/cm.el not cm/xemacs/cm.el

this is what i have in my emacs file that works fine on osx/aquamacs:

(require 'slime)
(slime-setup)
(add-to-list 'load-path "/Lisp/cm/etc/emacs/")
(setq cm-program "/Lisp/cm/bin/cm.sh -l sbcl")
(load "cm.el")
;(load "sal-mode.el")
(enable-cm-commands)


then M-x cm should work.

you can also download the GraceCL app, its editor is quite emacs like,  
then only gotcha is that opening large files takes a long time due to  
the horrible way i have to implement syntax highlighting in juce.





> I'm currently trying to get SBCL working with CM running with Slime/ 
> Aquamacs.
> Mac OS 10.4
>
> Following Rick's instructions in the html pages in the CM package,  
> excepting that I'm putting cm, clm, slime etc in /Applications/lisp/  
> rather than /usr etc.
>
> I've added the following to my .emacs file
>
> (add-to-list 'load-path "/Applications/lisp/slime-2.0/")
> (add-to-list 'load-path "/Applications/lisp/cm/")
> (load "etc/xemacs/cm.el")
> (enable-cm-commands)
>
> and restarted Aquamacs
>
> M-x cm
>
> results in:
> (load "/Applications/lisp/slime-2.0/swank-loader.lisp" :verbose t)
> (swank:start-server "/tmp/slime.775" :external-format :iso-latin-1- 
> unix)
>
> [Error  ]  No executable found.
> Aborting.
>
> Process inferior-lisp exited abnormally with code 1
>
>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20080325/d48dfa10/attachment.html>


More information about the Cmdist mailing list