Susan Epstein | 17 Aug 13:44

Aquamacs can't find openmcl

I have the 64-bit version of openmcl installed in ~/ccl on a Mac with 
an Intel Core 2 Duo and Aquamacs distribution 1.4.

Per the instructions, I put
  (setq inferior-lisp-program "~/ccl/scripts/ccl64")
in
~/Library/Preferences/Aquamacs Emacs/Preferences.el

This should let me use SLIME from a file open in Aquamacs. But when I 
try
M-x slime
I get "no such file or directory, ~ccl/scripts/openmcl"

When I look, of course the file is there, but it is a Unix executable 
and just indicates that there was no such file or directory from line 
70 and that it logged out.

I'd be grateful for any guidance you can offer here.

Susan
Chun Tian (binghe | 17 Aug 14:00

Re: Aquamacs can't find openmcl

Maybe you also setq this variable somewhere else? For example, ~/.emacs

Aquamacs/SLIME and CCL works well on my MacbookPro laptop.

--binghe

在 2008-8-17,下午7:44, Susan Epstein 写道:

> I have the 64-bit version of openmcl installed in ~/ccl on a Mac with
> an Intel Core 2 Duo and Aquamacs distribution 1.4.
>
> Per the instructions, I put
>  (setq inferior-lisp-program "~/ccl/scripts/ccl64")
> in
> ~/Library/Preferences/Aquamacs Emacs/Preferences.el
>
> This should let me use SLIME from a file open in Aquamacs. But when I
> try
> M-x slime
> I get "no such file or directory, ~ccl/scripts/openmcl"
>
> When I look, of course the file is there, but it is a Unix executable
> and just indicates that there was no such file or directory from line
> 70 and that it logged out.
>
> I'd be grateful for any guidance you can offer here.
>
> Susan
>
> _______________________________________________
(Continue reading)

Tobias C. Rittweiler | 17 Aug 14:07

Re: Aquamacs can't find openmcl

Susan Epstein <slepstein <at> mindspring.com> writes:

> I have the 64-bit version of openmcl installed in ~/ccl on a Mac with 
> an Intel Core 2 Duo and Aquamacs distribution 1.4.
>
> Per the instructions, I put
>   (setq inferior-lisp-program "~/ccl/scripts/ccl64")

It could be that the ~ isn't resolved. Either resolve it yourself, or
use `expand-file-name', i.e.

  (setf inferior-lisp-program (expand-file-name "~/ccl/..."))

  -T.
mikel evins | 17 Aug 14:14

Re: Aquamacs can't find openmcl


On Aug 17, 2008, at 6:44 AM, Susan Epstein wrote:

> I have the 64-bit version of openmcl installed in ~/ccl on a Mac with
> an Intel Core 2 Duo and Aquamacs distribution 1.4.
>
> Per the instructions, I put
>  (setq inferior-lisp-program "~/ccl/scripts/ccl64")
> in
> ~/Library/Preferences/Aquamacs Emacs/Preferences.el
>
> This should let me use SLIME from a file open in Aquamacs. But when I
> try
> M-x slime
> I get "no such file or directory, ~ccl/scripts/openmcl"

This suggests that Aquamacs in not in fact reading ~/Library/ 
Preferences/Aquamacs Emacs/Preferences.el, since the program it's  
trying to find (~ccl/scripts/openmcl) is different from the one you  
told it to look for (~/ccl/scripts/ccl64). Perhaps the instructions  
are out of date? I'm not sure, because I am not an Aquamacs user. Or  
perhaps you have a .emacs file in your home directory, and it's  
clobbering the value of inferior-lisp-program?

> When I look, of course the file is there, but it is a Unix executable
> and just indicates that there was no such file or directory from line
> 70 and that it logged out.

This part is slightly unclear, but it's probably worth observing that,  
in order to run Clozure CL (formerly openmcl), the script requires  
(Continue reading)

Lengyel, Florian | 17 Aug 18:05
Favicon

Re: Aquamacs can't find openmcl

THis is my .emacs for aquamacs and ccl

; SLIME setup
(add-to-list 'load-path "/Applications/Aquamacs Emacs.app/Contents/Resources/sit
e-lisp/edit-modes/slime")  ; your SLIME directory
(setq inferior-lisp-program "/Applications/ccl/scripts/openmcl64") ; your Lisp s
ystem
(require 'slime)
(slime-setup)
; connect SLIME to openMCL when opening lisp file
(add-hook 'slime-mode-hook
               (lambda ()
                 (unless (slime-connected-p)
                   (save-excursion (slime)))))
(load "tagging.el")


Florian Lengyel, Ph.D.
Assistant Director for Research Computing
Department of Information Technology
and Adjunct Professor, Ph.D. Program in Computer Science
The CUNY Graduate Center
365 Fifth Avenue, Room 4435  New York, NY 10016
Phone: (212) 817-7374               FAX: (212) 817-1614              
WWW: http://research.gc.cuny.edu
Email: flengyel <at> gc.cuny.edu



-----Original Message-----
From: openmcl-devel-bounces <at> clozure.com on behalf of Susan Epstein
Sent: Sun 8/17/2008 7:44 AM
To: openmcl-devel <at> clozure.com
Subject: [Openmcl-devel] Aquamacs can't find openmcl

I have the 64-bit version of openmcl installed in ~/ccl on a Mac with
an Intel Core 2 Duo and Aquamacs distribution 1.4.

Per the instructions, I put
  (setq inferior-lisp-program "~/ccl/scripts/ccl64")
in
~/Library/Preferences/Aquamacs Emacs/Preferences.el

This should let me use SLIME from a file open in Aquamacs. But when I
try
M-x slime
I get "no such file or directory, ~ccl/scripts/openmcl"

When I look, of course the file is there, but it is a Unix executable
and just indicates that there was no such file or directory from line
70 and that it logged out.

I'd be grateful for any guidance you can offer here.

Susan

_______________________________________________
Openmcl-devel mailing list
Openmcl-devel <at> clozure.com
http://clozure.com/mailman/listinfo/openmcl-devel

_______________________________________________
Openmcl-devel mailing list
Openmcl-devel <at> clozure.com
http://clozure.com/mailman/listinfo/openmcl-devel
Robert Goldman | 17 Aug 18:23

Re: Aquamacs can't find openmcl

Susan Epstein wrote:
> I have the 64-bit version of openmcl installed in ~/ccl on a Mac with 
> an Intel Core 2 Duo and Aquamacs distribution 1.4.
> 
> Per the instructions, I put
>   (setq inferior-lisp-program "~/ccl/scripts/ccl64")
> in
> ~/Library/Preferences/Aquamacs Emacs/Preferences.el
> 
> This should let me use SLIME from a file open in Aquamacs. But when I 
> try
> M-x slime
> I get "no such file or directory, ~ccl/scripts/openmcl"
> 
You have set this wrong.  Note that slime is NOT saying it can't find

~/ccl/scripts/ccl64

it's saying it can't find

~ccl/scripts/openmcl

Note that there is a slash missing in the latter.

The former will expand to something like

/Users/susan/ccl/scripts/ccl64

but that latter to something like

/Users/ccl/scripts/openmcl

Note also that the latter has the wrong script name (openmcl instead of
ccl64).

So probably something is overwriting your setting, or your email has a
cut-and-paste error somewhere.

R

> When I look, of course the file is there, but it is a Unix executable 
> and just indicates that there was no such file or directory from line 
> 70 and that it logged out.
> 
> I'd be grateful for any guidance you can offer here.
> 
> Susan
> 
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel <at> clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel

Gmane