最近在Centos7安装一些软件./configure时出现

configure: error: C preprocessor "/lib/cpp" fails sanity check

可能原因

没有安装kernel-headers

yum install kernel-headers

重试,一切OK

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-06
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-15
  • 2022-12-23
  • 2021-06-10
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案