Re: asdf, defsystem
On Sep 3, 2005, at 6:02 PM, Laughing Water wrote:
> I'm using LWM Personal 4.4.5, and I'm very interested in trying out
> cl-prevalence, among other things, that use asdf (which, in general,
> sounds like a nice item for anything that requires more than a couple
> of files). I've searched the LW documentation, the Common Lisp
> Hyperspec and the web in general and have not found anything that
> properly explains how to install and use it with LWM. Any clues?
>
> One of the sites I found on asdf recommended learning about defsystem,
> which also seems to be lacking in readily available documentation.
For MK:DEFSYSTEM there is some minor documentation in the tarball you
get from CLOCC. At some point there was some documentation on
cons.org, but that got lost.
In general, installing MK:DEFSYSTEM is easy. You just want to make
sure the file "defsystem.lisp" is loaded in you CL. This amounts to
having
(load "/where/your/defsystem/is/defsystem.lisp")
Once you have that, you need to decide where you keep your "systems".
Say "/my/home/cl/systems/". In your init file you just add
(mk:add-registry-location "/my/home/cl/systems/")
and you are pretty much home free. If a system has the following
directory structure
my-system/
my-system.system
...
Then MK:DEFSYSTEM will work automagically.
Apart from that, you can use ASDF-INSTALL with MK:DEFSYSTEM.
Cheers
--
Marco Antoniotti http://bioinformatics.nyu.edu
NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488
715 Broadway 10th FL fax. +1 - 212 - 998 3484
New York, NY, 10003, U.S.A.