doubi9999 2015-12-20 12:19
浏览 94

配置PHP 7.0.1时,如何修复C ++预处理器“/ lib / cpp”会导致健全性检查错误

I installed gcc 5.3.0 from source code on mac os x 10.11, and i have set gcc 5.3.0 in the environment variable $PATH.

But when I configure PHP 5.5.30, it shows

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

How can i fix this? How can i use c++/cpp from gcc 5.3.0 instead of the old version of gnu c++?

  • 写回答

1条回答 默认 最新

  • doujianjian2060 2018-12-12 14:32
    关注

    You'll need to install g++; I once had this problem on an RHEL 5.2 distribution, and the problem was solved by installing the 'gcc-c++' rpm.

    评论

报告相同问题?

悬赏问题

  • ¥15 seatunnel-web使用SQL组件时候后台报错,无法找到表格
  • ¥15 fpga自动售货机数码管(相关搜索:数字时钟)
  • ¥15 用前端向数据库插入数据,通过debug发现数据能走到后端,但是放行之后就会提示错误
  • ¥15 python天天向上类似问题,但没有清零
  • ¥30 3天&7天&&15天&销量如何统计同一行
  • ¥30 帮我写一段可以读取LD2450数据并计算距离的Arduino代码
  • ¥15 C#调用python代码(python带有库)
  • ¥15 飞机曲面部件如机翼,壁板等具体的孔位模型
  • ¥15 vs2019中数据导出问题
  • ¥20 云服务Linux系统TCP-MSS值修改?