CoralReef is known to work under FreeBSD (2.7, 2.8, 3.0, and 3.1), Linux (2.0.36 and 2.2 pre*) and Solaris 2.5. It should work on other POSIX systems as well.
Before installing CoralReef you need to know what command name to type to use the GNU version of make. On FreeBSD and Solaris this is normally gmake. On Linux it is normally make. Try the following command on your system:
gmake -v
if that fails try:
make -v
And look for the name ``GNU Make'' in the output (it's normally in the first line).
If neither of these succeed you need to have GNU make installed on your your system before you continue. Consult your system administrator.
The commands that follow are written as if gmake is the correct command. Replace gmake with make if appropriate.
You must also decide where you are going to install CoralReef. This differs depending on whether you want to install it system wide or in your own private file space. Wherever you choose the install process will create a subdirectory Coral with further subdirectories for the libraries (lib), header files (include), executable user programs (bin) and system administration commands (etc).
The standard, system wide, location is /usr/local/. If you are installing CoralReef in your own directory space we recommend you use the same top level directory as you download the file to in step below.
gunzip < downloadedfile.tar.gz | tar -xf -
A directory for the current version of CoralReef will be created. Go to that directory.
./configure --prefix=your_install_directory
gmake depend
gmake
gmake install
Note: If you choose to install CoralReef system wide this command must be executed as root.
To use CoralReef commands you will need to include the bin directory in your path. If you use sh or bash as your shell use a command like:
PATH=${PATH}:coral_install_dir/bin ; export PATH
If you use csh or tcsh use a command like:
setenv PATH ${PATH}:coral_install_dir/bin
If you're not sure try the csh version and if that gives you an error message use the sh version.
Test out the installation by downloading a trace file (e.g.):
../../traces/ODU-926843183.crl.enc and running the command:
crl_time ODU-926843183.crl.enc.
If everything checks out you can tidy up by typing:
gmake clean
in the root directory of the distribution and by removing the download file.
1The current version was
3.3.1 at the time these exercises were developed