Re: Problems with slime and cmucl



On Apr 27, 2:39 pm, Drew Crampsie <drew.cramp...@xxxxxxxxx> wrote:
erikcw wrote:
On Apr 27, 6:29 am, Holger Schauer <Holger.Scha...@xxxxxx> wrote:
On 4984 September 1993, erikcw wrote:

I'm trying to get slime up and running under Xemacs and cmucl.
[snip]
Here is the output from apt:
$ apt-cache policy slime
slime:
Installed: 1:20061201-2
Candidate: 1:20061201-2
Version table:
*** 1:20061201-2 0
500http://us.archive.ubuntu.comfeisty/multiverse Packages
100 /var/lib/dpkg/status

[snip]

Here is my ~/.xemacs/init.el

(add-to-list 'load-path "~/bin/slime")
(require 'slime)

[snip]

~/bin/slime is the latest slime from CVS.

The problem here is that the slime you've installed in ~bin/slime and
the slime installed by apt (and therefore picked up by *grumble*
common-lisp-controller) are different versions, so your slime.el and
swank.lisp can't talk to each other.

The best idea is to _never_ use debian's (or ubuntu's) packages for your
lisp world. If you insist on using apt-get, remove all traces of the
apt- installed slime and try the CVS slime (or vice versa, as you'd
think the packaged slime would work with the packaged CMUCL).

What you really want to do, IMO, is download the latest SBCL tarball,
the latest slime, and install them both independently of apt-get. If you
have a real reason for using CMU, than install it from tarball as well :).

I _love_ apt-get, and i use it for a lot, but i prefer to manage my lisp
packages "by hand".

drewc

--
Posted via a free Usenet account fromhttp://www.teranews.com

Hi Drew,

I've SLIME and CMUCL from my machine using apt. I then reinstalled
them by hand from the tarballs.

I'm getting this error now:
(load "/usr/share/common-lisp/source/slime/swank-loader.lisp" :verbose
t)
(swank:start-server "/tmp/erik/slime.6372" :external-format :iso-
latin-1-unix)

This is SBCL 1.0.3, 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.
*
debugger invoked on a SB-INT:SIMPLE-FILE-ERROR in thread #<THREAD
"initial thread" {A74D681}>:
"/usr/share/common-lisp/source/slime/swank-loader.lisp" does not
exist.

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-FASL::INTERNAL-LOAD
#P"/usr/share/common-lisp/source/slime/swank-loader.lisp"
NIL
:ERROR
T
NIL
NIL
:DEFAULT)
0]

Should I also install xemacs from a tarball? Apt installed version
21.4.19. Or is there a configuration file somewhere (*grumble*) that
is causing problems?

Thanks so much for your help!

Erik

.



Relevant Pages

  • Re: slime install OR lisp-in-a-box
    ... .emacs file). ... when I type 'slime' in mini-buffer mode ... CLISP 2.33 module and install them. ... Download Slime 2.0 and install it to c:\clisp\slime ...
    (comp.lang.lisp)
  • Re: Why does SBCL ...? was Re: "The Little Lisper"
    ... By nature it doesn't work at all ... supported Lisps and of what you can expect from SLIME as of today. ... If you want to "install and forget" then ...
    (comp.lang.lisp)
  • Re: CL-UNIFICATION as a library (Re: Qi Seems Great)
    ... Closure HTML: parse HTML 4; ... To install the best regular expression parser, ... If the error refers to a part of the standard just click on the reference and that section opens in your browser. ... I thought I should mention it because, after all SLIME has 20 developers and over 100 contributors and thus is by far the best supported and most powerful opensource IDE. ...
    (comp.lang.lisp)
  • Re: SLIME problem
    ... Did you install them manually or via "Lisp in a Box" and under what OS? ... Finally I tried the latest slime from CVS and that worked, though I can't get it to start with sbcl. ...
    (comp.lang.lisp)
  • Re: SLIME problem
    ... Did you install them manually or via "Lisp in a Box" and under what OS? ... I installed slime manually first, ... though I can't get it to start with sbcl. ...
    (comp.lang.lisp)