lib.im

Centos7宝塔面板configure: error: C preprocessor "/lib/cpp" fails sanity check
问题使用宝塔面板安装php7.2扩展fileinfo时中断,报错:configure: error: C prep...
扫描右侧二维码阅读全文
24
2019/09

Centos7宝塔面板configure: error: C preprocessor "/lib/cpp" fails sanity check

问题

使用宝塔面板安装php7.2扩展fileinfo时中断,报错:

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

原因:

应自编译升级内核,缺少相应组件

缺少内核组建kernel-ml-headers-***.elrepo.x86_64

解决:

查找:

yum --disablerepo="*" --enablerepo="elrepo-kernel" list available

安装:

yum --enablerepo=elrepo-kernel install kernel-ml-headers

原文链接

Last modification:September 25th, 2019 at 12:17 am
如果觉得我的文章对你有用,请随意赞赏

Leave a Comment