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. |
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. |
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 |
Other McIDAS packages also make hard links in the installation directories. Thus the installation directories are the repositories for all McIDAS packages currently installed.
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 |