您的位置:首页 > 编程语言 > PHP开发

This bison version is not supported for regeneration of the Zend/PHP parsers

2016-08-03 10:17 633 查看
在 mac 中编译 php-src.git 报错:

configure: WARNING: This bison version is not supported for regeneration of the Zend/PHP parsers (found: 2.3, min: 204, excluded: ).
configure: error: bison is required to build PHP/Zend when building a GIT checkout!


使用下面的方式未果:

env LDFLAGS='-L/usr/local/opt/bison27/lib' ./configure --disable-all

# 或者

export LDFLAGS=-L/usr/local/opt/bison27/lib


添加 YACC 成功编译:

YACC=/usr/local/opt/bison27/bin/bison ./configure --disable-all


参考自:
https://bugs.php.net/bug.php?id=71343
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐