From: ·······@gmail.com
Subject: Help with ASDF
Date: 
Message-ID: <1116255930.937399.165130@o13g2000cwo.googlegroups.com>
Hey guys,
I'm using Lispbox v. 0,4 and ran through the instructions located at
http://weitz.de/asdf-install/:
(compile-file ("asdf.lisp"))
(compile-file ("asdf-extensions.lisp"))
(require :asdf)
(asdf-install:install :claim)  ==> package "ASDF-INSTALL" not found
downloaded asdf-install in case it isn't the extensions file I compiled
above
(asdf:operate 'asdf:compile-op :asdf-install) ==> component
"asdf-install" not found

what did I forget to do?

Thanks,
PJ

ps. using the trial Allegro

From: M Jared Finder
Subject: Re: Help with ASDF
Date: 
Message-ID: <fpednZR00-U_JhXfRVn-uw@speakeasy.net>
·······@gmail.com wrote:
> Hey guys,
> I'm using Lispbox v. 0,4 and ran through the instructions located at
> http://weitz.de/asdf-install/:

It would be best if you cut-n-pasted the actual interaction from the 
REPL when asking for help. instead of trying to transcribe it from memory.

> (compile-file ("asdf.lisp"))
> (compile-file ("asdf-extensions.lisp"))

Both of these lines give errors "asdf.lisp" is not a function.  Did you 
mean this:

(compile-file "asdf")
(compile-file "asdf-extensions")

> (require :asdf)
> (asdf-install:install :claim)  ==> package "ASDF-INSTALL" not found
> downloaded asdf-install in case it isn't the extensions file I compiled
> above
> (asdf:operate 'asdf:compile-op :asdf-install) ==> component
> "asdf-install" not found

Both times here you compiled the file but never loaded it.  You need to 
load a file before it can be used.  Loading is performed with the 
function LOAD, or in asdf with the operation ASDF:LOAD-OP.  Do the 
following as well:

(load <file-name-here>)
(asdf:operate 'asdf:load-op <asdf-system-name-here>)

   -- MJF
From: ·······@gmail.com
Subject: Re: Help with ASDF
Date: 
Message-ID: <1116258365.392169.72160@g14g2000cwa.googlegroups.com>
My mistake, the first two statements I entered in were
(load (compile-file "asdf.lisp"))
(load (compile-file "asdf-extensions.lisp"))

-PJ
From: Edi Weitz
Subject: Re: Help with ASDF
Date: 
Message-ID: <ull6fjhl9.fsf@agharta.de>
On 16 May 2005 08:46:05 -0700, ·······@gmail.com wrote:

> (load (compile-file "asdf-extensions.lisp"))

Where is this file "asdf-extensions.lisp" and what is it supposed to
contain?

Edi.

-- 

Lisp is not dead, it just smells funny.

Real email: (replace (subseq ·········@agharta.de" 5) "edi")
From: ·······@gmail.com
Subject: Re: Help with ASDF
Date: 
Message-ID: <1116263405.437015.275410@f14g2000cwb.googlegroups.com>
asdf.lisp and asdf-extensions.lisp both came with Lisp in a Box. I
thought that asdf-install might have been in the extensions file,
that's why I loaded it. Apparently it isn't, so I downloaded the it
separately. Your instructions state, "This will ask ASDF to locate the
ASDF-INSTALL library, compile it, and finally load it." but the REPL is
just returning component "asdf-install" not found. I have created my
.clinit.cl with the require and pathnew to the registry and the symlink
in the registry to asdf-install.asd.

-PJ
From: Peter Seibel
Subject: Re: Help with ASDF
Date: 
Message-ID: <m3fywnaxx3.fsf@gigamonkeys.com>
·······@gmail.com writes:

> asdf.lisp and asdf-extensions.lisp both came with Lisp in a Box. I
> thought that asdf-install might have been in the extensions file,

Nope. asdf-extensions is part of Lispbox (the one available from
http://www.gigamonkeys.com/book/lispbox not the earlier Lisp in a Box
produced by Matthew Danish). It and asdf.lisp gets loaded
automatically when Lispbox starts up. 

> that's why I loaded it. Apparently it isn't, so I downloaded the it
> separately. Your instructions state, "This will ask ASDF to locate the
> ASDF-INSTALL library, compile it, and finally load it." but the REPL is
> just returning component "asdf-install" not found. I have created my
> .clinit.cl with the require and pathnew to the registry and the symlink
> in the registry to asdf-install.asd.

Unfortunately, I may have screwed you in this regard--in order to make
certain things "easier" for new Lispers (and to make it work the same
on Windows and Unices, whenever I get around to producing a Windows
Lispbox) I extended ASDF (with the code in asdf-extensions.lisp) to
look for .ASD files by crawling directory trees rather by the
classical big-mess-o-symlinks technique. The easiest way to get up and
running is to unpack ASDF-INSTALL somewhere under the practicals
directory that's part of the Lispbox installation since that directory
is one of the ones that ASDF will look in for .ASD files. Then doing an

  (oos 'load-op :asdf-install)

at the REPL should work.

-Peter

-- 
Peter Seibel                                     ·····@gigamonkeys.com

         Lisp is the red pill. -- John Fraser, comp.lang.lisp
From: ·······@gmail.com
Subject: Re: Help with ASDF
Date: 
Message-ID: <1116298894.652455.154950@g44g2000cwa.googlegroups.com>
Works like a charm, thanks Peter.
From: Edi Weitz
Subject: Re: Help with ASDF
Date: 
Message-ID: <u4qd3jdem.fsf@agharta.de>
On 16 May 2005 10:10:05 -0700, ·······@gmail.com wrote:

> asdf.lisp and asdf-extensions.lisp both came with Lisp in a Box. I
> thought that asdf-install might have been in the extensions file,
> that's why I loaded it. Apparently it isn't, so I downloaded the it
> separately. Your instructions state, "This will ask ASDF to locate
> the ASDF-INSTALL library, compile it, and finally load it." but the
> REPL is just returning component "asdf-install" not found. I have
> created my .clinit.cl with the require and pathnew to the registry
> and the symlink in the registry to asdf-install.asd.

"pathnew" means "pushnew", I suppose?  Could you post the full
contents of your .clinit.cl here, please?

The LispBox distro has probably modified ASDF or doesn't load
.clinit.cl, I don't know.  You should ask Peter if and how
ASDF-INSTALL can be used with LispBox.

Cheers,
Edi.

-- 

Lisp is not dead, it just smells funny.

Real email: (replace (subseq ·········@agharta.de" 5) "edi")
From: Edi Weitz
Subject: Re: Help with ASDF
Date: 
Message-ID: <upsvrjho4.fsf@agharta.de>
On 16 May 2005 08:05:30 -0700, ·······@gmail.com wrote:

> I'm using Lispbox v. 0,4 and ran through the instructions located at
> http://weitz.de/asdf-install/:
> (compile-file ("asdf.lisp"))

Huh?  Where on my website did you find this instruction?  That's
certainly wrong.

> (compile-file ("asdf-extensions.lisp"))

And where did you find that one?

> what did I forget to do?

Actually reading the afore-mentioned website?

Cheers,
Edi.


-- 

Lisp is not dead, it just smells funny.

Real email: (replace (subseq ·········@agharta.de" 5) "edi")