Hi, I'm trying to install GCC 4.8.4 on my Redhat 6 workstation. I have already installed gmp gmp-devel mpfr mpfr-devel libmpc libmpc-devel packages through yum. When I tried to configure it, I get the following error: ... checking for the correct version of gmp.h... yes checking for the correct version of mpfr.h... no configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ 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. I have checked, the mpfr.h is there in /usr/include, since mpfr-devel is already installed. When I look into config.log I found these errors: configure:5462: checking for the correct version of gmp.h configure:5482: gcc -c -g -O2 conftest.c >&5 configure:5482: $? = 0 configure:5500: gcc -c -g -O2 conftest.c >&5 configure:5500: $? = 0 configure:5501: result: yes configure:5517: checking for the correct version of mpfr.h configure:5535: gcc -c -g -O2 conftest.c >&5 In file included from conftest.c:11: /usr/include/mpfr.h:125: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__mpfr_struct' /usr/include/mpfr.h:185: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /usr/include/mpfr.h:186: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /usr/include/mpfr.h:199: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char' /usr/include/mpfr.h:238: error: expected ')' before 'mp_exp_t' /usr/include/mpfr.h:263: error: expected declaration specifiers or '...' before 'mpfr_srcptr' /usr/include/mpfr.h:274: error: expected declaration specifiers or '...' before '__gmp_const' /usr/include/mpfr.h:276: error: expected declaration specifiers or '...' before '__gmp_const' /usr/include/mpfr.h:279: error: expected declaration specifiers or '...' before 'mpfr_srcptr' ... There many similar errors after this. Anyone is familiar with this? Thanks Ritchie