Linux   发布时间:2022-04-01  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了linux – 如何在Ubuntu Hardy下的clisp中使用(require:PACKAGE)?大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

我正在尝试评估答案 provided here,并在使用clisp时收到错误:“名称为ASDF-INSTALL的文件不存在”: dsm@localhost:~$clisp -q [1]> (require :asdf-install) *** - LOAD: A file with name ASDF-INSTALL does not exist The following restarts a
我正在尝试评估答案 provided here,并在使用clisp时收到错误:“名称为ASDF-INSTALL的文件不存在”:

dsm@localhost:~$clisp -q
[1]> (require :asdf-install)

*** - LOAD: A file with name ASDF-INSTALL does not exist
The following restarts are available:
ABORT          :r1      ABORT
Break 1 [2]> :r1
[3]> (quit)

dsm@localhost:~$

cmucl抛出类似的错误

dsm@localhost:~$cmucl -q
Warning:  #<Command Line Switch "q"> is an illegal switch
CMU Common Lisp CVS release-19a 19a-release-20040728 + minimal debian patches,running on crap-pile
With core: /usr/lib/cmucl/lisp.core
Dumped on: Sat,2008-09-20 20:11:54+02:00 on localhost
For support see http://www.cons.org/cmucl/support.html Send bug reports to the debian BTs.
or to pvaneynd@debian.org
type (Help) for Help,(quit) to exit,and (demo) to see the demos

Loaded subsystems:
    Python 1.1,target Intel x86
    CLOS based on Gerd's PCL 2004/04/14 03:32:47
* (require :asdf-install)


Error in function requIRE:  Don't kNow how to load ASDF-INSTALL
   [Condition of type SIMPLE-ERROR]

Restarts:
  0: [ABORT] Return to Top-Level.

Debug  (type H for Help)

(requIRE :ASDF-INSTALL NIL)
source: 
; File: target:code/module.lisp
(ERROR "Don't kNow how to load ~A" MODULE-Name)
0] (quit)
dsm@localhost:~$

但sbcl完美运行:

dsm@localhost:~$sbcl -q
This is SBCL 1.0.11.debian,an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software,provided as is,with absolutely no warranty.
@R_489_8913@ mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
diStribution for more information.
* (require :asdf-install)

; loading system deFinition from
; /usr/lib/sbcl/sb-bsd-sockets/sb-bsd-sockets.asd into #<PACKAGE "ASDF0">
; registering #<SYstem SB-BSD-SOCKETS {AB01A89}> as SB-BSD-SOCKETS
; registering #<SYstem SB-BSD-SOCKETS-TESTS {AC67181}> as SB-BSD-SOCKETS-TESTS
("SB-BSD-SOCKETS" "ASDF-INSTALL")
* (quit)

有想法该怎么解决这个吗?我在互联网上找到了this post,但使用它也无效.

解决方法

在clisp中使用clc:clc-require.请参阅’man common-lisp-controller’.我在clisp中遇到了同样的错误,并使用clc:clc-require解决了它. sbcl工作正常,只需要.

大佬总结

以上是大佬教程为你收集整理的linux – 如何在Ubuntu Hardy下的clisp中使用(require:PACKAGE)?全部内容,希望文章能够帮你解决linux – 如何在Ubuntu Hardy下的clisp中使用(require:PACKAGE)?所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。