Installing CSPM and its requirements

Complete System Performance Monitor HOWTO
Prev |  | Next

# 4. Installing CSPM and its requirements

This section describes how to acquire the Qt application development environment and install CSPM.

## 4.1. Installing Qt 3.0 or later

Qt 3.0 or later must be installed on the system before you install CSPM. Follow these steps to acquire and configure Qt:

1. Download the Qt X/11 Free Edition from http://www.trolltech.com for the latest version of Qt.

2. Follow Trolltech's instructions for installing Qt.

3. Run ./configure with the `-thread` switch to the configure program so that Qt is installed to run in multithreaded mode.

       # ./configure -thread

4. Be sure to export the variables QTDIR and LD_LIBRARY_PATH, as described in the Qt installation instructions that are downloaded with the software.

## 4.2. Installing CSPM

The following sections describe how to download and install CSPM. These steps must be run by the root user. The installation process creates a directory called `spm` and places all the files in that directory.

### 4.2.1. Installing from rpm

Follow these steps to install CSPM from the rpm file:

1. Download the CSPM rpm file from SourceForge at http://sourceforge.net/projects/cspm. The program name for CSPM is `spm2`.

2. Install the software:

       # rpm -ihv --nodeps spm2-1.0-1.586.rpm

   The rpm creates the binary call spm2 in the current directory.

### 4.2.2. Installing from tar

Follow these steps to install CSPM from the tar file:

1. Download the CSPM tar file from SourceForge at http://sourceforge.net/projects/cspm. The program name for CSPM is `spm2`.

2. Untar the `spm2.tar.gz` file:

       # tar xvzf spm2.tar.gz

3. Compile CSPM:

       # make all

   The make command creates the binary call spm2 in the current directory.

## 4.3. Starting the CSPM monitor

The `spm2` program should be run by a user other than root so that any changes to the default preference settings can be changed.

Enter the following command from the directory where CSPM is installed:

    # ./spm2

If a segmentation fault occurs when spm2 is starting up, make sure that you have set the QTDIR and LD_LIBRARY_PATH variables, as described in the Qt installation instructions that are downloaded with the software.

Prev | Home | Next
Requirements |  | Modifying CSPM defaults