Le 11/12/2014 08:52, Sebastian Bergmann a écrit :
Hi!
I just updated my notebook to Fedora 21 and am no longer able to
build PHP on it since I now have bison 3.0.2 instead of bison 2.7.
bison 3.0 is blacklisted in Zend/acinclude.m4. Is bison 3.0
incompatible with our parser specification? If so, will it be
upgraded? It's not really a good situation to be incompatible
with current versions of essential tools such as bison.
Best,
Sebastian
Hi,
Ubuntu also only ships 3.0.2, even in LTS and there are no older legacy
versions of Bison available via repositories. With Fedora that's
probably the majority of Linux users that can't compile PHP out of the
box with the instructions provided on php.net.
There is a patch on github to add 3.x support since May but it looks
like it doesn't apply to master anymore and wasn't considered for
integration when it was proposed https://github.com/php/php-src/pull/685
Currently I install Bison 2.7 manually before compiling PHP (I am doing
it to test my own apps and make sure I don't have bugs to report before
PHP 7 is released), but it's inconvenient.
Would it be possible to get 3.0.2 support for the master branch? If
that's not doable, I would suggest adding instructions on the GitHub
README to compile PHP on popular Linux distros including instructions on
where to find bison 2.7 libraries for their distro.
Thanks!
Pascal
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php