Req #64492 [Opn]: ./configure fails under bison 2.7 environment
Edit report at https://bugs.php.net/bug.php?id=64492&edit=1
ID: 64492
Updated by: sixd@php.net
Reported by: user at zuse dot jp
Summary: ./configure fails under bison 2.7 environment
Status: Open
Type: Feature/Change Request
Package: Compile Failure
Operating System: OSX 10.7
PHP Version: master-Git-2013-03-22 (Git)
Block user comment: N
Private report: N
New Comment:
The PHP test suite runs fine with (hand built) bison 2.7 on Oracle Linux 5.9.
The fix for https://bugs.php.net/bug.php?id=64503 means that
2.3 and earlier are no longer usable. I verified this, as did laruence (on IRC he retracted his
email that claimed it was usable). Rasmus is OK with dropping support for 2.3 (see http://news.php.net/php.internals/66810). These
older versions should be removed from Zend/acinclude.m4
Note in https://bugs.php.net/bug.php?id=64503
Remi says 2.4.1 is OK. I haven't seen any results for 2.4.
Previous Comments:
------------------------------------------------------------------------
[2013-03-23 13:38:52] pajoye@php.net
Then we need to fix the code for 2.6+. Right now it fails for ZTS with 2.6.1
already.
------------------------------------------------------------------------
[2013-03-23 13:15:21] mike@php.net
We might add it to master, I'm using 2.7 all-time here, too.
------------------------------------------------------------------------
[2013-03-22 16:29:08] pajoye@php.net
I would suggest to use older versions for now, latest versions are not yet tested
and can create issues.
------------------------------------------------------------------------
[2013-03-22 16:21:28] user at zuse dot jp
Description:
------------
Please add build support for bison 2.7 environment.
Test script:
---------------
$ bison --version
bison (GNU Bison) 2.7
$ autoreconf -i && ./configure
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.7).
configure: error: bison is required to build PHP/Zend when building a GIT checkout!
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64492&edit=1
Thread (6 messages)