报错如下
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/zm/pcre-8.33':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
解决方案
1.安装C++
yum install gcc-c++ //安装C++编译环境
C编译器缺失报错及解决方案
博客展示了一段报错信息,提示在 $PATH 中未找到可接受的 C 编译器。随后给出解决方案,即通过命令“yum install gcc-c++”安装 C++ 编译环境,以解决该报错问题。
11万+

被折叠的 条评论
为什么被折叠?



