I'm installing php-ng from source:
configure: error: bison is required to build PHP/Zend when building a GIT checkout!
I have bison installed so I don't understand
bison (GNU Bison) 2.3
I have also installed bison using homebrew this installs version 3.0 but for some reason it's still using version 2.3 (not sure if this is an issue?) and my /usr/local/bin appears before my /usr/bin (strange one) Brew says my system is ready and raring to brew.
Hope someone can help,
Cheers.
通过将位于此处的Brew野牛复制到/ usr / bin设法解决了这个问题,不知道为什么brew没有处理这个问题?
或者,您可以使用YACC env变量来具体说明。
YACC=/path/to/bison ./configure (---args)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.