我正在尝试使用emacs + geiser安装scheme,但遇到了geiser的问题:
Starting Geiser REPL for chicken ... process-lines: ~/lisp/chicken/bin/csi exited with status 70
我记得我忘了配置这里所需的内容(https://wiki.call-cc.org/emacs):
- 安装必要的支持 eggs。
$ chicken-install -s apropos chicken-doc
- 更新 Chicken 文档数据库。
$ cd `csi -p '(chicken-home)'`
$ curl http://3e8.org/pub/chicken-doc/chicken-doc-repo.tgz | sudo tar zx
但是,当执行:
cd `csi -p '(chicken-home)'`
什么都没有发生,因此请检查我使用以下命令获取的内容:
./csi -p '(chicken-home)'
然后我收到以下内容:
something@something:~/lisp/chicken/bin$ ./csi -p '(chicken-home)'
Error: unbound variable: chicken-home
Call history:
<syntax> (##core#begin (##core#require library scheme#) (##core#require library chicken.base#) (##core#requir...
<syntax> (##core#require library scheme#)
<syntax> (##sys#load-library (##core#quote library))
<syntax> (##core#quote library)
<syntax> (##core#require library chicken.base#)
<syntax> (##sys#load-library (##core#quote library))
<syntax> (##core#quote library)
<syntax> (##core#begin (##core#require expand chicken.syntax#))
<syntax> (##core#require expand chicken.syntax#)
<syntax> (##sys#load-library (##core#quote expand))
<syntax> (##core#quote expand)
<eval> (##sys#load-library (##core#quote library))
<eval> (##sys#load-library (##core#quote library))
<eval> (##sys#load-library (##core#quote expand))
<syntax> (chicken-home)
<eval> (chicken-home) <--
注意:
Chicken version: CHICKEN 5
OS: LINUX
向上
在版本5中,我发现需要:
(import (chicken platform))
呼叫:
(chicken-home)
然而我已经下载了它:
curl http://3e8.org/pub/chicken-doc/chicken-doc-repo.tgz | sudo tar zx
将文件夹导航到正确的目录(chicken-home):
/home/something/lisp/chicken//share/chicken/
但是我收到了:
"Starting Geiser REPL for chicken ... process-lines: ~/lisp/chicken/bin/csi exited with status 70"
(chicken-home)
不是默认可用的。 - wasamasa