This section describes how to acquire the Qt application development environment and install CSPM.
Qt 3.0 or later must be installed on the system before you install CSPM. Follow these steps to acquire and configure Qt:
Download the Qt X/11 Free Edition from http://www.trolltech.com for the latest version of Qt.
Follow Trolltech's instructions for installing Qt.
Run ./configure with the -thread switch to the configure program so that Qt is installed to run in multithreaded mode.
# ./configure -thread |
Be sure to export the variables QTDIR and LD_LIBRARY_PATH, as described in the Qt installation instructions that are downloaded with the software.
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.
Follow these steps to install CSPM from the rpm file:
Download the CSPM rpm file from SourceForge at http://sourceforge.net/projects/cspm. The program name for CSPM is spm2.
Install the software:
# rpm -ihv --nodeps spm2-1.0-1.586.rpm |
The rpm creates the binary call spm2 in the current directory.
Follow these steps to install CSPM from the tar file:
Download the CSPM tar file from SourceForge at http://sourceforge.net/projects/cspm. The program name for CSPM is spm2.
Untar the spm2.tar.gz file:
# tar xvzf spm2.tar.gz |
Compile CSPM:
# make all |
The make command creates the binary call spm2 in the current directory.
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.