负载提升包出现问题
当我尝试通过 emacs-slime 加载 Lift 包时。
(load "/home/user/lib/lift")
我发现下一个错误 出了
; compiling (LOAD "/home/user/lib/lift");; swank:close-connection: encoding error on stream
#<SB-SYS:FD-STREAM
for "socket 127.0.0.1:36328, peer: 127.0.0.1:59724"
{1003D9F5E1}>
(:EXTERNAL-FORMAT :LATIN-1):
the character with code 1069 cannot be encoded.
什么问题以及如何加载这个包?
When I try load Lift package through emacs-slime.
(load "/home/user/lib/lift")
I catch the next error
; compiling (LOAD "/home/user/lib/lift");; swank:close-connection: encoding error on stream
#<SB-SYS:FD-STREAM
for "socket 127.0.0.1:36328, peer: 127.0.0.1:59724"
{1003D9F5E1}>
(:EXTERNAL-FORMAT :LATIN-1):
the character with code 1069 cannot be encoded.
What wrong and how I can load this package?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据 CL 规范,使用
LOAD
用于加载 Common Lisp 源代码或编译文件。我猜测/home/user/lib/lift
是您系统上的一个目录,这就是LOAD
不起作用的原因。如果您使用 Quicklisp 安装 LIFT,然后加载库,您可能会最幸运正如LIFT 用户指南中所述:
From the CL spec,
LOAD
is used for loading Common Lisp source or compiled files. I'm guessing that/home/user/lib/lift
is a directory on your system, and that's whyLOAD
isn't working.You'll probably have the most luck if you install LIFT using Quicklisp, then load the library like it says in the LIFT User's Guide: