【发布时间】:2023-03-10 09:35:02
【问题描述】:
如何在chez scheme中加载slib库?
或任何其他用于 chez 方案的 Web 服务器库?
slim 的说明书上写着:
- 配置方案实现以定位 SLIB 目录和实现目录。
- 安排每个 Scheme 实现加载其 SLIB 初始化文件。
- 为每个方案实施构建 SLIB 目录。
我不知道具体怎么做第 3 步和第 4 步。
如果我在文档 slib 中运行“chez”,这就是我得到的结果:
> (load "require.scm")
Exception: variable slib:features is not bound
Type (debug) to enter the debugger.
> (load "chez.init")
> (require 'http)
Exception in call-with-output-file: failed for /usr/local/lib/chez/slibcat: no such file or directory
> (require 'http-cgi)
Exception in call-with-output-file: failed for /usr/local/lib/chez/slibcat: no such file or directory
Type (debug) to enter the debugger.
> (load "http-cgi.scm")
Exception in call-with-output-file: failed for /usr/local/lib/chez/slibcat: no such file or directory
【问题讨论】:
标签: scheme lisp chez-scheme