我正在尝试使用Imagination Creator CI20 Mips板上的Emacs和SLIME和Swank来学习Common Lisp。我使用SBCL和Clisp作为我的编译器/解释器(主要是SBCL,它通常被设置为次lisp模式);但是,我使用设置为次lisp模式的SBCL和Clisp进行了测试,并且两者都失败了。我尝试运行SLIME,但在尝试加载或编译Swank文件时总是失败。其中一次尝试的错误消息表明它在体系结构方面遇到了困难(Mips - little endian)。我正在运行主板附带的Debian 7 Wheezy (Mipsel)的默认安装。
我通过apt-get从Debian存储库安装了SLIME,另一次尝试了Melpa安装的SLIME,最后一次尝试了Github git存储库(最新的) SLIME。它们都失败了,尽管错误消息有时会略有不同。Emacs 23和Emacs 24都失败了。
我使用SBCL作为编译器,附加了我尝试使用SLIME的Github存储库的错误消息/格式回复信息。SBCL是从SBCL存储库安装的,因为Mipsel Wheezy似乎没有它在Debian存储库中。它看起来确实有点旧,但它是SBCL website上Mips架构的最新二进制文件。SBCL在命令行中作为REPL运行得很好。
(progn (load "/usr/share/common-lisp/source/slime/swank-loader.lisp" :verbose t) (funcall (read-from-string "swank-loader:init")) (funcall (read-from-string "swank:start-server") "/tmp/slime.4482"))
This is SBCL 1.0.28, 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.
It is 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.
*
; loading #P"/usr/share/common-lisp/source/slime/swank-loader.lisp"
WARNING:
No architecture feature found in (POWERPC PPC X86 X86-64 X86_64 AMD64 I686
I586 I486 PC386 IAPX386 SPARC64 SPARC
HPPA64 HPPA ARM PENTIUM3 PENTIUM4 JAVA-1.4
JAVA-1.5 JAVA-1.6 JAVA-1.7).
debugger invoked on a SB-C::INPUT-ERROR-IN-COMPILE-FILE:
READ failure in COMPILE-FILE:
SB-INT:SIMPLE-READER-PACKAGE-ERROR at 5799 (line 150, column 52) on #<SB-SYS:FD-STREAM for "file /usr/share/common-lisp/source/slime/swank-loader.lisp" {50007F71}>:
Symbol "APPLY-OUTPUT-TRANSLATIONS" not found in the ASDF package.
Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [ABORT] Exit debugger, returning to top level.
(SB-C::READ-FOR-COMPILE-FILE
#<SB-SYS:FD-STREAM for "file /usr/share/common-lisp/source/slime/swank-loader.lisp" {50007F71}>
5418)
0] 发布于 2015-02-06 23:12:41
那个版本的SBCL太旧了,不能与当前的粘液一起工作。尝试使用来自http://www.sbcl.org的源代码构建并安装一个新版本的SBCL,看看这是否会改善这种情况。
https://stackoverflow.com/questions/28368265
复制相似问题