1、报错内容
[root@wrx memcached-2.1.0]# ./configure --with-php-config=/usr/bin/php-config checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for cc... no checking for gcc... no configure: error: in `/root/memcached-2.1.0': configure: error: no acceptable C compiler found in $PATH
2、系统环境
[root@wrx memcached-2.1.0]# cat /proc/version Linux version 2.6.32-696.el6.x86_64 (mockbuild@c1bm.rdu2.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC) )
3、解决方法
[root@wrx memcached-2.1.0]# yum install gcc -y