The 'iepmtools' directory contains the gzipped distribution files for the various tools (probes and otherwise) required for IEPM-BW. The 'install-iepmtools' script can be used to install the tools contained in this directory. There are two associative arrays where the tools, their gzipped files, binaries and required links are specified. This is documented in the code. The 'install-iepmtools' script does the following:

  1. 'gunzip's the source distribution
  2. Uses tar to extract the source into a directory
  3. Runs ./configure in the directory - if there is no ./configure, a message will be printed and the step is ignored
  4. Runs make to make the code
  5. Locates the needed binaries (as specified in the array %clients_servers)
  6. Copies them to the IEPM-BW bin directory
  7. Makes any required links.
  8. After the binaries are copied to the bin directory, and the links are defined, the installation program pauses to allow the user to look at the output from step 1-7 for each tool that is made.

This is a simple script, and may not be extendable to all packages which someone might want to install with it. It should never be run from a cron job, only from the command line. It requires that the IEPM-BW installation be in the standard form. The base directory is '/home/iepm/v3src', the binaries are to be loaded into '/home/iepm/v3src/bin', and the iepmtools directory is '/home/iepm/v3src/iepmtools'.

 

  • No labels