Bug #73570 [Com]: build error
| From: | rishikesh dot chandan at zohocorp dot com | Date: | Wed, 23 Nov 2016 07:10:43 +0000 |
| Subject: | Bug #73570 [Com]: build error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-205561@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73570&edit=1
ID: 73570
Comment by: rishikesh dot chandan at zohocorp dot com
Reported by: rishikesh dot chandan at zohocorp dot com
Summary: build error
Status: Feedback
Type: Bug
Package: *Compile Issues
Operating System: windows 8.1
PHP Version: 7.0.13
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
My apology.
I did not realize that bison was already installed in my system. I did follow every steps correctly
but somehow bison.exe was taken from System's directory. Anyway i removed the already installed
bison and it worked like a charm.
Thank you for your help.
Previous Comments:
------------------------------------------------------------------------
[2016-11-22 11:49:12] cmb@php.net
Well, bison 2.4.1 is the proper version, but I've just noticed:
> C:\Program Files\ux-utils\bison.exe
Where did you install the PHP SKD binary tools? Normally, that
should be in C:\php-sdk\, so the bison executable should be
C:\php-sdk\bin\bison.exe.
Did you forget step 2 of the compilation instructions[1]?
[1]
<https://wiki.php.net/internals/windows/stepbystepbuild#compile>
------------------------------------------------------------------------
[2016-11-22 06:05:56] rishikesh dot chandan at zohocorp dot com
bison version is 2.4.1
------------------------------------------------------------------------
[2016-11-21 13:04:31] cmb@php.net
What's your bison version (
bison --version)?
------------------------------------------------------------------------
[2016-11-21 08:08:07] rishikesh dot chandan at zohocorp dot com
Description:
------------
---
From manual page: http://www.php.net/faq.build
---
trying to compile PHP 7.0.13 and extension using steps given by https://wiki.php.net/internals/windows/stepbystepbuild
I am getting following error
bison.exe --output=Zend/zend_language_parser.c -v -d -p zend Zend/zend_language_parser.y
zend/zend_language_parser.y:49: unrecognized: %code
zend/zend_language_parser.y:49: Skipping to next %
zend/zend_language_parser.y:52: unrecognized: %destructor
zend/zend_language_parser.y:52: Skipping to next %
zend/zend_language_parser.y:53: unrecognized: %destructor
zend/zend_language_parser.y:53: Skipping to next %
NMAKE : fatal error U1077: '"C:\Program Files\ux-utils\bison.exe"' : return
code '0x1'
Stop.
FYI I am using windows 8.1 and visual studio 2015
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73570&edit=1