Bug #65571 [Com]: Compiling fails with - missing binary operator before token "extern"
Edit report at https://bugs.php.net/bug.php?id=65571&edit=1 ID: 65571 Comment by: pascal at nobus dot be Reported by:tony dot ar dot wright at bt dot com Summary:Compiling fails with - missing binary operator before token "extern" Status: Open Type: Bug Package:Compile Failure Operating System: SuSE 9 PHP Version:5.5.3 Block user comment: N Private report: N New Comment: I had the same problem on php-5.4.19 This on a slackware-10.1 Tried the snapshot (php5.4-201309091030), and it seems to be fixed there? However I have no idea with what change the bug is fixed. Previous Comments: [2013-08-28 09:37:25] tony dot ar dot wright at bt dot com Description: I installed 5.5.2 ok but when I tried to install 5.5.3 I get the error message: In file included from Zend/zend_language_scanner.l:40: Zend/zend_language_parser.h:40:1: missing binary operator before token "extern" make: *** [Zend/zend_language_scanner.lo] Error 1 Configure options used: './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-ftp' '--witho ut-ldap' '--enable-sockets' '--with-gd' '--with-freetype-dir' '--without-mcrypt' '--with-zlib-dir' '--with-png-dir' '--with-oci8=/export/oracle/product/10.2.0/d b_1' '--with-openssl' -- Edit this bug report at https://bugs.php.net/bug.php?id=65571&edit=1
Bug #65571 [Com]: Compiling fails with - missing binary operator before token "extern"
Edit report at https://bugs.php.net/bug.php?id=65571&edit=1 ID: 65571 Comment by: pascal at nobus dot be Reported by:tony dot ar dot wright at bt dot com Summary:Compiling fails with - missing binary operator before token "extern" Status: Feedback Type: Bug Package:Compile Failure Operating System: SuSE 9 PHP Version:5.5.3 Block user comment: N Private report: N New Comment: For the slackware-OS: (also php-5.4.20 has this problem) # flex -V flex 2.5.33 # bison -V bison (GNU Bison) 2.3 Previous Comments: [2013-10-01 14:36:01] m...@php.net What are your flex/bison versions? [2013-09-09 12:33:28] pascal at nobus dot be I had the same problem on php-5.4.19 This on a slackware-10.1 Tried the snapshot (php5.4-201309091030), and it seems to be fixed there? However I have no idea with what change the bug is fixed. [2013-08-28 09:37:25] tony dot ar dot wright at bt dot com Description: I installed 5.5.2 ok but when I tried to install 5.5.3 I get the error message: In file included from Zend/zend_language_scanner.l:40: Zend/zend_language_parser.h:40:1: missing binary operator before token "extern" make: *** [Zend/zend_language_scanner.lo] Error 1 Configure options used: './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-ftp' '--witho ut-ldap' '--enable-sockets' '--with-gd' '--with-freetype-dir' '--without-mcrypt' '--with-zlib-dir' '--with-png-dir' '--with-oci8=/export/oracle/product/10.2.0/d b_1' '--with-openssl' -- Edit this bug report at https://bugs.php.net/bug.php?id=65571&edit=1
Bug #65571 [Com]: Compiling fails with - missing binary operator before token "extern"
Edit report at https://bugs.php.net/bug.php?id=65571&edit=1 ID: 65571 Comment by: pascal at nobus dot be Reported by:tony dot ar dot wright at bt dot com Summary:Compiling fails with - missing binary operator before token "extern" Status: Suspended Type: Bug Package:Compile Failure Operating System: SuSE 9 PHP Version:5.5.3 Block user comment: N Private report: N New Comment: apologies for my previous post, I was on the wrong server # flex -V flex version 2.5.4 # bison -V bison (GNU Bison) 1.35 I'll try to get a later bison-version Previous Comments: [2013-10-01 15:21:54] m...@php.net Looks like you have to use bison2.4 - 2.7 to build from a source checkout. [2013-10-01 15:05:47] pascal at nobus dot be For the slackware-OS: (also php-5.4.20 has this problem) # flex -V flex 2.5.33 # bison -V bison (GNU Bison) 2.3 [2013-10-01 14:36:01] m...@php.net What are your flex/bison versions? [2013-09-09 12:33:28] pascal at nobus dot be I had the same problem on php-5.4.19 This on a slackware-10.1 Tried the snapshot (php5.4-201309091030), and it seems to be fixed there? However I have no idea with what change the bug is fixed. [2013-08-28 09:37:25] tony dot ar dot wright at bt dot com Description: I installed 5.5.2 ok but when I tried to install 5.5.3 I get the error message: In file included from Zend/zend_language_scanner.l:40: Zend/zend_language_parser.h:40:1: missing binary operator before token "extern" make: *** [Zend/zend_language_scanner.lo] Error 1 Configure options used: './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-ftp' '--witho ut-ldap' '--enable-sockets' '--with-gd' '--with-freetype-dir' '--without-mcrypt' '--with-zlib-dir' '--with-png-dir' '--with-oci8=/export/oracle/product/10.2.0/d b_1' '--with-openssl' -- Edit this bug report at https://bugs.php.net/bug.php?id=65571&edit=1
Bug #65571 [Com]: Compiling fails with - missing binary operator before token "extern"
Edit report at https://bugs.php.net/bug.php?id=65571&edit=1 ID: 65571 Comment by: pascal at nobus dot be Reported by:tony dot ar dot wright at bt dot com Summary:Compiling fails with - missing binary operator before token "extern" Status: Suspended Type: Bug Package:Compile Failure Operating System: SuSE 9 PHP Version:5.5.3 Block user comment: N Private report: N New Comment: I updated to bison-1.875 (compiled from source), but this didn't matter indeed. The problem appeared in php-5.4.19 and was not there in php-5.4.18. I could build it just fine from complete source tarball. Previous Comments: [2013-10-01 15:35:25] m...@php.net If you build release tarballs, the bison version should not matter, though. [2013-10-01 15:29:19] pascal at nobus dot be apologies for my previous post, I was on the wrong server # flex -V flex version 2.5.4 # bison -V bison (GNU Bison) 1.35 I'll try to get a later bison-version [2013-10-01 15:21:54] m...@php.net Looks like you have to use bison2.4 - 2.7 to build from a source checkout. ---- [2013-10-01 15:05:47] pascal at nobus dot be For the slackware-OS: (also php-5.4.20 has this problem) # flex -V flex 2.5.33 # bison -V bison (GNU Bison) 2.3 [2013-10-01 14:36:01] m...@php.net What are your flex/bison versions? 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=65571 -- Edit this bug report at https://bugs.php.net/bug.php?id=65571&edit=1
Bug #65571 [Com]: Compiling fails with - missing binary operator before token "extern"
Edit report at https://bugs.php.net/bug.php?id=65571&edit=1 ID: 65571 Comment by: pascal at nobus dot be Reported by:tony dot ar dot wright at bt dot com Summary:Compiling fails with - missing binary operator before token "extern" Status: Not a bug Type: Bug Package:Compile Failure Operating System: SuSE 9 PHP Version:5.5.3 Block user comment: N Private report: N New Comment: I couldn't compile 2.7, so tried first the latest from the 1-version. Now I tried 2.4.1, which I could compile. However the problem stays the same. /bin/sh /usr/local/src/php-5.4.20/libtool --silent --preserve-dup-deps -- mode=compile cc -IZend/ -I/usr/local/src/php-5.4.20/Zend/ -DPHP_ATOM_INC - I/usr/local/src/php-5.4.20/include -I/usr/local/src/php-5.4.20/main - I/usr/local/src/php-5.4.20 -I/usr/local/src/php-5.4.20/ext/date/lib - I/usr/local/src/php-5.4.20/ext/ereg/regex -I/usr/include/libxml2 - I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/src/php- 5.4.20/ext/sqlite3/libsqlite -I/usr/local/src/php-5.4.20/TSRM - I/usr/local/src/php-5.4.20/Zend-I/usr/include -g -O2 -c /usr/local/src/php- 5.4.20/Zend/zend_language_scanner.c -o Zend/zend_language_scanner.lo In file included from Zend/zend_language_scanner.l:40: Zend/zend_language_parser.h:40:1: missing binary operator before token "extern" make: *** [Zend/zend_language_scanner.lo] Error 1 # bison -V bison (GNU Bison) 2.4.1 Previous Comments: [2013-10-01 15:54:53] m...@php.net Sorry for my ignorance, but (for me) 1.875 does not lie between 2.4 and 2.7 ---- [2013-10-01 15:47:58] pascal at nobus dot be I updated to bison-1.875 (compiled from source), but this didn't matter indeed. The problem appeared in php-5.4.19 and was not there in php-5.4.18. I could build it just fine from complete source tarball. [2013-10-01 15:35:25] m...@php.net If you build release tarballs, the bison version should not matter, though. -------- [2013-10-01 15:29:19] pascal at nobus dot be apologies for my previous post, I was on the wrong server # flex -V flex version 2.5.4 # bison -V bison (GNU Bison) 1.35 I'll try to get a later bison-version [2013-10-01 15:21:54] m...@php.net Looks like you have to use bison2.4 - 2.7 to build from a source checkout. 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=65571 -- Edit this bug report at https://bugs.php.net/bug.php?id=65571&edit=1
Bug #65571 [Com]: Compiling fails with - missing binary operator before token "extern"
Edit report at https://bugs.php.net/bug.php?id=65571&edit=1 ID: 65571 Comment by: pascal at nobus dot be Reported by:tony dot ar dot wright at bt dot com Summary:Compiling fails with - missing binary operator before token "extern" Status: Not a bug Type: Bug Package:Compile Failure Operating System: SuSE 9 PHP Version:5.5.3 Block user comment: N Private report: N New Comment: That worked! Build complete. I've also tried your trick with the old bison (1.35), and that works also. Previous Comments: [2013-10-01 16:33:30] ni...@php.net @pascal: Could you try to do a `touch Zend/zend_language_parser.y` and then run `make` again? Likely the parser is not being regenerated, because it didn't change in the meantime. ---- [2013-10-01 16:27:01] pascal at nobus dot be I couldn't compile 2.7, so tried first the latest from the 1-version. Now I tried 2.4.1, which I could compile. However the problem stays the same. /bin/sh /usr/local/src/php-5.4.20/libtool --silent --preserve-dup-deps -- mode=compile cc -IZend/ -I/usr/local/src/php-5.4.20/Zend/ -DPHP_ATOM_INC - I/usr/local/src/php-5.4.20/include -I/usr/local/src/php-5.4.20/main - I/usr/local/src/php-5.4.20 -I/usr/local/src/php-5.4.20/ext/date/lib - I/usr/local/src/php-5.4.20/ext/ereg/regex -I/usr/include/libxml2 - I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/src/php- 5.4.20/ext/sqlite3/libsqlite -I/usr/local/src/php-5.4.20/TSRM - I/usr/local/src/php-5.4.20/Zend-I/usr/include -g -O2 -c /usr/local/src/php- 5.4.20/Zend/zend_language_scanner.c -o Zend/zend_language_scanner.lo In file included from Zend/zend_language_scanner.l:40: Zend/zend_language_parser.h:40:1: missing binary operator before token "extern" make: *** [Zend/zend_language_scanner.lo] Error 1 # bison -V bison (GNU Bison) 2.4.1 [2013-10-01 15:54:53] m...@php.net Sorry for my ignorance, but (for me) 1.875 does not lie between 2.4 and 2.7 -------- [2013-10-01 15:47:58] pascal at nobus dot be I updated to bison-1.875 (compiled from source), but this didn't matter indeed. The problem appeared in php-5.4.19 and was not there in php-5.4.18. I could build it just fine from complete source tarball. [2013-10-01 15:35:25] m...@php.net If you build release tarballs, the bison version should not matter, though. 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=65571 -- Edit this bug report at https://bugs.php.net/bug.php?id=65571&edit=1