Installation » History » Version 6

« Previous - Version 6/85 (diff) - Next » - Current version
Marcus Pearce, 2012-02-24 10:02 AM


Installation

Prerequisites

Common Lisp

  • Many people find Emacs with Slime useful for Common Lisp development.

Common Lisp Libraries

These can be obtained using asdf-install, e.g.:

(require 'asdf-install)
(asdf-install:install "clsql")

An SQL database

I would recommend SQLite

See the CLSQL Manual for further information on which database systems you can use and how to access them from Common Lisp.

Installation

Download the software

Let lisp know where to find the software

Each subdirectory in the code contains one or more system definition files with a .asd extension. The location of these files needs to be registered as follows:

 (require :asdf) ; Load asdf.
 (push "/full/path/to/system/file" asdf:*central-registry*) ; Tell asdf where each system is registered.

You may want to add these lines to your .sbclrc configuration file so that they are automatically loaded.

An easy way to achieve the above is to symlink each .asd file to a single directory and push this directory to asdf:*central-registry* as shown above.

Automated installation

There is software available for managing library installation for common lisp:

which may also be used to install the dependencies listed above. WARNING: your mileage may vary using these tools.

Running the code

(asdf:oos 'asdf:load-op 'idyom)

should load the code. You may now proceed to the tutorial.