作者:浅笑你的妩媚 | 来源:互联网 | 2022-10-14 17:04
我在“实践通用Lisp”(优秀书籍)的第26章上。我正在尝试从https://github.com/Apress/practical-common-lisp下载:
CL-USER> (defpackage :com.gigamonkeys.web
(:use :cl :net.aserve :com.gigamonkeys.html))
这给出了这个错误:
(There is no package named "NET.ASERVE" .
[Condition of type CCL::NO-SUCH-PACKAGE])
克隆https://github.com/franzinc/aserve.git后,
我运行了:
CL-USER> (asdf:oos 'asdf:load-op :aserve)
但出现错误:
There is no package named "EXCL" .
[Condition of type CCL::NO-SUCH-PACKAGE]
我找不到EXCL软件包,所以我安装了Portableaserve并运行:
CL-USER> (load "~/GitHub/portableaserve/INSTALL.lisp")
但又得到了:
there is no package named "EXCL" .
[Condition of type CCL::NO-SUCH-PACKAGE]
有人会知道如何在Mac上的lispbox-0.7内安装allegroserve(包括EXCL)来运行上述defpackage命令吗?
1> Svante..:
“盒装Lisp”虽然在“实践常见Lisp”中具有突出的特征,但已经有很多年了(该书出自2005年),已经不再维护。
我建议将Portacle用作完整的预配置环境。
这是Quicklisp随附的,因此您可以立即(ql:quickload "aserve")
进行操作。