The first step in installing mSQL is obtaining the source distribution. At the time of this writing, the newest versions of mSQL were only distributed through the Hughes Technology web page at http://www.Hughes.com.au. The author of mSQL has chosen not to officially distribute binary copies of mSQL. If you are on a machine without a C compiler, you will either have to install one, or compile mSQL on another machine with the same hardware and operating system and copy over the results.
Once you have the mSQL source distribution, unpack it using the following:
gunzip -c msql-126.96.36.199.tar.gz | tar xvf -
This will create a directory with the name msql-188.8.131.52 within the current directory. Change to the new directory.
Create the installation directory for your machine by running the following command:
Now change to the targets directory. Within this directory there should be a new directory with the name of your operating system and hardware (e.g., Solaris-2.6-Sparc or Linux-2.0.33-i386). Change to this new directory.
Run the setup script in the current directory. Make sure you invoke it as ./setup so that the shell doesn't run any program named setup in another directory instead. This script will configure the source code for compilation. After this script has competed, examine the site.mm file and change any parameters you wish in order to customize your local installation. In particular, you may wish to change the INST_DIR variable that determines the directory where mSQL will be installed.
After you are satisfied with the configuration, run the following to compile mSQL:
To summarize, a sequence of installation steps looks like this:
Copyright © 2001 O'Reilly & Associates. All rights reserved.