【问题标题】:Quicklisp: Manually add library to dist?Quicklisp:手动将库添加到 dist?
【发布时间】:2014-07-11 18:11:29
【问题描述】:

几天前我将 SBCL 更新到 1.2.1,我认为更新快速 lisp dist/client 也没有什么坏处。

错了!

在 Emacs 中启动 slime 后,我收到此错误:

; caught ERROR:
;   READ error during COMPILE-FILE:
;   
;     Symbol "CODE-TRACE-TABLE-OFFSET-SLOT" not found in the SB-VM package.
;   
;       Line: 1507, Column: 70, File-Position: 60197
;   
;       Stream: #<SB-SYS:FD-STREAM
;                 for "file /Users/fyi/quicklisp/dists/quicklisp/software/slime-2.7/swank-sbcl.lisp"
;                 {1008B07E43}>
; 
; compilation unit aborted
;   caught 1 fatal ERROR condition
;   caught 1 ERROR condition
;   printed 1 note
;; 
;; Error while compiling /Users/fyi/quicklisp/dists/quicklisp/software/slime-2.7/swank-sbcl.lisp:
;;   COMPILE-FILE returned NIL.
;; Aborting.

如果你使用quicklisp-slime-helper,就像我一样,slime 的路径来自~/quicklisp/dists/quicklisp/installed/systems/swank.txt 文件。 Slime 2.8 应该可以修复该错误,但没有包含 slime 2.8 的 quicklisp 发行版。

回到我的实际问题。有没有办法在 quicklisp 发行版之外指定库位置?或者我是否必须等待下一个发行版可用并且是否保证库将在下一个发行版中更新?

我确信我遗漏了一些东西,但在我看来,整个分发内容更像是一个障碍而不是帮助。

【问题讨论】:

    标签: common-lisp quicklisp


    【解决方案1】:

    下一个 Quicklisp dist 更新将于 7 月 12 日或 13 日推出。它将包括与 SBCL 1.2.1 兼容的新 SLIME。同时,最简单的解决方法是安装 SBCL 1.2.0。

    另一种选择是注释掉 ~/.emacs 中的 quicklisp-slime-helper 行,并根据自己的过程安装 slime。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-12-28
      • 1970-01-01
      • 2018-09-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多