有效解决glibc升级过程遇到的坑。Glibc编译报错:These critical programs are missing or too old: make bison compiler
注意依赖循序
gmp-4.3.2
../configure --prefix=/usr/local/gmp-4.3.2
mpfr-2.4.2
../configure --prefix=/usr/local/mpfr-2.4.2 --with-gmp=/usr/local/gmp-4.3.2
mpc-0.8.1
../configure --prefix=/usr/local/mpc-0.8.1 --with-gmp=/usr/local/gmp-4.3.2 --with-mpfr=/usr/local/mpfr-2.4.2
gcc-5.4.0
../configure --prefix=/usr/local/gcc-5.4.0 --enable-threads=posix --disable-checking --disable-multilib --enable-languages=c,c++ --with-gmp=/usr/local/gmp-4.3.2 --with-mpfr=/usr/local/mpfr-2.4.2 --with-mpc=/usr/local/mpc-0.8.1
1