一、安装编译环境
1、安装gcc
1)安装gcc
yum install gcc gcc-c++
1)下载wget https://mirrors.tuna.tsinghua.edu.cn/gnu/gcc/gcc-5.2.0/gcc-5.2.0.tar.gz升级gcc-5.2.0
./configure
make&&make install
以上报错需要安装gmp mpfr mpc
./configure --disable-multilib
2、安装automake
yum install automake
3、下载https://ftp.gnu.org/gnu/automake/更新automake
4、下载https://www.freedesktop.org/wiki/Software/pkg-config/安装pkg-config
./configure --with-internal-glib
make
make install
5、安装git
6、安装libtool
7、安装openssl