/ Applications / Clozure CL.app/Contents/Resources/ccl/dx86cl64.image:无法执行二进制文件

时间:2017-04-29 22:42:49

标签: emacs common-lisp slime

设定:

MacOS 10.12.4

Clozure CL版本1.11.1(16714)

Emacs Version 25.1(9.0)

问题:

Clozure CL应用程序启动,REPL运行。

Emacs劣等列表函数终止于:

(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)
  • 我试图修改所有者和组,如果可能导致它不能运行。但没有成功。

1 个答案:

答案 0 :(得分:1)

来自clozure CL的home-site。他们建议将inferior-lisp-program设置为lx86cl64二进制文件,它应该是

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

但是现在我使用roswell来安装和使用Lisp我使用roswell(就像rpm for lisp一样),它有一个complet easy setup,然后你可以将它与大多数的lisp一起使用分布