sasi
sasi

Reputation: 322

/Applications/Clozure CL.app/Contents/Resources/ccl/dx86cl64.image: cannot execute binary file

Setup:

MacOS 10.12.4

Clozure CL Version 1.11.1 (16714)

Emacs Version 25.1 (9.0)

Problem:

Clozure CL app starts, REPL runs.

Emacs inferior-list function terminates with:

(progn (load "/Users/Szabolcs/.emacs.d/elpa/slime-20170319.1601/swank-loader.lisp" :verbose t) (funcall (read-from-string "swank-loader:init")) (funcall (read-from-string "swank:start-server") "/var/folders/v7/st79grks643g7c3q_dhhb88r0000gn/T/slime.49146"))

/usr/local/bin/ccl64: line 81: /Applications/Clozure CL.app/Contents/Resources/ccl/dx86cl64.image: cannot execute binary file
/usr/local/bin/ccl64: line 81: /Applications/Clozure CL.app/Contents/Resources/ccl/dx86cl64.image: Undefined error: 0

Process inferior-lisp exited abnormally with code 1

init.el

(require 'slime)
(setq inferior-lisp-program "/usr/local/bin/ccl64 -K utf-8")
(require 'slime)
(setq slime-net-coding-system 'utf-8-unix)
(slime-setup '(slime-fancy))
;; (prefer-coding-system 'utf-8)
;; (set-terminal-coding-system 'utf-8)
(slime)

(add-hook 'slime-mode-hook #'paredit-mode)

Upvotes: 0

Views: 145

Answers (1)

anquegi
anquegi

Reputation: 11522

From the home-site of clozure CL. They recomment to set the inferior-lisp-program to lx86cl64 binary it should be

(setq inferior-lisp-program "/path/to/ccl/lx86cl64")

But Nowadays I use roswell for installing and using Lisp I use roswell (is like rvm for lisp), it has a complet an easy setup, and then you can use it with the majority of lisp distributions

Upvotes: 1

Related Questions