hello, i have a problem with slime and lambda gtk i make a new sbcl.core image and when i start sbcl from shell with this image, i haven't got any problems :
* sbcl --core ./sbcl-af.core This is SBCL 0.8.19.39, 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. *
now i would like to use this new image with slime :
C-u M-x slime Run lisp: sbcl --core /home/nicolas/src/lambdagtk/sbcl-af.core
BSD-style licenses. See the CREDITS and COPYING files in the distribution for more information. * ; loading #P"/home/nicolas/src/slime/swank-loader.lisp" ;; loading #P"/home/nicolas/.slime/fasl/sbcl-0.8.19.39-linux-x86/swank-backend.fasl" ;; loading #P"/home/nicolas/.slime/fasl/sbcl-0.8.19.39-linux-x86/nregex.fasl" ;; loading #P"/home/nicolas/.slime/fasl/sbcl-0.8.19.39-linux-x86/swank-sbcl.fasl"
debugger invoked on a SB-INT:EXTENSION-FAILURE in thread 9177: Don't know how to REQUIRE SB-BSD-SOCKETS. See also: The SBCL Manual, Variable SB-EXT:*MODULE-PROVIDER-FUNCTIONS* The SBCL Manual, Function REQUIRE
You can type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name): 0: [ABORT ] Reduce debugger level (leaving debugger, returning to toplevel). 1: [TOPLEVEL] Restart at toplevel READ/EVAL/PRINT loop. (SB-IMPL::REQUIRE-ERROR 3 "Don't know how to ~S ~A.")[:EXTERNAL] 0]
any idea ?
Nicolas Lamirault lam@tuxfamily.org writes:
hello, i have a problem with slime and lambda gtk i make a new sbcl.core image and when i start sbcl from shell with this image, i haven't got any problems :
- sbcl --core ./sbcl-af.core
Does (require 'sb-bsd-sockets) work here?
I tried lambda-gtk from SLIME with SBCL 0.8.21.6 and it seems to work, so I think this is a SBCL problem and not a SLIME problem.
[I had to fix the callbacks (replace system-area-copy with memmove) and had to set *print-length* to nil before compiling lambda-gtk, but those problems are unrelated to SLIME.]
Helmut.
Helmut Eller helmut@common-lisp.net writes:
Nicolas Lamirault lam@tuxfamily.org writes:
hello, i have a problem with slime and lambda gtk i make a new sbcl.core image and when i start sbcl from shell with this image, i haven't got any problems :
- sbcl --core ./sbcl-af.core
Does (require 'sb-bsd-sockets) work here?
I tried lambda-gtk from SLIME with SBCL 0.8.21.6 and it seems to work, so I think this is a SBCL problem and not a SLIME problem.
when i try sbcl from shell with sbcl-af.core, it works perfectly but from slime, i have an error
from shell:
$> sbcl This is SBCL 0.8.19.39, 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. * (require 'sb-bsd-sockets)
("SB-GROVEL" "SB-BSD-SOCKETS")
from slime : (M-x slime, run lisp : sbcl)
; SLIME 2005-03-23 CL-USER> (require 'sb-bsd-sockets) NIL CL-USER>
[I had to fix the callbacks (replace system-area-copy with memmove) and had to set *print-length* to nil before compiling lambda-gtk, but those problems are unrelated to SLIME.]
Helmut.
Nicolas Lamirault lam@tuxfamily.org writes:
Helmut Eller helmut@common-lisp.net writes:
Does (require 'sb-bsd-sockets) work here?
I tried lambda-gtk from SLIME with SBCL 0.8.21.6 and it seems to work, so I think this is a SBCL problem and not a SLIME problem.
when i try sbcl from shell with sbcl-af.core, it works perfectly but from slime, i have an error
from shell:
$> sbcl This is SBCL 0.8.19.39, 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.
- (require 'sb-bsd-sockets)
("SB-GROVEL" "SB-BSD-SOCKETS")
from slime : (M-x slime, run lisp : sbcl)
; SLIME 2005-03-23 CL-USER> (require 'sb-bsd-sockets) NIL CL-USER>
what is the contents of *modules*?
As I understand it, swank requires sb-bsd-sockets anyway, so a further require isn't going to do anything in any case. What is the actual problem?
Cheers,
Christophe