编程爱好者之家

configure: error: no acceptable C compiler found in $PATH 问题解决

2018-03-12 15:37:38 260

今天在安装memecache的时候运行命令 ./configure --prefix=/usr/lib/memcached

提示configure: error: no acceptable C compiler found in $PATH

因为是centos linux,默认可以采用yum方式安装,则采用如下命令安装gcc编译器即可:

安装下就可以了:

yum -y install gcc

同类文章