manbaum / qilang

Automatically exported from code.google.com/p/qilang
0 stars 0 forks source link
Qi Installation Instructions

Installation Instructions Qi 9.0

www.lambdassociates.org


This directory contains all the necessary materials for installing and programming Qi under CLisp, CMU Lisp, Allegro CL and SBCL.

Linux Installation under CLisp

You need to install CLisp on your machine. Go to clisp.cons.org for details on how to do this.

Run CLisp within this directory and then type

(LOAD "install.lisp")

to the CLisp prompt. The installation program will build an image lispinit.mem within this directory.

To run Qi set the file Qi-Linux-CLisp to executable and execute it.

Windows Installation under CLisp

To build a Windows installation from this directory using the latest CLisp, download CLisp from clisp.cons.org. Run CLisp within this directory and then type

(LOAD "install.lisp")

to the CLisp prompt. The file Qi-Windows-CLisp is a batch file; clicking on it will create a command window with Qi running under it.

Linux Installation under CMU Lisp

Qi has been tested on CMU Common Lisp 19c. Go to www.cons.org/cmucl to get CMU Lisp, and install it. Enter CMU Lisp and type

(LOAD "install.lisp")

The installation program will build a core Qi.core. To run Qi, set the file Qi-Linux-CMU to executable and execute it.

Windows Installation under SBCL

Qi has only been tested under SBCL under Windows.

Building a Static Image

Go to http://sbcl.sourceforge.net to get Steel Bank Common Lisp, and install it. Enter SBCL within this directory and then type

(LOAD "install.lisp")

to the Allegro prompt. The file Qi-Windows-SBCL is a batch file; clicking on it will create a command window with Qi running as a core under SBCL.

Linux Installation under SBCL

Qi has only been tested under SBCL under Windows.

Building a Static Image

Go to http://sbcl.sourceforge.net to get Steel Bank Common Lisp, and install it. Enter SBCL within this directory and then type

(LOAD "install.lisp")

to the Allegro prompt. The file Qi-Linux-SBCL is a batch file; clicking on it will create a command window with Qi running as a core under SBCL.

Windows Installation under Allegro

This can be done in two ways. Qi has only been tested under Allegro 7.0 under Windows.

Building a Static Image

Run Allegro using alisp with the default case insensitive setting within this directory and then type

(LOAD "install.lisp")

to the Allegro prompt. The file Qi-Windows-Allegro is a batch file; clicking on it will create a command window with Qi running under Allegro. Note you have to have licence permission to run the file Qi 8.0.dxl from Franz and your license permission should be in the current folder. Note as of 21st May 2007, we are having problems with building an Allegro image. According to Franz this is due to a problem with Allegro which they aim to fix with 8.1. If you have problems with this then use the next method.

Running Qi by Loading a FASL File

Note you still have to have your license permission in the current folder.

(A) Run Allegro using alisp within this folder and then type

(LOAD "install.lisp")

(B) Once you've done that then you need not repeat this process. Whenever you need Qi under alisp enter

(LOAD "run_fasl_allegro.txt")

which will load the FASL file into your image and send you to the Qi top level.

Copyright (c) 2007, Mark Tarver
dr.mtarver@ukonline.co.uk