出现checking how to run the C preprocessor... /lib/cpp configure: error: C preprocessor "/lib/cpp" fails sanity check
是由于没有安装kernel-headers
安装yum install kernel-headers时如果出现Plugin "product-id" can't be imported Loaded plugins: fastestmirror, langpac
禁用加速插件,修改/etc/yum/pluginconf.d/fastestmirror.conf
将enabled = 1//由1改为0,禁用该插件
修改yum.conf
把exclude= 的内容注释掉即可
安装python3出现checking how to run the C preprocessor... /lib/cpp
暂无回复