Bug #69055 [Wfx]: Bison 3.0.2 not supported

From: Date: Sun, 15 Feb 2015 13:24:31 +0000
Subject: Bug #69055 [Wfx]: Bison 3.0.2 not supported
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-190697@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69055&edit=1 ID: 69055 User updated by: worldoffame at hotmail dot com Reported by: worldoffame at hotmail dot com Summary: Bison 3.0.2 not supported Status: Wont fix Type: Bug Package: *Compile Issues Operating System: Ubuntu 14 PHP Version: 5.5Git-2015-02-15 (Git) Block user comment: N Private report: N New Comment: Okay, thanks. The code works, I use Bison 2.7.1 now. Previous Comments: ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ [2015-02-15 08:25:10] worldoffame at hotmail dot com Description: ------------ Well it appears that for PHP 5.5 Bison 3.0 is not supported. I use command sudo apt-get install bison, which acquires Bison 3.0.2 for me. When I run the ./configure command as specified by PHP internal book on building PHP from source, I get an error message: Documentation: http://www.phpinternalsbook.com/build_system/building_php.html Error Message: 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 2.6.3 2.6.4 2.6.5 2.7 (found 3.0). This appears to be a major problem as the only bison version I can get is Bison 3.0.2 using apt-get install bison. Tried Bison 2.7.1 with apt-get install bison=2:2.7.1.dfsg-1, but it says version number is invalid. For this reason, I am stuck with Bison 3.0.2. It is very inconvenient that Bison 3.0.2 is not supported for PHP 5.5, please fix this or maybe, release a patch? ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69055&edit=1

« previous php.bugs (#190697) next »