我已经从. scmutils
_/usr/local
然后我把它放在我的.emacs
:
(defun mechanics ()
(interactive)
(run-scheme
"/usr/local/scmutils/mit-scheme/bin/scheme --library /usr/local/scmutils/mit-scheme/lib"
))
这主要是来自http://redsymbol.net/articles/using-gnu-emacs-with-scmutils/的指令。
但我收到一个错误:
/usr/local/scmutils/mit-scheme/bin/scheme: 1: /usr/local/scmutils/mit-scheme/bin/scheme:
Syntax error: "(" unexpected
Process scheme exited abnormally with code 2
我也试过 running /usr/local/bin/mechanics
,这是一个最终运行的 shell 脚本:
$ /usr/local/scmutils/mit-scheme/bin$ /usr/local/scmutils/mit-scheme/bin/scheme --library /usr/local/scmutils/mit-scheme/lib --heap 12000 --band edwin-mechanics.com --edit
$ bash: /usr/local/scmutils/mit-scheme/bin/scheme: cannot execute binary file
我认为有些不兼容。这是“文件 mit-scheme-x86-64”:
mit-scheme-x86-64: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, BuildID[sha1]=0x88f52caf274bb8298a0f6b84fc34beb9d2094bc6, not stripped
和
$ uname -r
3.11.0-26-generic
任何人都可以指导我现在如何调试它?我在 VMWare Fusion (Mac OS X) 中运行 Ubuntu。