Installing MPC
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following commands to decompress the MPC installation package:
tar -xvf mpc-1.0.3.tar.gz
- Run the following command to go to MPC source code directory:
cd mpc-1.0.3
- Run the following commands to perform compilation and installation:
./configure --prefix=/path/to/MPC --with-gmp=/path/to/GMP --with-mpfr=/path/to/MPFR make make install
- Run the following command to set the environment variable:
export LD_LIBRARY_PATH=/path/to/MPC/lib:$LD_LIBRARY_PATH
Parent topic: Setting Up the Environment for the Cluster Scenario