Installing PHPNG from source on Mac OS X Mavericks
-
21-12-2019 - |
Question
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.
Solution
Managed to solve this by copying over the brew bison located here into /usr/bin not sure why brew didnt handle this?
OTHER TIPS
Or you can use YACC env variables to specific that.
YACC=/path/to/bison ./configure (---args)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow