next up previous contents
Next: Open Issues Up: No Title Previous: Bootstrapping

Building a Release

To release ASTERIX we generate an exportable copy of the source code using the export_source top level target. We supply this file plus the mk script to Starlink who build it on each system. They check that the install and deinstall targets work ok, then they build the binary export version using export. It is this machine specific file which is released, along with a news item and update to SUN/98.

To test a release go through the same process, building ASTERIX on a scratch area. It is essential that you do the following before you start,

Once you've done this set up, invoke the top level build target, logging both standard output and errors. Here's the whole thing to this point, starting from building the release.
   # Create test directory and tell mk that this is where the exported
   # source will go

   % mkdir /scratch/asterix/test_build
   % setenv EXPORT /scratch/asterix/test_build

   # Build the release and copy the 'mk' script

   % cd /star/asterix
   % mk export_source
   % cp mk /scratch/asterix/test_build/

   # Unpack the source archive

   % cd /scratch/asterix/test_build/
   % zcat asterix.tar | tar xvf -

   # Build the system

   % ./mk build >&build.log &
Now inspect the log file. Look for the word 'error' using an editor. The only occurance of this word should be in the names of routines, eg. serror. Once this has worked try the install and deinstall phases.
   # Set installation directory

   % setenv INSTALL /scratch/asterix/test_install

   % ./mk install >&install.log &
Again look for errors in the log file. Once installed you should be able to redefine the aststart command to run the installed version. You must try this before you release the system, as this is the mode in which everyone else in the world uses the system. Once you've tested it, check the deinstall target in the same way -- this restores the system to the built state.



next up previous contents
Next: Open Issues Up: No Title Previous: Bootstrapping



Asterix
Tue Oct 7 12:01:41 BST 1997