[Index] [Table of Contents] [Go to Previous] [Go to Next]


Building and Installing McIDAS-X 2004

Next, complete the steps below to build and install McIDAS-X 2004. Run each command from the ~mcidas directory.

    1. Log on to the workstation as mcidas .

    2. Build McIDAS-X 2004 using the appropriate command below. The default optimization is -O2 for builds with vendor compilers and -O1 for builds with gcc/g77. To build with no optimization, specify the flag -noopt before make in the command you enter.

    If you are using the default compilers (vendor on AIX, HP-UX, IRIX and Solaris SPARC systems; gcc/g77 on Solaris x86, Linux and Mac OS X systems),

    If you are using the gcc/g77 compilers on an AIX, HP-UX, IRIX or Solaris SPARC system,

    This step first makes the ~mcidas installation directories and ~mcidas/mcidas2004 package directories (see the tables below). Then, it uncompresses the data files, source files, and man pages. Finally, it makes the help files, compiles the source code, and writes the compiler output to the file ~mcidas/mcidas2004/src/makelog . The message below is displayed when the build is successfully completed.

    ./mcidas2004.sh: Make completed normally.

    3. Verify that no McIDAS-X sessions are running. Then enter the command below to uninstall the previous version of McIDAS-X, replacing version# with the number of the version (for example, 2003).

    This step removes the hard links between the files in the ~mcidas/mcidas version# directories and the appropriate directories in ~mcidas . The message below appears when the uninstall is successfully completed.

    ./mcidasversion#
    
    .sh: Uninstall completed normally.

    4. Install McIDAS-X 2004.

    This step creates hard links from the files in the ~mcidas/mcidas2004 package directories to the appropriate ~mcidas installation directories. The message below is displayed when the install is successfully completed.

    ./mcidas2004.sh: Install completed normally.

Installation Directories

The install process makes hard links (as opposed to symbolic links) between the installation directories and the files in the package directories. The uninstall process simply removes the hard links. The installation directories and their contents are listed below.

Directory

Contents

~mcidas/bin

program executables

~mcidas/data

data files

~mcidas/help

help files

~mcidas/inc

include files

~mcidas/lib

libraries

~mcidas/man

man files for subroutines and functions

~mcidas/tcl

Tcl and Tk executables and libraries

Other McIDAS packages also make hard links in the installation directories. Thus the installation directories are the repositories for all McIDAS packages currently installed.

Package Directories

Each version of McIDAS-X and other McIDAS packages (for example, McIDAS-XCD) builds its own set of directories. The names of the directories depend on the package name and version number. The McIDAS-X package directories and their contents are listed below.

Directory

Contents

~mcidas/mcidas200 x /data

McIDAS-X data files

~mcidas/mcidas200 x /gzip

gzip 1.2.4 files for gzip compression

~mcidas/mcidas200 x /hdf

HDF 4.1r5 files for the MODIS servers

~mcidas/mcidas200 x /jpeg

JPEG v.6b files for the FRMSAVE command

~mcidas/mcidas200 x /libgeotiff

GeoTIFF 1.2.1 files for the GeoTIFF server

~mcidas/mcidas200 x /man

McIDAS-X man files for subroutines and functions

~mcidas/mcidas200 x /netcdf

netCDF 3.5.0 files for ADDE servers

~mcidas/mcidas200 x /src

McIDAS-X source files, help files, and binaries

~mcidas/mcidas200 x /tcl

Tcl 8.4.2 files for the GUI

~mcidas/mcidas200 x /tiff

TIFF 3.6.1 files for the GeoTIFF server

~mcidas/mcidas200 x /tk

Tk 8.4.2 files for the GUI

~mcidas/mcidas200 x /zlib

zlib 1.1.4 files for the NEXRAD servers


[Index] [Table of Contents] [Go to Previous] [Go to Next]