Loading and Running the SIPE-2 System

next up previous
Next: AIC System Management Up: Installation Instructions for Unix Version Previous: Configuring X Windows

Loading and Running the SIPE-2 System

First we describe how to run Allegro image. Following that, we describe how to load SIPE-2, run it, and save SIPE-2 images.

Starting an Allegro Image

The current version of Allegro is 5.0.1. (For older versions, click here: Starting an Allegro 4.3 Image.)

To run an image on Solaris in Allegro, invoke the sipe image with the following script: aic-export/sipe/released/sipe-2. It will start Allegro, and load the SIPE-2 dxl file.

Setting the printing Profile

As of version 6.0, SIPE-2 defaults to printing nodes to a browser with hyperlinks. This depends on having the CL-HTTP system loaded. It is included with the SIPE-2 distribution but has not been tested at other sites. In addition, the code has only been tested with Netscape.

To load SIPE-2 without the CL-HTTP system, give the keyword argument ":subsystem :core" to load-sipe or sri:load-system. Alternatively, you can edit the system.lisp file and add
(setq sipe::*default-subsystem* :core)
right after the defvar for sipe::*default-subsystem*. Then the system will load without CL-HTTP by default.

You will also need to set a variable to make the system not use the browser. This can be done interactively with the Printing command in the Profile menu. To make this change permanently, put these 2 lines in temp.lisp in sipe/released/patches/:
(in-package :sipe)
(setq *PRINT-TO-POPUP* :clim-window)

Click here to use a browser at your site.

Running SIPE-2 in an image that includes SRI system code

Start the image, and type:

(sri:run-system :sipe)

To load SIPE-2 without running it, use sri:load-system instead of sri:run-system.

Loading SIPE-2 in a lisp image without SRI system code

Run an image that contains Common Lisp, CLOS, and CLIM. (Note the previous requirements of Solaris Allegro on environment variables). To load the system, type the following, but substitute the location of the aic-export directory for AICROOT: (The first form will define the AIC root and load the SRI system code.)

     (load "AICROOT/sipe/released/lisp/define-aic-root.lisp")
     (sri:load-system :sipe)
To also run SIPE-2 after loading, use sri:run-system instead of (or after) sri:load-system. Loading SIPE-2 will load Grasper-CL and the Act-Editor as subsystems. At SRI, we load define-aic-root.lisp in our base lisp images so they already contain the SRI system code for everyone to use.

Creating a SIPE-2 Image

Follow the above instructions for loading SIPE-2, and evaluate (sri:save-system :sipe) instead of (or after) sri:load-system. To specify your own name for the image, add a :name keyword followed by your image name to the sri:save-system call.

Never call sri:run-system for any system before evaluating a call to sri:save-system.

The next section describes how to create a SIPE-2 image using Makefile commands.

Compiling SIPE-2

If you have complete sources (unlikely) and write permission, the system can be compiled by calling (sri:compile-system :sipe) .

David E. Wilkins wilkins@ai.sri.com
Last modified: Thu Mar 30 18:45:52 2000