The GNU MPFR Library (multiple-precision floating-point computations with correct rounding)
MPC (arithmetic of complex numbers with arbitrarily high precision and correct rounding)
configure: error: Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify their locations. Source code for these libraries can be found at their respective hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also http://gcc.gnu.org/install/prerequisites.html for additional info. If you obtained GMP, MPFR and/or MPC from a vendor distribution package, make sure that you have installed both the libraries and the header files. They may be located in separate packages.
GNU M4 (needed by gmp/configure: checking for suitable m4)
MPFR depends on GMP. The MPFR configure script may need help to find the GMP library and header files, e.g.
configure --with-gmp=/usr/local(see INSTALL file).
MPC depends on MPFR and GMP. The MPC configure script can be informed about the whereabouts of gmp and mpfr, e.g.
configure --with-gmp=/usr/local --with-mpfr=/usr/local(see INSTALL file).