Installation » History » Version 1
Marcus Pearce, 2012-02-02 12:03 PM
1 | 1 | Marcus Pearce | h1. Installation |
---|---|---|---|
2 | 1 | Marcus Pearce | |
3 | 1 | Marcus Pearce | h2. Prerequisites |
4 | 1 | Marcus Pearce | |
5 | 1 | Marcus Pearce | * "Steel Bank Common Lisp [SBCL]":http://www.sbcl.org/platform-table.html |
6 | 1 | Marcus Pearce | |
7 | 1 | Marcus Pearce | * Many people find "Emacs":http://www.gnu.org/software/emacs/ with "Slime":http://common-lisp.net/project/slime/ useful for Common Lisp development. |
8 | 1 | Marcus Pearce | |
9 | 1 | Marcus Pearce | * Common Lisp libraries: |
10 | 1 | Marcus Pearce | ** "UFFI":http://uffi.bi.com |
11 | 1 | Marcus Pearce | ** "CLSQL":http://clsql.b9.com |
12 | 1 | Marcus Pearce | ** "CL-PPCRE":http://www.weitz.de/cl-ppcre/ |
13 | 1 | Marcus Pearce | ** "PS-Graph":http://www.cliki.net/psgraph |
14 | 1 | Marcus Pearce | ** "Midi":http://www.cliki.net/midi |
15 | 1 | Marcus Pearce | |
16 | 1 | Marcus Pearce | These can be obtained using asdf-install, e.g.: |
17 | 1 | Marcus Pearce | |
18 | 1 | Marcus Pearce | <pre> |
19 | 1 | Marcus Pearce | (require 'asdf-install) |
20 | 1 | Marcus Pearce | (asdf-install:install "clsql") |
21 | 1 | Marcus Pearce | </pre> |
22 | 1 | Marcus Pearce | |
23 | 1 | Marcus Pearce | h2. Installation |
24 | 1 | Marcus Pearce | |
25 | 1 | Marcus Pearce | h3. Manual |
26 | 1 | Marcus Pearce | |
27 | 1 | Marcus Pearce | Each subdirectory in the code contains one or more system definition files with a <code>.asd</code> extension. The location of these files needs to be registered as follows: |
28 | 1 | Marcus Pearce | |
29 | 1 | Marcus Pearce | <pre> |
30 | 1 | Marcus Pearce | (require :asdf) ; Load asdf. |
31 | 1 | Marcus Pearce | (push "/full/path/to/system/file" asdf:*central-registry*) ; Tell asdf where each system is registered. |
32 | 1 | Marcus Pearce | </pre> |
33 | 1 | Marcus Pearce | |
34 | 1 | Marcus Pearce | You may want to add these lines to your <code>.sbclrc</code> configuration file. |
35 | 1 | Marcus Pearce | |
36 | 1 | Marcus Pearce | An easy way to achieve the above is to symlink each <code>.asd</code> file to a single directory and add that to <code>asdf:*central-registry*</code>. |
37 | 1 | Marcus Pearce | |
38 | 1 | Marcus Pearce | h3. Automated |
39 | 1 | Marcus Pearce | |
40 | 1 | Marcus Pearce | Alternatively there is software available for managing library installation for common lisp: |
41 | 1 | Marcus Pearce | |
42 | 1 | Marcus Pearce | * "Quicklisp":http://www.quicklisp.org/ |
43 | 1 | Marcus Pearce | * "CLBuild":http://common-lisp.net/project/clbuild/ |
44 | 1 | Marcus Pearce | * "CLBuild2":http://gitorious.org/clbuild2 |
45 | 1 | Marcus Pearce | |
46 | 1 | Marcus Pearce | These may also be used to install the dependencies listed above. |