Contents of MPFR
Installed libraries: libmpfr.so
Installed directory: /usr/share/doc/mpfr-4.2.2
The MPFR package contains functions for multiple precision math.
Prepare MPFR for compilation:
./configure --prefix=/usr \
--disable-static \
--enable-thread-safe \
--docdir=/usr/share/doc/mpfr-4.2.2Compile the package and generate the HTML documentation:
make make html
![[Important]](../images/important.png)
The test suite for MPFR in this section is considered critical. Do not skip it under any circumstances.
Test the results and ensure that all 198 tests passed:
make check 2>&1 | tee mpfr-check-log
awk '/# PASS:/{total+=$3} ; END{print total}' mpfr-check-log || trueInstall the package and its documentation:
make install make install-html