Obtain Perl 5.6.1 or later. Download it and unpack it into a directory srcdir/perl/src where srcdir is the directory containing the source to SysInfo™. As of SysInfo™ 6.0-GA, Perl is a required component. Without Perl, SysInfo™ CLI, GUI, and Perl APIs will not function.
If you wish to use the SysInfo™ GUI, download a copy of Perl-Tk and unpack it into a directory srcdir/perlmodules/Tk/src where srcdir is the directory containing the source to SysInfo™. If you just want to use the SysInfo™ Command Line Interface (CLI), you can skip this step.
Follow the instructions to Download the source distribution. You should have a file named mcsysinfo-6.0-GA.tar.gz
Unpack the distribution:
gzip -d mcsysinfo-6.0-GA.tar.gz | tar -xf -
By default, configure will choose the name of the compiler which is correct for the system platform. However, if you have done things like make cc a link to gcc this may not work correctly in some cases. See the Build Notes for more specific details.
If you need to specify a compiler to use, then specify one now by setting the environment variable $CC to the name of the compiler to use. For csh users use:
setenv CC compiler
For sh/bash/ksh users use:
CC=compiler;export CC
where compiler is the name of the compiler to use. i.e cc or gcc.
./configure
Without any options configure will build SysInfo™ with an installation directory of /opt/sysinfo. If you wish to specify an installation directory, then use the --prefix=dir argument. For instance, to use /tools/sysinfo as the main directory, run:
./configure --prefix=/tools/sysinfo
Now compile and build everything by running make (make sure to use GNU make):
make
If you are installing into a directory where SysInfo™ is already installed, you will need to uninstall the existing version or install SysInfo™ into a different directory. To uninstall the existing SysInfo™, run
rm -rf prefix
where prefix is the directory where SysInfo™ is already installed.
To install everything, run the following:
make install
If you are ready to install a license, copy the license file into prefix/config/license.mcl where prefix prefix is the directory which SysInfo™ was installed into.
The installation is now complete. To run SysInfo™, open a shell prompt and run:
mcsysinfo
If you installed SysInfo™ in a directory not in your $PATH then you'll need to specify the full pathname. i.e.
/tools/sysinfo/bin/mcsysinfo