Edit report at https://bugs.php.net/bug.php?id=69055&edit=1
ID: 69055
Updated by: tyrael@php.net
Reported by: worldoffame at hotmail dot com
Summary: Bison 3.0.2 not supported
-Status: Wont fix
+Status: Re-Opened
Type: Bug
Package: *Compile Issues
Operating System: Ubuntu 14
-PHP Version: 5.5Git-2015-02-15 (Git)
+PHP Version: 5.6.27
-Assigned To:
+Assigned To: tyrael
Block user comment: N
Private report: N
New Comment:
indeed, our exclude check only check major+micro version, so the current 3.0 in the PHP-5.6 branch
won't allow 3.0.2 bison for example.
let me fix that.
Previous Comments:
------------------------------------------------------------------------
[2016-07-27 05:52:43] ju1ius at laposte dot net
This bug still exists as of today using PHP-5.6 git branch.
Bison 2 is not available in debian stable anymore. https://packages.debian.org/search?keywords=bison
According to the docs, 3.0.4 should work, but configure does not accept it.
------------------------------------------------------------------------
[2016-07-15 02:28:45] pbw at pbw dot id dot au
The bison check excludes bison 3.0, but the PHP manual at http://php.net/manual/en/install.unix.php
says of the bison requirement for building 5.6
bison:
PHP 5.6: 2.4 or later, excluding 3.0 only (3.0.1 and later are OK)
Is this true? If it is, then the bison test needs to be extended to accommodate
major.minor.whatever, so that the exclusion is specific to 3.0. If not, the documentation needs to
be changed.
------------------------------------------------------------------------
[2015-06-09 15:11:25] hek2mgl at metashock dot net
Even PHP 5.6 requires bison 2
------------------------------------------------------------------------
[2015-02-15 13:24:31] worldoffame at hotmail dot com
Okay, thanks. The code works, I use Bison 2.7.1 now.
------------------------------------------------------------------------
[2015-02-15 08:57:32] rasmus@php.net
Use PHP 5.6, or install an older Bison:
wget http://launchpadlibrarian.net/140087283/libbison-dev_2.7.1.dfsg-1_amd64.deb
wget http://launchpadlibrarian.net/140087282/bison_2.7.1.dfsg-1_amd64.deb
dpkg -i libbison-dev_2.7.1.dfsg-1_amd64.deb
dpkg -i bison_2.7.1.dfsg-1_amd64.deb
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=69055
--
Edit this bug report at https://bugs.php.net/bug.php?id=69055&edit=1