Re: PHP 5.4.10 can not build Zend/PHP parsers with bison 2.6.5

From: Date: Tue, 15 Jan 2013 03:35:07 +0000
Subject: Re: PHP 5.4.10 can not build Zend/PHP parsers with bison 2.6.5
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message


On 01/14/2013 05:16 PM, Dennis Clarke wrote:
Dear PHP/Zend folks :
     This is a bug I think. I recently saw that PHP had been updated to 5.4.10 and I
decided to update my php bits in /usr/local. I was quite surprised to see in the configure output this warning about bison : checking for bison... bison -y checking for bison version... invalid configure: WARNING: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1 2.4.2 2.4.3 2.5 2.5.1 2.6 2.6.1 2.6.2 (found: 2.6.5).
     This seems odd to me as bison 2.6.5 builds and tests perfectly on my Solaris 10
server and so therefore I wonder what these PHP folks are on about? Is this a "Warning" or a real configure fault? If the latter then I need to backout bison in order to build PHP and then re-install a perfectly functional bison ? Dennis Clarke
Unless you are hacking PHP you can ignore Bison. Check the Makefile for where it is used. The PHP distribution contains Zend/zend_language_parser.[ch] and php-5.5/Zend/zend_ini_parser.[ch] already built from their respective .y files so bison is not generally invoked when building PHP. Of course, if 2.6.5 is verified than it should be added to bison_version_list in Zend/acinclude.m4. Feel free to regenerate the parsers with it, review the test suite results, and create a github pull request. Chirs -- [email protected] http://twitter.com/ghrd Newly updated, free PHP & Oracle book: http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html

Thread (9 messages)

« previous php.internals (#64965) next »