在CLISP中更新到ASDF 3.x [英] Updating to ASDF 3.x in CLISP
问题描述
我正在尝试将CLISP 2.49(在Mac OS Sierra上)中的ASDF更新到版本3.x.
我现在有ASDF 2.26版本.
我已经尝试了所有在网上找到的内容:如 https://common-所示,我下载了ASDF的最新版本. lisp.net/project/asdf/,但是当我评估(require "asdf")
时,如手册中所述( https://common-lisp.net/project/asdf/asdf.html#Upgradeing-ASDF )什么都没有发生,我仍然有2.26版.
该手册还告诉您加载文件asdf.lisp
,但是新版本文件夹中缺少该文件.
我发现quicklisp拥有自己的asdf.lisp
和asdf.fas
版本,似乎正在加载它们,但是我看不到如何用任何新版本替换它们.
我现在已经尝试了很多事情,以至于我担心会把系统搞砸了.
I am trying to update ASDF in CLISP 2.49 (on Mac OS Sierra) to version 3.x.
I have now version 2.26 of ASDF.
I have tried everything I found online: I downloaded the latest version of ASDF as indicated in https://common-lisp.net/project/asdf/ but then when I eval (require "asdf")
, as indicated in the manual (https://common-lisp.net/project/asdf/asdf.html#Upgrading-ASDF) nothing happens, I still have version 2.26.
The manual also tells to load the file asdf.lisp
, but the file is missing from the new version folder.
I discovered that quicklisp had its own version of asdf.lisp
and asdf.fas
, which seem to be the ones being loaded, but I don't see how to replace them with any new version.
I have tried so many things now that I'm afraid I'm screwing the system up.
有人知道如何可靠地逐步将ASDF升级到> = 3.0的版本吗? 非常感谢.
Does anyone know how to upgrade ASDF to a version >= 3.0 reliably and step by step? Thanks a lot.
推荐答案
1-要从源代码生成asdf.lisp,请在asdf git checkout中键入make
.
1- To generate asdf.lisp from source, type make
in the asdf git checkout.
2- (load (compile-file ...))
每次都会重新编译.您可能只想编译一次,然后覆盖通常使用的fasl.
2- (load (compile-file ...))
will recompile it every time. You probably want to only compile it once, then overwrite whichever fasl is usually used with it.
3-如果像我想的那样从quicklisp中获取asdf,只需将其过时的〜/quicklisp/asdf.lisp 2.26替换为asdf.lisp 3.2.1,然后将〜/quicklisp/cache中的缓存删除/
3- If you get asdf from quicklisp, as I suppose you do, just replace its obsolete ~/quicklisp/asdf.lisp 2.26 by your asdf.lisp 3.2.1, then blow away the cache in ~/quicklisp/cache/
4-请向Xach抱怨将其asdf升级到3.1.7或3.2.1. Quicklisp通过分发2.26大大损害了他们的利益.
4- Please complain to Xach about upgrading its asdf to 3.1.7 or 3.2.1. Quicklisp is doing lispers a disservice by distributing 2.26.
这篇关于在CLISP中更新到ASDF 3.x的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!