执行 ./configure 命令报错:no acceptable cc found in $PATH
关键词:configure: error: no acceptable cc found in $PATH、./configure
[admin@vm80523 lrzsz-0.12.20]$ ./configure creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking for gcc... no checking for cc... no configure: error: no acceptable cc found in $PATH
代表你没有安装C编译器,安装一下GCC
执行 yum -y install gcc-c++命令进行安装,安装完后,输入gcc -v检查是否安装成功
然后再执行./configure 就不会报错了
原创文章,转载请说明出处,谢谢合作