I have some compilation errors when trying to run slime (latest from CVS). I tried 2 host configurations and got 2 different errors (both seem to be related to missing linux_no_threads_p function): 1) Debian SARGE, GNU Emacs 21.4.1, SBCL 0.8.16 2) Fedora Core release 3 (Heidelberg), GNU Emacs 21.3.2, SBCL 0.8.18
-- my .emacs -------------------------------------------------------- ;; SLIME SUPPORT (add-to-list 'load-path "/home/vitaly/slime") (setq inferior-lisp-program "/usr/bin/sbcl") (require 'slime) (add-hook 'lisp-mode-hook (lambda () (slime-mode t))) (add-hook 'inferior-lisp-mode-hook (lambda () (inferior-slime-mode t))) (setq lisp-indent-function 'common-lisp-indent-function slime-complete-symbol-function 'slime-fuzzy-complete-symbol) (slime-setup) ----------------------------------------------------------------------------
== 1 Debian BOX ================================================== ; compiling file "/home/vitaly/slime/swank-sbcl.lisp" (written 12 DEC 2005 09:47:54 AM): ; file: /home/vitaly/slime/swank-sbcl.lisp ; in: DEFUN MAKE-SOCKET-IO-STREAM ; (LET ((SWANK-BACKEND::EF ; (SWANK-BACKEND::FIND-EXTERNAL-FORMAT SWANK-BACKEND::EXTERNAL-FORMAT))) ; (SB-BSD-SOCKETS:SOCKET-MAKE-STREAM SWANK-BACKEND::SOCKET ; :OUTPUT ; T ; :INPUT ; T ; :ELEMENT-TYPE ; 'CHARACTER ; :BUFFERING ; SWANK-BACKEND::BUFFERING)) ; ; caught STYLE-WARNING: ; The variable EF is defined but never used. compilation aborted because of fatal error: READ failure in COMPILE-FILE: READER-ERROR at 23385 (line 604, column 50) on #<FILE-STREAM for "file "/home/vitaly/slime/swank-sbcl.lisp"" {9983BC9}\
:
Symbol "DEFINITION-SOURCE-FILE-WRITE-DATE" not found in the SB-INTROSPECT package.
; /home/vitaly/.slime/fasl/sbcl-0.8.16-linux-x86/swank-sbcl.fasl written ; compilation finished in 0:00:02 ;; loading #P"/home/vitaly/.slime/fasl/sbcl-0.8.16-linux-x86/swank-sbcl.fasl"
debugger invoked on a SIMPLE-ERROR in thread 24402: Unknown foreign symbol: "linux_no_threads_p" You can type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
== 2 Fedora Box ===================================================== .... ; compiling file "/home/vitaly/slime/swank-sbcl.lisp" (written 12 DEC 2005 03:36:56 PM): compilation aborted because of fatal error: READ failure in COMPILE-FILE: READER-ERROR at 23385 (line 604, column 50) on #<FILE-STREAM for "file "/home/vitaly/slime/swank-sbcl.lisp"" {99EA421}\
:
Symbol "DEFINITION-SOURCE-FILE-WRITE-DATE" not found in the SB-INTROSPECT package.
; /home/vitaly/.slime/fasl/sbcl-0.8.18-linux-x86/swank-sbcl.fasl written ; compilation finished in 0:00:04 ;; loading #P"/home/vitaly/.slime/fasl/sbcl-0.8.18-linux-x86/swank-sbcl.fasl" STYLE-WARNING: Undefined alien: "linux_no_threads_p" STYLE-WARNING: redefining PREFERRED-COMMUNICATION-STYLE NIL in DEFMETHOD STYLE-WARNING: redefining CALL-WITHOUT-INTERRUPTS (T) in DEFMETHOD STYLE-WARNING: redefining LISP-IMPLEMENTATION-TYPE-NAME NIL in DEFMETHOD STYLE-WARNING: redefining CALL-WITH-SYNTAX-HOOKS (T) in DEFMETHOD STYLE-WARNING: redefining DEFAULT-READTABLE-ALIST NIL in DEFMETHOD STYLE-WARNING: redefining ARGLIST (T) in DEFMETHOD STYLE-WARNING: redefining NEW-DEFINITION-SOURCE-P in DEFUN ; compiling file "/home/vitaly/slime/swank-source-path-parser.lisp" (written 12 DEC 2005 03:36:56 PM): ..... ..... debugger invoked on a SB-ALIEN:UNDEFINED-ALIEN-ERROR in thread 4343: Attempt to access an undefined alien value.
You can type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL. ======================================================================
Thanks, /pac
xpacman+slime-devel@gmail.com writes:
- Debian SARGE, GNU Emacs 21.4.1, SBCL 0.8.16
- Fedora Core release 3 (Heidelberg), GNU Emacs 21.3.2, SBCL 0.8.18
Please either use a non-ancient release of SBCL, or else use a version of slime which was current at the time that your SBCL was released.
Cheers,
Christophe
On 12/13/05, Christophe Rhodes csr21@cam.ac.uk wrote:
- Debian SARGE, GNU Emacs 21.4.1, SBCL 0.8.16
- Fedora Core release 3 (Heidelberg), GNU Emacs 21.3.2, SBCL 0.8.18
Please either use a non-ancient release of SBCL, or else use a version of slime which was current at the time that your SBCL was released.
1) SBCL 0.8.16 is the latest version in the Debian Sarge which is the current stable release. And no, I can not install 'unstable' on the server. And it's only a couple of months old anyway. I know that Debian is quite conservative and lag quite a bit from the upstream, but I think that backward incompatability for a very popular distro is a "Bad Thing (tm)". 2) How do I know which version of SLIME to install?
Thanks.
xpacman+slime-devel@gmail.com writes:
On 12/13/05, Christophe Rhodes csr21@cam.ac.uk wrote:
- Debian SARGE, GNU Emacs 21.4.1, SBCL 0.8.16
- Fedora Core release 3 (Heidelberg), GNU Emacs 21.3.2, SBCL 0.8.18
Please either use a non-ancient release of SBCL, or else use a version of slime which was current at the time that your SBCL was released.
- SBCL 0.8.16 is the latest version in the Debian Sarge which is the
current stable release. And no, I can not install 'unstable' on the server.
You do not need to install 'unstable' on your server: just as you have installed slime from source (because slime was not packaged for Debian Sarge) you can install a modern sbcl from source.
And it's only a couple of months old anyway.
SBCL 0.8.16 was released almost 14 months ago; there have been 13 upstream releases since then, including one major version increment.
- How do I know which version of SLIME to install?
You can download the CVS version which was current at the time of release using commands like cvs -d:pserver:anonymous@common-lisp.net:/project/slime/cvsroot login cvs -d:pserver:anonymous@common-lisp.net:/project/slime/cvsroot \ co -D'2004-10-25' slime
Cheers,
Christophe
Il 2005-12-13, Christophe Rhodes csr21@cam.ac.uk ha scritto:
- SBCL 0.8.16 is the latest version in the Debian Sarge which is the
current stable release. And no, I can not install 'unstable' on the server.
You do not need to install 'unstable' on your server:
Just run as root:
echo "deb http://people.debian.org/~pvaneynd/cl-sarge-packages ./" \
/etc/apt/sources.list
or
echo "deb http://people.debian.org/~pvaneynd/cl-sarge24-packages ./" \
/etc/apt/sources.list
If you still run a 2.4 kernel. This should give you sbcl 0.9.7.1 and slime 20051207. The 2.4 version does not have threads mind you.
Groetjes, Peter