Hi
I just downloaded the slime 1.2.1 as posted on sbcl.org today, and upon
compiling it in emacs i m getting following error:
This is SBCL 0.9.8, 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/local/slime-1.2.1/swank-loader.lisp"
;; loading
#P"/home/mimalik/.slime/fasl/sbcl-0.9.8-linux-x86/swank-backend.fasl"
;; loading
#P"/home/mimalik/.slime/fasl/sbcl-0.9.8-linux-x86/nregex.fasl"
;; loading
#P"/home/mimalik/.slime/fasl/sbcl-0.9.8-linux-x86/swank-sbcl.fasl"
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
debugger invoked on a END-OF-FILE in thread
#<THREAD "initial thread" {A672381}>:
end of file on #<SB-SYS:FD-STREAM for "file
/home/mimalik/.slime/fasl/sbcl-0.9.8-linux-x86/swank-sbcl.fasl"
{A96D481}>
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-IMPL::INPUT-UNSIGNED-8BIT-BYTE
#<SB-SYS:FD-STREAM for "file
/home/mimalik/.slime/fasl/sbcl-0.9.8-linux-x86/swank-sbcl.fasl"
{A96D481}>
T
NIL)
0]
I am using sbcl CL 0.9.8 on RHEL AS 4
This is my .emacs:
(setq inferior-lisp-program "/usr/local/bin/sbcl")
(add-to-list 'load-path "/usr/local/slime-1.2.1")
(require 'slime)
;;(slime-setup)
(add-hook 'lisp-mode-hook (lambda () (slime-mode t)))
(add-hook 'inferior-lisp-mode-hook (lambda () (inferior-slime-mode t)))
Any idea on how to correct this??
"OrangeCap" <················@gmail.com> writes:
> I just downloaded the slime 1.2.1 as posted on sbcl.org today
This is unlikely, as slime is not hosted on sbcl.org.
> This is SBCL 0.9.8, an implementation of ANSI Common Lisp.
> More information about SBCL is available at <http://www.sbcl.org/>.
>
> [...]
>
> Any idea on how to correct this??
slime 1.2.1 does not support recent SBCL releases. To run slime with
SBCL releases from the past six months or so, you will need to get
slime from CVS.
Christophe
Hi
Downloaded the slime from cvs as well, now getting following error:
(load "/usr/local/slime/swank-loader.lisp" :verbose t)
(swank:start-server "/tmp/slime.5452" :external-format
:iso-latin-1-unix)
This is SBCL 0.9.8, 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/local/slime/swank-loader.lisp"
;; loading
#P"/home/mimalik/.slime/fasl/sbcl-0.9.8-linux-x86/swank-backend.fasl"
;; loading
#P"/home/mimalik/.slime/fasl/sbcl-0.9.8-linux-x86/nregex.fasl"
;; loading
#P"/home/mimalik/.slime/fasl/sbcl-0.9.8-linux-x86/swank-sbcl.fasl"
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
debugger invoked on a END-OF-FILE in thread
#<THREAD "initial thread" {A672381}>:
end of file on #<SB-SYS:FD-STREAM for "file
/home/mimalik/.slime/fasl/sbcl-0.9.8-linux-x86/swank-sbcl.fasl"
{AA2F971}>
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-IMPL::INPUT-UNSIGNED-8BIT-BYTE
#<SB-SYS:FD-STREAM for "file
/home/mimalik/.slime/fasl/sbcl-0.9.8-linux-x86/swank-sbcl.fasl"
{AA2F971}>
T
NIL)
0]
Rest of my setup is same as above excpet .emacs is now
(setq inferior-lisp-program "/usr/local/bin/sbcl")
(add-to-list 'load-path "/usr/local/slime")
(require 'slime)
(slime-setup)
OrangeCap <················@gmail.com> wrote:
> #<THREAD "initial thread" {A672381}>:
> end of file on #<SB-SYS:FD-STREAM for "file
> /home/mimalik/.slime/fasl/sbcl-0.9.8-linux-x86/swank-sbcl.fasl"
> {AA2F971}>
Does removing the /home/mimalik/.slime/fasl/ directory help?
--
Juho Snellman
OrangeCap <················@gmail.com> wrote:
> Hi
> Sorry for late reply, was out of town.
> I tried removing the mentioned direcoty, but am still getting
> compilation issues in Slime. SBCL implemention is working fine, but
> Slime is not compiling it properly.
Why do you think Slime isn't getting compiled properly? I see nothing
suggesting that in the transcript. On the other hand, the final line
suggests an alltogether different problem:
> Process inferior-lisp hangup
You're very probably running into a signal handling incompability with
certain versions of SBCL, the Linux kernel and Emacs. The proper fix
is to upgrade your kernel (the problem has only been reported on
kernels prior to 2.6.11). If that's not possible, the bug can be
worked around by using "nohup sbcl" as your inferior lisp instead of
just "sbcl" (i.e. (setq inferior-lisp-program "nohup sbcl") in your
.emacs).
--
Juho Snellman
Hi
I cant thank you enough for this 1, kindly pardon my ignorance in this
matter, I am a new convert to Linux and LISP scene, (setq
inferior-lisp-program "nohup sbcl") worked perfect. I had a feeling
that the error could be due to some sort of improper option issue but
was not on dot. I was following the documentation on SBCL page on
setting up their LISP implementation. I am looking forward for next few
months of sleepless nights and joy of LISP coding.
And other posted that this community is helpful to newbies. Again thanx
a million on this tips.
Mohammad Imran Malik
>And other posted that this community is helpful to newbies. Again thanx
a million on this tips.
A typo in my sheer ebullience, having seeing emacs work as oppose to
writing code in vi then compiling in sbcl native mode.
meant to say:
"And other posted that this community is NOT helpful to newbies."