Installation » History » Version 4
« Previous -
Version 4/85
(diff) -
Next » -
Current version
Marcus Pearce, 2012-02-02 02:07 PM
Installation¶
Prerequisites¶
Common Lisp¶
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¶
Alternatively there is software available for managing library installation for common lisp:
These may also be used to install the dependencies listed above. WARNING: your mileage may vary.
Running the code¶
(asdf:oos 'asdf:load-op 'idyom)
should load the code. You may now proceed to the tutorial.