安装CentOS6服务器环境遇到的编译错误

no acceptable C compiler found in $PATH

yum -y install gcc

configure: error: C++ compiler cannot create executables

yum install gcc gcc-c++ gcc-g77

error: no curses/tempcap library found

yum -y install ncurses-devel

Configure: error: XML configuration could not be found

yum -y install libxml2 libxml2-devel

configure: error: Can’t find OpenSSL’s <evp.h

yum -y install openssl openssl-devel

configure error please reinstall libcurl distribution

yum -y install curl-devel

configure error not found ldap.h

yum install openldap-devel

Can’t locate extUtils/makemaker.pm

Can’t locate CPAN.pm

yum -y install perl-CPAN

configure: error: libjpeg.(a|so) not found‎

yum -y install libjpeg-devel

#freetype.h not found
yum -y install freetype-devel