如何在chez方案中加载slib库?
或者其他的chez方案的web服务器库?
在斯利姆的手册里,它说
3.配置方案实现以定位SLIB目录和实现目录。
4.安排每个方案实现加载其SLIB初始化文件。
5.为每个方案实现构建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
前卫的thx
最佳答案
你有这个错误
Exception in call-with-output-file: failed for /usr/local/lib/chez/slibcat: no such file or directory"
因为你没有先启动slib目录
您可以先在repl中运行此命令:
(require 'new-catalog)
关于scheme - 如何在chez方案中加载slib库,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/46849280/