Installation » History » Version 7
« Previous -
Version 7/85
(diff) -
Next » -
Current version
Jeremy Gow, 2012-10-03 11:09 AM
Revised instructions
Installing IDyOM¶
Prerequisites¶
- Steel Bank Common Lisp [SBCL]
- Quicklisp is a library manager for Common Lisp. Just download
quicklisp.lisp
- An SQL database. I would recommend SQLite
Many people find Emacs with Slime useful for Common Lisp development. Package management systems can simplify the installation of these prerequisites, e.g. Fink or Macports for OS X.
See the CLSQL Manual for information on other database systems you can use and how to access them from Common Lisp. If you prefer not to use Quicklisp, you will need to install the following Lisp libraries: UFFI, CLSQL, CL-PPCRE, PS-Graph, Midi
Install Quicklisp¶
To install Quicklisp to a directory DIR
, you need to load quicklisp.lisp
in Lisp:
(load "quicklisp.lisp") (quicklisp-quickstart:install :path "DIR/quicklisp/") (ql:add-to-init-file)
Download IDyOM¶
Download the following zip files and unpack them into DIR/quicklisp/local-projects/
Load IDyOM¶
You can now use Quicklisp to load IDyOM, and install the external Lisp libraries it depends on:
(ql:quickload "idyom")
The first time IDyOM is loaded, an error "There is no class named AMUSE-SEGMENTATION:GROUND-TRUTH-SEGMENTER" may bring up the debugger. Press 2 [ACCEPT] and the installation should complete.
Create a database¶
IDyOM is now installed, but you will need a database in order to use it. To create an SQLite database in directory DIR
:
(clsql:connect '("DIR/example.db") :if-exists :old :database-type :sqlite3) (mtp-admin:initialise-database)
You may now proceed to the tutorial.