在Mac OS X Mavericks上从源安装PHPNG

I'm installing php-ng from source:

https://wiki.php.net/phpng

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.

Managed to solve this by copying over the brew bison located here into /usr/bin not sure why brew didnt handle this?

Or you can use YACC env variables to specific that.

YACC=/path/to/bison ./configure (---args)