Bug #75105 [Com]: zend_ini_parser.y:294: error: syntax error before '(' token
| From: | php at geoff dot dj | Date: | Tue, 11 Jun 2019 16:51:45 +0000 |
| Subject: | Bug #75105 [Com]: zend_ini_parser.y:294: error: syntax error before '(' token | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-221227@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75105&edit=1
ID: 75105
Comment by: php at geoff dot dj
Reported by: 813577991 at qq dot com
Summary: zend_ini_parser.y:294: error: syntax error before
'(' token
Status: No Feedback
Type: Bug
Package: Compile Failure
Operating System: linux
PHP Version: 7.1.8
Block user comment: N
Private report: N
New Comment:
For what it's worth, for anyone else finding this same issue (as I have) when building on older
servers, the issue is in the test for valid versions of yacc/bison. The test sometimes fails to
correctly identify that the version is too old.
My fix was simply to add
php_cv_bison_version=invalid
to the section just before
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $php_cv_bison_version" >&5
fi
case $php_cv_bison_version in
""|invalid)
in the configure file - since if you have an invalid bison version the recompile won't attempt
to rebuild the parsers, which (if all you're doing is recompiling without changing the parser)
doesn't matter anyway.
Previous Comments:
------------------------------------------------------------------------
[2018-11-18 22:32:47] cmb@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
------------------------------------------------------------------------
[2018-08-13 01:45:18] carusogabriel@php.net
Can you confirm if this bug is still opened? Sounds like was temporarily, and should be fixed by
now.
------------------------------------------------------------------------
[2017-10-27 09:18:46] graylilitheva at hotmail dot com
just delete this line
it seems work
------------------------------------------------------------------------
[2017-08-22 07:02:42] 813577991 at qq dot com
Description:
------------
when I compile, following errors stoped the process:
/bin/sh /root/php-7.1.8/libtool --silent --preserve-dup-deps --mode=compile cc
-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -IZend/ -I/root/php-7.1.8/Zend/ -DPHP_ATOM_INC
-I/root/php-7.1.8/include -I/root/php-7.1.8/main -I/root/php-7.1.8 -I/root/php-7.1.8/ext/date/lib
-I/usr/include/libxml2 -I/root/php-7.1.8/ext/sqlite3/libsqlite -I/root/php-7.1.8/TSRM
-I/root/php-7.1.8/Zend -I/usr/include -g -O2 -DZEND_SIGNALS -c
/root/php-7.1.8/Zend/zend_ini_parser.c -o Zend/zend_ini_parser.lo
/root/php-7.1.8/Zend/zend_ini_parser.y: In function `yydestruct':
/root/php-7.1.8/Zend/zend_ini_parser.y:294: error: syntax error before '(' token
/root/php-7.1.8/Zend/zend_ini_parser.y:294: error: syntax error before '(' token
/root/php-7.1.8/Zend/zend_ini_parser.y:294: error: syntax error before '(' token
/root/php-7.1.8/Zend/zend_ini_parser.y:294: error: syntax error before '(' token
/root/php-7.1.8/Zend/zend_ini_parser.y:294: error: syntax error before '(' token
/root/php-7.1.8/Zend/zend_ini_parser.y:294: error: syntax error before '(' token
/root/php-7.1.8/Zend/zend_ini_parser.y:294: error: syntax error before '(' token
/root/php-7.1.8/Zend/zend_ini_parser.y:294: error: syntax error before '(' token
/root/php-7.1.8/Zend/zend_ini_parser.y:294: error: syntax error before '(' token
/root/php-7.1.8/Zend/zend_ini_parser.y:294: error: syntax error before '(' token
/root/php-7.1.8/Zend/zend_ini_parser.y:294: error: syntax error before '(' token
make: *** [Zend/zend_ini_parser.lo] Error 1
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75105&edit=1