From: ···········@gmail.com
Subject: Trouble installing sbcl/swank on debian
Date: 
Message-ID: <1184954843.073497.281230@n2g2000hse.googlegroups.com>
Hey all,

I've got an ubuntu box on which I'd like to install sbcl and swank, so
that I can connect and work through slime on my laptop.

So the first thing I did was apt-get install sbcl, which installed
version 0.9.14.

I then launched sbcl, and did the following:

(require 'asdf) ;; Seemed to work fine
(require 'asdf-install) ;; Again, seemed to work fine

(asdf-install:install :slime) ;; which then spit out the following
(any ideas on what's wrong?):

Install where?
1) System-wide install:
   System in /usr/lib/sbcl/site-systems/
   Files in /usr/lib/sbcl/site/
2) Personal installation:
   System in /home/aemon/.sbcl/systems/
   Files in /home/aemon/.sbcl/site/
 --> 1
Downloading 472918 bytes from http://common-lisp.net/project/slime/slime-2.0.tgz
...

debugger invoked on a ASDF-INSTALL::DOWNLOAD-ERROR in thread #<THREAD
"initial thread" {A815441}>:
  Server responded 404 for GET http://common-lisp.net/project/slime/slime-2.0.tgz.asc

Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [SKIP-GPG-CHECK] Don't check GPG signature for this package
  1: [ABORT         ] Exit debugger, returning to top level.

(ASDF-INSTALL::VERIFY-GPG-SIGNATURE/URL
 "http://common-lisp.net/project/slime/slime-2.0.tgz"
 #P"/home/aemon/SLIME.asdf-install-tmp")
0] 0
Installing /home/aemon/SLIME.asdf-install-tmp in /usr/lib/sbcl/site/,/
usr/lib/sbcl/site-systems/
slime-2.0/
slime-2.0/doc/
slime-2.0/doc/Makefile
slime-2.0/doc/texinfo-tabulate.awk
slime-2.0/doc/slime.texi
slime-2.0/NEWS
slime-2.0/swank-cmucl.lisp
slime-2.0/metering.lisp
slime-2.0/tree-widget.el
slime-2.0/present.lisp
slime-2.0/mkdist.sh
slime-2.0/test-all.sh
slime-2.0/swank-source-file-cache.lisp
slime-2.0/README
slime-2.0/swank-source-path-parser.lisp
slime-2.0/swank-corman.lisp
slime-2.0/hyperspec.el
slime-2.0/swank-gray.lisp
slime-2.0/swank-loader.lisp
slime-2.0/PROBLEMS
slime-2.0/swank-abcl.lisp
slime-2.0/test.sh
slime-2.0/swank-ecl.lisp
slime-2.0/HACKING
slime-2.0/swank.lisp
slime-2.0/swank.asd
slime-2.0/swank-lispworks.lisp
slime-2.0/swank-clisp.lisp
slime-2.0/slime.el
slime-2.0/nregex.lisp
slime-2.0/sbcl-pprint-patch.lisp
slime-2.0/swank-allegro.lisp
slime-2.0/swank-sbcl.lisp
slime-2.0/xref.lisp
slime-2.0/bridge.el
slime-2.0/swank-openmcl.lisp
slime-2.0/ChangeLog
slime-2.0/swank-scl.lisp
slime-2.0/swank-backend.lisp
; loading system definition from /home/aemon/.sbcl/systems/swank.asd
; into #<PACKAGE "ASDF0">
; registering #<SYSTEM :SWANK {AFDC969}> as SWANK
; compiling file "/home/aemon/.sbcl/site/slime-2.0/swank-
loader.lisp" (written 13 APR 2006 06:41:59 AM):
; compiling (DEFPACKAGE :SWANK-LOADER ...)
; compiling (IN-PACKAGE :SWANK-LOADER)
; compiling (DEFVAR *SOURCE-DIRECTORY* ...)
; compiling (DEFPARAMETER *SYSDEP-FILES* ...)
; compiling (DEFPARAMETER *IMPLEMENTATION-FEATURES* ...)
; compiling (DEFPARAMETER *OS-FEATURES* ...)
; compiling (DEFPARAMETER *ARCHITECTURE-FEATURES* ...)
; compiling (DEFUN LISP-VERSION-STRING ...)
; compiling (DEFUN UNIQUE-DIRECTORY-NAME ...)
; compiling (DEFUN FILE-NEWER-P ...)
; compiling (DEFUN SLIME-VERSION-STRING ...)
; compiling (DEFUN DEFAULT-FASL-DIRECTORY ...)
; compiling (DEFUN BINARY-PATHNAME ...)
; compiling (DEFUN COMPILE-FILES-IF-NEEDED-SERIALLY ...)
; compiling (DEFUN LOAD-USER-INIT-FILE ...)
; compiling (DEFUN LOAD-SITE-INIT-FILE ...)
; compiling (DEFUN SWANK-SOURCE-FILES ...)
; compiling (DEFVAR *FASL-DIRECTORY* ...)
; compiling (DEFUN LOAD-SWANK ...)
; compiling (LOAD-SWANK)

; /var/cache/common-lisp-controller/0/sbcl/local/home/aemon/.sbcl/site/
slime-2.0/swank-loader.fasl written
; compilation finished in 0:00:00

debugger invoked on a SB-INT:SIMPLE-FILE-ERROR in thread #<THREAD
"initial thread" {A815441}>:
  The file "/var/cache/common-lisp-controller/0/sbcl/local/home/
aemon/.sbcl/site/slime-2.0/swank-backend.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: [RETRY ] Retry performing #<ASDF:LOAD-OP NIL {AEC69A1}> on
              #<ASDF:CL-SOURCE-FILE "swank-loader" {AFF11E1}>.
  1: [ACCEPT] Continue, treating #<ASDF:LOAD-OP NIL {AEC69A1}> on
              #<ASDF:CL-SOURCE-FILE "swank-loader" {AFF11E1}> as
having been
              successful.
  2: [RETRY ] Retry installation
  3: [ABORT ] Exit debugger, returning to top level.

(TRUENAME
 #P"/var/cache/common-lisp-controller/0/sbcl/local/home/aemon/.sbcl/
site/slime-2.0/swank-backend.lisp")

From: Tamas Papp
Subject: Re: Trouble installing sbcl/swank on debian
Date: 
Message-ID: <87sl7isxht.fsf@pu100877.student.princeton.edu>
···········@gmail.com writes:

> Downloading 472918 bytes from http://common-lisp.net/project/slime/slime-2.0.tgz
> ...
>
> debugger invoked on a ASDF-INSTALL::DOWNLOAD-ERROR in thread #<THREAD
> "initial thread" {A815441}>:
>   Server responded 404 for GET http://common-lisp.net/project/slime/slime-2.0.tgz.asc

Try downloading http://common-lisp.net/project/slime/slime-2.0.tgz,
then install it from a file, eg

(asdf-install:install "directory-where-you-put-the-file/slime-2.0.tgz")

I don't know why the asc is appended, someone will probably help you
figure it out, this is intended a quick workaround so you can start
working.

BTW, slime has a debian package.

Tamas
From: Tamas Papp
Subject: Re: Trouble installing sbcl/swank on debian
Date: 
Message-ID: <87odi6sxf7.fsf@pu100877.student.princeton.edu>
Tamas Papp <······@gmail.com> writes:

> ···········@gmail.com writes:
>
>> Downloading 472918 bytes from http://common-lisp.net/project/slime/slime-2.0.tgz
>> ...
>>
>> debugger invoked on a ASDF-INSTALL::DOWNLOAD-ERROR in thread #<THREAD
>> "initial thread" {A815441}>:
>>   Server responded 404 for GET http://common-lisp.net/project/slime/slime-2.0.tgz.asc
>
> Try downloading http://common-lisp.net/project/slime/slime-2.0.tgz,
> then install it from a file, eg
>
> (asdf-install:install "directory-where-you-put-the-file/slime-2.0.tgz")
>
> I don't know why the asc is appended, someone will probably help you
> figure it out, this is intended a quick workaround so you can start
> working.
>
> BTW, slime has a debian package.

I forgot to mention: the deb package is much more recent than 2.0.

Tamas
From: ···········@gmail.com
Subject: Re: Trouble installing sbcl/swank on debian
Date: 
Message-ID: <1184976055.385470.63420@w3g2000hsg.googlegroups.com>
On Jul 20, 3:11 pm, Tamas Papp <······@gmail.com> wrote:
> Tamas Papp <······@gmail.com> writes:
> > ···········@gmail.com writes:
>
> >> Downloading 472918 bytes fromhttp://common-lisp.net/project/slime/slime-2.0.tgz
> >> ...
>
> >> debugger invoked on a ASDF-INSTALL::DOWNLOAD-ERROR in thread #<THREAD
> >> "initial thread" {A815441}>:
> >>   Server responded 404 for GEThttp://common-lisp.net/project/slime/slime-2.0.tgz.asc
>
> > Try downloadinghttp://common-lisp.net/project/slime/slime-2.0.tgz,
> > then install it from a file, eg
>
> > (asdf-install:install "directory-where-you-put-the-file/slime-2.0.tgz")
>
> > I don't know why the asc is appended, someone will probably help you
> > figure it out, this is intended a quick workaround so you can start
> > working.
>
> > BTW, slime has a debian package.
>
> I forgot to mention: the deb package is much more recent than 2.0.
>
> Tamas

Hey Tamas, Thanks for your reply.

Unfortunately i'm still getting the same problem. I tried installing
both ways you suggested, directly from the file, and also via the
debian package (wiping existing stuff first) to no avail.

Either way, I start sbcl, (require 'asdf) , (asdf:oos 'asdf:load-op
'swank)
and I always get the same thing:

   debugger invoked on a SB-INT:SIMPLE-FILE-ERROR in thread #<THREAD
"initial thread" {A815441}>:
   The file "/var/cache/common-lisp-controller/1000/sbcl/local/home/
industrynext/.sbcl/site/slime-2.0/swank-backend.lisp" does
not           exist.

Any other ideas?

Thanks,
Aemon
From: Scott Burson
Subject: Re: Trouble installing sbcl/swank on debian
Date: 
Message-ID: <1184990781.281035.33250@i13g2000prf.googlegroups.com>
You will definitely need the Debian SLIME package; it and the Debian
SBCL package are modified in a way that requires both (specifically,
they are set up to use common-lisp-controller).  Did you restart Emacs
after installing the Debian SLIME?  If not, try that.

-- Scott
From: Drew Crampsie
Subject: Re: Trouble installing sbcl/swank on debian
Date: 
Message-ID: <46a26df6$0$16390$88260bb3@free.teranews.com>
On Fri, 20 Jul 2007 17:00:55 -0700, aemoncannon wrote:

> On Jul 20, 3:11 pm, Tamas Papp <······@gmail.com> wrote:
>> Tamas Papp <······@gmail.com> writes:
>> > ···········@gmail.com writes:
>>
>> >> Downloading 472918 bytes
>> >> fromhttp://common-lisp.net/project/slime/slime-2.0.tgz ...
>>
>> >> debugger invoked on a ASDF-INSTALL::DOWNLOAD-ERROR in thread
>> >> #<THREAD "initial thread" {A815441}>:
>> >>   Server responded 404 for
>> >>   GEThttp://common-lisp.net/project/slime/slime-2.0.tgz.asc
>>
>> > Try downloading
>> > http://common-lisp.net/project/slime/slime-2.0.tgz,
>> > then install it from a file, eg
>>
>> > (asdf-install:install
>> > "directory-where-you-put-the-file/slime-2.0.tgz")
>>
>> > I don't know why the asc is appended, someone will probably help you
>> > figure it out, this is intended a quick workaround so you can start
>> > working.
>>
>> > BTW, slime has a debian package.
>>
>> I forgot to mention: the deb package is much more recent than 2.0.
>>
>> Tamas
> 
> Hey Tamas, Thanks for your reply.
> 
> Unfortunately i'm still getting the same problem. I tried installing
> both ways you suggested, directly from the file, and also via the debian
> package (wiping existing stuff first) to no avail.
> 
> Either way, I start sbcl, (require 'asdf) , (asdf:oos 'asdf:load-op
> 'swank)
> and I always get the same thing:
> 
>    debugger invoked on a SB-INT:SIMPLE-FILE-ERROR in thread #<THREAD
> "initial thread" {A815441}>:
>    The file "/var/cache/common-lisp-controller/1000/sbcl/local/home/
> industrynext/.sbcl/site/slime-2.0/swank-backend.lisp" does not          
> exist.
> 
> Any other ideas?


I've got one that is going to work for you. Remove anything related to
Common Lisp that you installed via a debian package. Then, install the
latest SBCL from a tarball, the latest slime from CVS, and you are good 
to go. cl-build may be an even easier solution.

Common Lisp Controller is a neat hack when you want to distribute Lisp
software as part of a distribution, but it's more trouble than it's 
worth if you are a lisp developer, IMNSHO.

drewc



> 
> Thanks,
> Aemon

-- 
Posted via a free Usenet account from http://www.teranews.com
From: ···········@gmail.com
Subject: Re: Trouble installing sbcl/swank on debian
Date: 
Message-ID: <1185229955.055002.226300@22g2000hsm.googlegroups.com>
On Jul 21, 4:35 pm, Drew Crampsie <·············@gmail.com> wrote:
> On Fri, 20 Jul 2007 17:00:55 -0700, aemoncannon wrote:
> > On Jul 20, 3:11 pm, Tamas Papp <······@gmail.com> wrote:
> >> Tamas Papp <······@gmail.com> writes:
> >> > ···········@gmail.com writes:
>
> >> >> Downloading 472918 bytes
> >> >> fromhttp://common-lisp.net/project/slime/slime-2.0.tgz...
>
> >> >> debugger invoked on a ASDF-INSTALL::DOWNLOAD-ERROR in thread
> >> >> #<THREAD "initial thread" {A815441}>:
> >> >>   Server responded 404 for
> >> >>   GEThttp://common-lisp.net/project/slime/slime-2.0.tgz.asc
>
> >> > Try downloading
> >> >http://common-lisp.net/project/slime/slime-2.0.tgz,
> >> > then install it from a file, eg
>
> >> > (asdf-install:install
> >> > "directory-where-you-put-the-file/slime-2.0.tgz")
>
> >> > I don't know why the asc is appended, someone will probably help you
> >> > figure it out, this is intended a quick workaround so you can start
> >> > working.
>
> >> > BTW, slime has a debian package.
>
> >> I forgot to mention: the deb package is much more recent than 2.0.
>
> >> Tamas
>
> > Hey Tamas, Thanks for your reply.
>
> > Unfortunately i'm still getting the same problem. I tried installing
> > both ways you suggested, directly from the file, and also via the debian
> > package (wiping existing stuff first) to no avail.
>
> > Either way, I start sbcl, (require 'asdf) , (asdf:oos 'asdf:load-op
> > 'swank)
> > and I always get the same thing:
>
> >    debugger invoked on a SB-INT:SIMPLE-FILE-ERROR in thread #<THREAD
> > "initial thread" {A815441}>:
> >    The file "/var/cache/common-lisp-controller/1000/sbcl/local/home/
> > industrynext/.sbcl/site/slime-2.0/swank-backend.lisp" does not
> > exist.
>
> > Any other ideas?
>
> I've got one that is going to work for you. Remove anything related to
> Common Lisp that you installed via a debian package. Then, install the
> latest SBCL from a tarball, the latest slime from CVS, and you are good
> to go. cl-build may be an even easier solution.
>
> Common Lisp Controller is a neat hack when you want to distribute Lisp
> software as part of a distribution, but it's more trouble than it's
> worth if you are a lisp developer, IMNSHO.
>
> drewc
>
>
>
> > Thanks,
> > Aemon
>
> --
> Posted via a free Usenet account fromhttp://www.teranews.com

Thanks everyone for your generous help, and thanks Drew for your nice
solution (ignoring debian :)
I'm now up and running exactly like I wanted (able to just asdf-
install everything from inside sbcl).

Cool!