众所周知,在安装完Centos完了以后,是没有编译环境的,我自己挂上光盘,手动安装解决了几十的依赖关系,在配置些软件时,还是经常报些依赖软件包的缺失,很是头疼,后来百度了下centos需要装的编译环境,在这里记录下(使用yum安装)
yum install gcc gcc-c++ gcc-g77 fl ex bison autoconf automake b zip 2-devel zlib-devel nc urses-devel libjpeg-devel libpng-devel libtiff-devel free type-devel pam-devel openssl-devel libxml2-devel gettext-devel pcre-devel,如果嫌麻烦的话,那就直接yum groupinstall "Development tools"
yum install gcc gcc-c++ gcc-g77 fl ex bison autoconf automake b zip 2-devel zlib-devel nc urses-devel libjpeg-devel libpng-devel libtiff-devel free type-devel pam-devel openssl-devel libxml2-devel gettext-devel pcre-devel,如果嫌麻烦的话,那就直接yum groupinstall "Development tools"