From: ··········@gmail.com
Subject: using asdf-install with sbcl
Date: 
Message-ID: <1185122922.521465.47430@z28g2000prd.googlegroups.com>
I downloaded lispbox with sbcl for mac.
I'm trying to use asdf-install, but I get an error message that the
package asdf-install is undefined.

So how do you install "asdf-install" package? According to this
tutorial:

http://common-lisp.net/project/asdf-install/tutorial/setup.html

you don't need to install asdf on sbcl.

And I did type in (require 'asdf) and (require 'asdf-install)

So according to the tutorial:
"You're now ready to use ASDF-INSTALL."
But apparently not.

What step am I missing here?
Thanks.

From: Zach Beane
Subject: Re: using asdf-install with sbcl
Date: 
Message-ID: <m3sl7g5qff.fsf@unnamed.xach.com>
··········@gmail.com writes:

> I downloaded lispbox with sbcl for mac.
> I'm trying to use asdf-install, but I get an error message that the
> package asdf-install is undefined.

You must use this first:

   (require 'asdf-install)

Then you can do stuff like:

   (asdf-install:install 'skippy)

Zach
From: ··········@gmail.com
Subject: Re: using asdf-install with sbcl
Date: 
Message-ID: <1185123679.628644.46400@m37g2000prh.googlegroups.com>
On Jul 22, 9:55 am, Zach Beane <····@xach.com> wrote:
> ··········@gmail.com writes:
> > I downloaded lispbox with sbcl for mac.
> > I'm trying to use asdf-install, but I get an error message that the
> > package asdf-install is undefined.
>
> You must use this first:
>
>    (require 'asdf-install)
>
> Then you can do stuff like:
>
>    (asdf-install:install 'skippy)
>
> Zach
As I said: I did type
(require 'asdf-install)
It did not work.
From: Zach Beane
Subject: Re: using asdf-install with sbcl
Date: 
Message-ID: <m3bqe45p8b.fsf@unnamed.xach.com>
··········@gmail.com writes:

> On Jul 22, 9:55 am, Zach Beane <····@xach.com> wrote:
>> ··········@gmail.com writes:
>> > I downloaded lispbox with sbcl for mac.
>> > I'm trying to use asdf-install, but I get an error message that the
>> > package asdf-install is undefined.
>>
>> You must use this first:
>>
>>    (require 'asdf-install)
>>
>> Then you can do stuff like:
>>
>>    (asdf-install:install 'skippy)
>>
>> Zach
> As I said: I did type
> (require 'asdf-install)
> It did not work.

If you typed (require 'asdf-install) in sbcl, and then you got an
error message that the package asdf-install is undefined when you
tried to use it, then (require 'asdf-install) didn't complete
successfully, or you aren't using asdf-install correctly.

Could you provide a short transcript of a sbcl session where you type:

  (require 'asdf)
  (require 'asdf-install)
  (asdf-install:install 'skippy)

Any error messages may be enlightening.

Zach
From: ··········@gmail.com
Subject: Re: using asdf-install with sbcl
Date: 
Message-ID: <1185125938.140723.63490@i13g2000prf.googlegroups.com>
On Jul 22, 10:21 am, Zach Beane <····@xach.com> wrote:
> ··········@gmail.com writes:
> > On Jul 22, 9:55 am, Zach Beane <····@xach.com> wrote:
> >> ··········@gmail.com writes:
> >> > I downloaded lispbox with sbcl for mac.
> >> > I'm trying to use asdf-install, but I get an error message that the
> >> > package asdf-install is undefined.
>
> >> You must use this first:
>
> >>    (require 'asdf-install)
>
> >> Then you can do stuff like:
>
> >>    (asdf-install:install 'skippy)
>
> >> Zach
> > As I said: I did type
> > (require 'asdf-install)
> > It did not work.
>
> If you typed (require 'asdf-install) in sbcl, and then you got an
> error message that the package asdf-install is undefined when you
> tried to use it, then (require 'asdf-install) didn't complete
> successfully, or you aren't using asdf-install correctly.
>
> Could you provide a short transcript of a sbcl session where you type:
>
>   (require 'asdf)
>   (require 'asdf-install)
>   (asdf-install:install 'skippy)
>
> Any error messages may be enlightening.
>
> Zach

Thanks for looking at this.

I'm running sbcl from emacs in latest lispbox on an ibook G3 running
10.4.10.

(require 'asdf) and (require 'asdf-install) both return nil

CL-USER> (asdf-install:install 'parenscript)

returns

READER-ERROR at 21 (line 1, column 21) on #<SB-IMPL::STRING-INPUT-
STREAM {109A38F1}>:
package "ASDF-INSTALL" not found
   [Condition of type SB-KERNEL:READER-PACKAGE-ERROR]

Restarts:
  0: [ABORT-REQUEST] Abort handling SLIME request.
  1: [ABORT] Exit debugger, returning to top level.

Backtrace:
  0: (SB-IMPL::READ-TOKEN #<SB-IMPL::STRING-INPUT-STREAM {109A38F1}> #
\a)
  1: (SB-IMPL::READ-MAYBE-NOTHING #<SB-IMPL::STRING-INPUT-STREAM
{109A38F1}> #\a)
  2: (SB-IMPL::READ-LIST #<SB-IMPL::STRING-INPUT-STREAM {109A38F1}>
#<unavailable argument>)
  3: (READ-PRESERVING-WHITESPACE #<SB-IMPL::STRING-INPUT-STREAM
{109A38F1}> NIL #<SB-IMPL::STRING-INPUT-STREAM {109A38F1}> T)
  4: (READ-PRESERVING-WHITESPACE #<SB-IMPL::STRING-INPUT-STREAM
{109A38F1}> NIL #<SB-IMPL::STRING-INPUT-STREAM {109A38F1}> NIL)
  5: (READ #<SB-IMPL::STRING-INPUT-STREAM {109A38F1}> NIL #<SB-
IMPL::STRING-INPUT-STREAM {109A38F1}> NIL)
  6: (SWANK::EVAL-REGION "(asdf-install:install 'parenscript)
" T)
  7: ((LAMBDA NIL))
  8: ((SB-PCL::FAST-METHOD SWANK-BACKEND:CALL-WITH-SYNTAX-HOOKS (T))
#<unused argument> #<unused argument> #<CLOSURE (LAMBDA NIL)
{109A38A5}>)
  9: (SWANK::CALL-WITH-BUFFER-SYNTAX #<CLOSURE (LAMBDA NIL)
{109A38A5}>)
 10: (SB-INT:EVAL-IN-LEXENV (SWANK:LISTENER-EVAL "(asdf-
install:install 'parenscript)
") #<NULL-LEXENV>)
 11: ((LAMBDA NIL))
 12: ((SB-PCL::FAST-METHOD SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK (T
T)) #<unused argument> #<unused argument> #<FUNCTION SWANK:SWANK-
DEBUGGER-HOOK> #<CLOSURE (LAMBDA NIL) {109A327D}>)
 13: ((LAMBDA NIL))
 14: ((LAMBDA NIL))
 15: (SWANK::CALL-WITH-REDIRECTED-IO #<SWANK::CONNECTION {10000AA1}>
#<CLOSURE (LAMBDA NIL) {109A2B95}>)
 16: (SWANK::CALL-WITH-CONNECTION #<SWANK::CONNECTION {10000AA1}>
#<FUNCTION (LAMBDA NIL) {10001B35}>)
 17: (SWANK::HANDLE-REQUEST #<SWANK::CONNECTION {10000AA1}>)
 18: (SWANK::PROCESS-AVAILABLE-INPUT #<SB-SYS:FD-STREAM for "a
constant string" {100016E9}> #<CLOSURE (LAMBDA NIL) {109A2B85}>)
 19: ((FLET SWANK::HANDLER))
 20: ((LAMBDA (SWANK-BACKEND::_)) #<unused argument>)
 21: (SB-IMPL::SUB-SERVE-EVENT NIL 0)
 22: (SB-SYS:WAIT-UNTIL-FD-USABLE 0 :INPUT NIL)
 23: (SB-IMPL::REFILL-BUFFER/FD #<SB-SYS:FD-STREAM for "standard
input" {100004A9}>)
 24: (SB-IMPL::INPUT-CHAR/UTF-8 #<SB-SYS:FD-STREAM for "standard
input" {100004A9}> NIL #:EOF-OBJECT)
 25: (READ-CHAR #<SB-SYS:FD-STREAM for "standard input" {100004A9}>
NIL #:EOF-OBJECT #<unused argument>)
 26: (READ-CHAR #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN* {8015F41}> NIL
#:EOF-OBJECT #<unused argument>)
 27: (READ-CHAR #<SYNONYM-STREAM :SYMBOL SWANK::*CURRENT-STANDARD-
INPUT* {10000391}> NIL #:EOF-OBJECT #<unused argument>)
 28: (READ-PRESERVING-WHITESPACE #<SYNONYM-STREAM :SYMBOL
SWANK::*CURRENT-STANDARD-INPUT* {10000391}> NIL (NIL) T)
 29: (READ-PRESERVING-WHITESPACE #<SYNONYM-STREAM :SYMBOL
SWANK::*CURRENT-STANDARD-INPUT* {10000391}> NIL (NIL) NIL)
 30: (READ #<SYNONYM-STREAM :SYMBOL SWANK::*CURRENT-STANDARD-INPUT*
{10000391}> NIL (NIL) NIL)
 31: (SB-IMPL::REPL-READ-FORM-FUN #<SYNONYM-STREAM :SYMBOL
SWANK::*CURRENT-STANDARD-INPUT* {10000391}> #<SYNONYM-STREAM :SYMBOL
SWANK::*CURRENT-STANDARD-OUTPUT* {100003C9}>)
 32: (SB-IMPL::REPL-FUN NIL)
 33: ((LAMBDA NIL))
 34: ((LAMBDA NIL))
 35: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #<CLOSURE (LAMBDA NIL)
{1000022D}>)
 36: (SB-IMPL::TOPLEVEL-REPL NIL)
 37: (SB-IMPL::TOPLEVEL-INIT)
 38: ((LABELS SB-IMPL::RESTART-LISP))
From: Zach Beane
Subject: Re: using asdf-install with sbcl
Date: 
Message-ID: <m34pjw5dhq.fsf@unnamed.xach.com>
··········@gmail.com writes:

> I'm running sbcl from emacs in latest lispbox on an ibook G3 running
> 10.4.10.
>
> (require 'asdf) and (require 'asdf-install) both return nil
>
> CL-USER> (asdf-install:install 'parenscript)
>
> returns
>
> READER-ERROR at 21 (line 1, column 21) on #<SB-IMPL::STRING-INPUT-
> STREAM {109A38F1}>:
> package "ASDF-INSTALL" not found
>    [Condition of type SB-KERNEL:READER-PACKAGE-ERROR]

Perhaps it's a glitch in lispbox. If (require 'asdf-install) returns,
there should be an asdf-install package available at that point.

Zach
From: Robert Uhl
Subject: Re: using asdf-install with sbcl
Date: 
Message-ID: <m3644bq07m.fsf@latakia.dyndns.org>
··········@gmail.com writes:
>
> I'm running sbcl from emacs in latest lispbox on an ibook G3 running
> 10.4.10.
>
> (require 'asdf) and (require 'asdf-install) both return nil
>
> CL-USER> (asdf-install:install 'parenscript)
>
> returns
>
> READER-ERROR at 21 (line 1, column 21) on #<SB-IMPL::STRING-INPUT-
> STREAM {109A38F1}>:
> package "ASDF-INSTALL" not found
>    [Condition of type SB-KERNEL:READER-PACKAGE-ERROR]

Instead of using REQUIRE for ASDF-INSTALL, do this:

(require 'asdf)
(asdf:oos 'asdf:load-op :asdf-install)
(asdf-install:install 'parenscript)

You should get a nastygram from the load, which might help folks
troubleshoot it.

-- 
Robert Uhl <http://public.xdi.org/=ruhl>
Homeland Freedom and Homeland Patriotism Act Of Homeland Freedom and
Homeland Patriotism and Homeland America and Mom and Homeland Apple
Pie--For Homeland Freedom!  With EXTRA Freedom and Homelands.
                                            --David Richerby
From: ··········@gmail.com
Subject: Re: using asdf-install with sbcl
Date: 
Message-ID: <1185324503.886384.96810@i13g2000prf.googlegroups.com>
On Jul 22, 8:15 pm, Robert Uhl <·········@NOSPAMgmail.com> wrote:
> ··········@gmail.com writes:
>
> > I'm running sbcl from emacs in latest lispbox on an ibook G3 running
> > 10.4.10.
>
> > (require 'asdf) and (require 'asdf-install) both return nil
>
> > CL-USER> (asdf-install:install 'parenscript)
>
> > returns
>
> > READER-ERROR at 21 (line 1, column 21) on #<SB-IMPL::STRING-INPUT-
> > STREAM {109A38F1}>:
> > package "ASDF-INSTALL" not found
> >    [Condition of type SB-KERNEL:READER-PACKAGE-ERROR]
>
> Instead of using REQUIRE for ASDF-INSTALL, do this:
>
> (require 'asdf)
> (asdf:oos 'asdf:load-op :asdf-install)
> (asdf-install:install 'parenscript)
>
> You should get a nastygram from the load, which might help folks
> troubleshoot it.
>
> --
> Robert Uhl <http://public.xdi.org/=ruhl>
> Homeland Freedom and Homeland Patriotism Act Of Homeland Freedom and
> Homeland Patriotism and Homeland America and Mom and Homeland Apple
> Pie--For Homeland Freedom!  With EXTRA Freedom and Homelands.
>                                             --David Richerby

I tried to install sbcl without lispbox and got an error message that
it couldn't find gnu make. SO I installed xcode and then installation
of sbcl went smoothly (I think). Now asdf install doesn't complain
about asdf:install package not being found but now I have a different
error:


* (require 'asdf)

("ASDF")
* (require 'asdf-install)

; loading system definition from
; /opt/local/lib/sbcl/sb-bsd-sockets/sb-bsd-sockets.asd into #<PACKAGE
"ASDF0">
; registering #<SYSTEM SB-BSD-SOCKETS {12122689}> as SB-BSD-SOCKETS
; registering #<SYSTEM SB-BSD-SOCKETS-TESTS {12298B81}> as SB-BSD-
SOCKETS-TESTS
; loading system definition from /opt/local/lib/sbcl/sb-posix/sb-
posix.asd into
; #<PACKAGE "ASDF0">
; registering #<SYSTEM SB-POSIX {118B4461}> as SB-POSIX
; registering #<SYSTEM SB-POSIX-TESTS {119D7081}> as SB-POSIX-TESTS
("SB-GROVEL" "SB-POSIX" "SB-BSD-SOCKETS" "ASDF-INSTALL")
* (asdf-install:install 'parenscript)
Install where?
1) System-wide install:
   System in /opt/local/lib/sbcl/site-systems/
   Files in /opt/local/lib/sbcl/site/
2) Personal installation:
   System in /Users/aa/.sbcl/systems/
   Files in /Users/aa/.sbcl/site/
 --> 1
Installing PARENSCRIPT in /opt/local/lib/sbcl/site/,/opt/local/lib/
sbcl/site-systems/
tar (child): PARENSCRIPT: Cannot read: Is a directory
tar (child): At beginning of tape, quitting now
tar (child): Error is not recoverable: exiting now

gzip: stdin: unexpected end of file
gnutar: Child returned status 2
gnutar: Error exit delayed from previous errors
NIL
*

Any ideas on this?
Thanks
From: Robert Uhl
Subject: Re: using asdf-install with sbcl
Date: 
Message-ID: <m31wewwtj2.fsf@latakia.dyndns.org>
··········@gmail.com writes:
>
> * (asdf-install:install 'parenscript)
> Install where?
> 1) System-wide install:
>    System in /opt/local/lib/sbcl/site-systems/
>    Files in /opt/local/lib/sbcl/site/
> 2) Personal installation:
>    System in /Users/aa/.sbcl/systems/
>    Files in /Users/aa/.sbcl/site/
>  --> 1
> Installing PARENSCRIPT in /opt/local/lib/sbcl/site/,/opt/local/lib/
> sbcl/site-systems/
> tar (child): PARENSCRIPT: Cannot read: Is a directory
> tar (child): At beginning of tape, quitting now
> tar (child): Error is not recoverable: exiting now
>
> gzip: stdin: unexpected end of file
> gnutar: Child returned status 2
> gnutar: Error exit delayed from previous errors
> NIL
> *

It almost looks as though there's a directory where ASDF-INSTALL expects
to find the tarball.  I _think_ it downloads into the current
directory--perhaps you already have a directory named parenscript?  Do
this:

  find / -iname parenscript -print

And see what it turns up; if it looks likely to be conflicting, there's
your problem.

-- 
Robert Uhl <http://public.xdi.org/=ruhl>
Hell No!  We won't relent to your artificial socioeconomic subsidisation
of political contributors and special interests!
From: ··········@gmail.com
Subject: Re: using asdf-install with sbcl
Date: 
Message-ID: <1185325056.144983.179630@x35g2000prf.googlegroups.com>
On Jul 22, 8:15 pm, Robert Uhl <·········@NOSPAMgmail.com> wrote:
> ··········@gmail.com writes:
>
> > I'm running sbcl from emacs in latest lispbox on an ibook G3 running
> > 10.4.10.
>
> > (require 'asdf) and (require 'asdf-install) both return nil
>
> > CL-USER> (asdf-install:install 'parenscript)
>
> > returns
>
> > READER-ERROR at 21 (line 1, column 21) on #<SB-IMPL::STRING-INPUT-
> > STREAM {109A38F1}>:
> > package "ASDF-INSTALL" not found
> >    [Condition of type SB-KERNEL:READER-PACKAGE-ERROR]
>
> Instead of using REQUIRE for ASDF-INSTALL, do this:
>
> (require 'asdf)
> (asdf:oos 'asdf:load-op :asdf-install)
> (asdf-install:install 'parenscript)
>
> You should get a nastygram from the load, which might help folks
> troubleshoot it.
>
> --
> Robert Uhl <http://public.xdi.org/=ruhl>
> Homeland Freedom and Homeland Patriotism Act Of Homeland Freedom and
> Homeland Patriotism and Homeland America and Mom and Homeland Apple
> Pie--For Homeland Freedom!  With EXTRA Freedom and Homelands.
>                                             --David Richerby

I tried installing cl-ppcre with asdf-install and that works.
Something must be wrong with parenscript.asd
From: Tamas Papp
Subject: Re: using asdf-install with sbcl
Date: 
Message-ID: <87y7h88j7v.fsf@pu100877.student.princeton.edu>
··········@gmail.com writes:

> On Jul 22, 9:55 am, Zach Beane <····@xach.com> wrote:
>> ··········@gmail.com writes:
>> > I downloaded lispbox with sbcl for mac.
>> > I'm trying to use asdf-install, but I get an error message that the
>> > package asdf-install is undefined.
>>
>> You must use this first:
>>
>>    (require 'asdf-install)
>>
>> Then you can do stuff like:
>>
>>    (asdf-install:install 'skippy)
>>
>> Zach
> As I said: I did type
> (require 'asdf-install)
> It did not work.

Did it give you an error message?

Tamas