Re: ASDF organization
- From: Pascal Costanza <pc@xxxxxxxxx>
- Date: Mon, 21 May 2007 20:30:59 +0200
Bob Felts wrote:
Pascal Costanza <pc@xxxxxxxxx> wrote:
Bob Felts wrote:In my slow journey along the Lisp highway, I now need to start usingI load ASDF in my initialization files, and afterwards a compiled version of a file containing the following code.
ASDF. Any recommendations on how to organize ASDF packages, e.g. put
them in /usr/local/lisp/asdf? What has worked for you? What works well
with multiple Lisps (e.g. sbcl and LispWorks)?
Could you show me how you do this?
Here is my initialization file for SBCL:
(require "ASDF")
(load #P"/Users/costanza/lisp/asdf/.sbcl/fix-asdf")
Here is an excerpt of the one for LispWorks:
#+lispworks4.3
(progn
(load #P"/Users/costanza/lisp/asdf/.lispworks4.3/asdf")
(load #P"/Users/costanza/lisp/asdf/.lispworks4.3/fix-asdf"))
#+lispworks4.4
(progn
(load #P"/Users/costanza/lisp/asdf/.lispworks4.4/asdf")
(load #P"/Users/costanza/lisp/asdf/.lispworks4.4/fix-asdf"))
#+lispworks5.0
(progn
(load #P"/Users/costanza/lisp/asdf/.lispworks5.0/asdf")
(load #P"/Users/costanza/lisp/asdf/.lispworks5.0/fix-asdf"))
Similar for all the other systems. So load asdf first (depending on which implementation you are using it may simply be already there, or you may have to load it explicitly), then load fix-asdf (the compiled file I have talked about in my previous posting).
If you encounter a problem loading fix-asdf, this probably means that you have a new version of the respective CL implementation. This is easy to resolve: Just start the CL implementation in the folder that contains fix-asdf, and then say (compile-file "fix-asdf"). Exit your lisp again, and put the file in the right folder.
Does this help?
Pascal
--
My website: http://p-cos.net
Common Lisp Document Repository: http://cdr.eurolisp.org
Closer to MOP & ContextL: http://common-lisp.net/project/closer/
.
- Follow-Ups:
- Re: ASDF organization
- From: Bob Felts
- Re: ASDF organization
- References:
- ASDF organization
- From: Bob Felts
- Re: ASDF organization
- From: Pascal Costanza
- Re: ASDF organization
- From: Bob Felts
- ASDF organization
- Prev by Date: Re: Did you manage to interest somebody to learn lisp? Ever.
- Next by Date: Re: How faster can this be done?
- Previous by thread: Re: ASDF organization
- Next by thread: Re: ASDF organization
- Index(es):
Relevant Pages
|