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

Bret Battey BBattey at dmu.ac.uk
Tue, 25 Mar 2008 11:05:10 -0000


This is a multi-part message in MIME format.

------_=_NextPart_001_01C88E68.86A7E903
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


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=E9zier spline modeling =
software) running again...

-=3DB


-----Original Message-----
From: Heinrich Taube [mailto:taube@uiuc.edu]
Sent: Sun 3/23/2008 8:20 PM
To: Bret Battey
Cc: Common Muisc List
Subject: Re: [CM] SBCL/CM + SLIME =3D [Error  ]  No executable found.
=20
not sure whats going wrong  but it may be several things. first,  for =20
more recent cm's (current in svn is 2.11.3) the pathname to cm.el is =20
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, =20
then only gotcha is that opening large files takes a long time due to =20
the horrible way i have to implement syntax highlighting in juce.





> I'm currently trying to get SBCL working with CM running with Slime/=20
> Aquamacs.
> Mac OS 10.4
>
> Following Rick's instructions in the html pages in the CM package, =20
> excepting that I'm putting cm, clm, slime etc in /Applications/lisp/ =20
> 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-=20
> unix)
>
> [Error  ]  No executable found.
> Aborting.
>
> Process inferior-lisp exited abnormally with code 1
>
>




------_=_NextPart_001_01C88E68.86A7E903
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7638.1">
<TITLE>RE: [CM] SBCL/CM + SLIME =3D [Error  ]  No executable =
found.</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=3D2>Hi Rick,<BR>
<BR>
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:<BR>
<BR>
<BR>
(require 'slime)<BR>
(slime-setup)<BR>
(add-to-list 'load-path &quot;/Applicatons/lisp/cm/etc/xemacs&quot;)<BR>
(setq cm-program &quot;/Applications/lisp/cm/bin/cm.sh -l =
/usr/local/bin/sbcl&quot;)<BR>
(load &quot;/Applications/lisp/cm/etc/xemacs/cm.el&quot;)<BR>
(enable-cm-commands)<BR>
<BR>
Now I am well on my way to having my PICACS (B=E9zier spline modeling =
software) running again...<BR>
<BR>
-=3DB<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Heinrich Taube [<A =
HREF=3D"mailto:taube@uiuc.edu">mailto:taube@uiuc.edu</A>]<BR>
Sent: Sun 3/23/2008 8:20 PM<BR>
To: Bret Battey<BR>
Cc: Common Muisc List<BR>
Subject: Re: [CM] SBCL/CM + SLIME =3D [Error&nbsp; ]&nbsp; No executable =
found.<BR>
<BR>
not sure whats going wrong&nbsp; but it may be several things. =
first,&nbsp; for&nbsp;<BR>
more recent cm's (current in svn is 2.11.3) the pathname to cm.el =
is&nbsp;<BR>
cm/etc/emacs/cm.el not cm/xemacs/cm.el<BR>
<BR>
this is what i have in my emacs file that works fine on =
osx/aquamacs:<BR>
<BR>
(require 'slime)<BR>
(slime-setup)<BR>
(add-to-list 'load-path &quot;/Lisp/cm/etc/emacs/&quot;)<BR>
(setq cm-program &quot;/Lisp/cm/bin/cm.sh -l sbcl&quot;)<BR>
(load &quot;cm.el&quot;)<BR>
;(load &quot;sal-mode.el&quot;)<BR>
(enable-cm-commands)<BR>
<BR>
<BR>
then M-x cm should work.<BR>
<BR>
you can also download the GraceCL app, its editor is quite emacs =
like,&nbsp;<BR>
then only gotcha is that opening large files takes a long time due =
to&nbsp;<BR>
the horrible way i have to implement syntax highlighting in juce.<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
&gt; I'm currently trying to get SBCL working with CM running with =
Slime/<BR>
&gt; Aquamacs.<BR>
&gt; Mac OS 10.4<BR>
&gt;<BR>
&gt; Following Rick's instructions in the html pages in the CM =
package,&nbsp;<BR>
&gt; excepting that I'm putting cm, clm, slime etc in =
/Applications/lisp/&nbsp;<BR>
&gt; rather than /usr etc.<BR>
&gt;<BR>
&gt; I've added the following to my .emacs file<BR>
&gt;<BR>
&gt; (add-to-list 'load-path =
&quot;/Applications/lisp/slime-2.0/&quot;)<BR>
&gt; (add-to-list 'load-path &quot;/Applications/lisp/cm/&quot;)<BR>
&gt; (load &quot;etc/xemacs/cm.el&quot;)<BR>
&gt; (enable-cm-commands)<BR>
&gt;<BR>
&gt; and restarted Aquamacs<BR>
&gt;<BR>
&gt; M-x cm<BR>
&gt;<BR>
&gt; results in:<BR>
&gt; (load &quot;/Applications/lisp/slime-2.0/swank-loader.lisp&quot; =
:verbose t)<BR>
&gt; (swank:start-server &quot;/tmp/slime.775&quot; :external-format =
:iso-latin-1-<BR>
&gt; unix)<BR>
&gt;<BR>
&gt; [Error&nbsp; ]&nbsp; No executable found.<BR>
&gt; Aborting.<BR>
&gt;<BR>
&gt; Process inferior-lisp exited abnormally with code 1<BR>
&gt;<BR>
&gt;<BR>
<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C88E68.86A7E903--