Trying to set up slime under xemacs. Installed sbcl at:
/usr/local/bin/sbcl
This is what i have in my ~/.xemacs/init.el:
(setq inferior-lisp-program "sbcl")
(add-to-list 'load-path "/home/eric/elisp/slime-1.2.1")
(require 'slime)
(slime-setup)
This is what i get when i do M-x slime:
(load "/home/eric/elisp/slime-1.2.1/swank-loader.lisp" :verbose t)
(swank:start-server "/tmp/eric/slime.13477" :external-format :iso-latin-1-unix)
fatal error encountered in SBCL pid 13478:
can't find core file
Process inferior-lisp exited abnormally with code 1
I've tried changing my inferior-lisp-program to:
"sbcl -core /path/to/known/good/core/file"
but got exactly the same result. What am i doing wrong?
thanks in advance,
Eric
····@Ho.Le <····@Ho.Le> wrote:
> I've tried changing my inferior-lisp-program to:
>
> "sbcl -core /path/to/known/good/core/file"
>
> but got exactly the same result. What am i doing wrong?
Not enough dashes. The option is "--core", not "-core".
--
Juho Snellman
····@Ho.Le wrote:
> Trying to set up slime under xemacs. Installed sbcl at:
>
> /usr/local/bin/sbcl
>
> This is what i have in my ~/.xemacs/init.el:
>
> (setq inferior-lisp-program "sbcl")
> (add-to-list 'load-path "/home/eric/elisp/slime-1.2.1")
> (require 'slime)
> (slime-setup)
>
> This is what i get when i do M-x slime:
>
> (load "/home/eric/elisp/slime-1.2.1/swank-loader.lisp" :verbose t)
> (swank:start-server "/tmp/eric/slime.13477" :external-format :iso-latin-1-unix)
> fatal error encountered in SBCL pid 13478:
> can't find core file
>
> Process inferior-lisp exited abnormally with code 1
>
> I've tried changing my inferior-lisp-program to:
>
> "sbcl -core /path/to/known/good/core/file"
>
> but got exactly the same result. What am i doing wrong?
>
> thanks in advance,
> Eric
Also you could put (setenv "SBCL_HOME" "/usr/home/fookhl/lib/sbcl"), or whatever
your path is in your init.el just to be sure Xemacs is operating in an
environment with that variable set.