GUPC requires that correct versions of GMP, MPFR, and MPC libraries are installed on the system that you plan to use for the building process. In most cases, these libraries are already available or can be easily installed using the system update utilities (e.g. the 'yum' utility on Fedora Linux or the 'apt-get' on Debian/Ubuntu).
However, if for some reason you need to build them on your own, the easiest way to install the necessary pre-requisite library sources is to copy them under a directory called 'src', that is created directly below the GNU UPC top-level source tree.
For this purpose, a script 'contrib/download_prerequisites' is available in the GUPC source directory. Simply execute the script from the 'src' directory and appropriate source code of prerequisites will be downloaded.
If for some reason prerequisite libraries are installed in some other directories then default system libraries, you need to add them to your 'LD_LIBRARY_PATH' environment variable.
bash:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:PATH_TO_YOUR_LIBRARIES
csh:
setenv LD_LIBRARY_PATH = $LD_LIBRARY_PATH:PATH_TO_YOUR_LIBRARIES
KB » Configuring GNU UPC






How do I install GNU UPC prerequisite libraries (GMP, MPFR, MPC)?
Email This Article