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.
··········@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
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.
··········@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
··········@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
··········@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
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
··········@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!
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
··········@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