#44627 [Opn->Csd]: Compile fails; Error in tokenizer.c
| From: | php6 at andrieslouw dot nl | Date: | Sat, 05 Apr 2008 17:42:23 +0000 |
| Subject: | #44627 [Opn->Csd]: Compile fails; Error in tokenizer.c | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-123989@lists.php.net to get a copy of this message | ||
ID: 44627
User updated by: php6 at andrieslouw dot nl
Reported By: php6 at andrieslouw dot nl
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: CentOS 5
PHP Version: 6CVS-2008-04-03 (snap)
New Comment:
I don't know exactly what changed, but my installation updates again.
So this bug is solved.
Previous Comments:
------------------------------------------------------------------------
[2008-04-03 13:49:40] php6 at andrieslouw dot nl
Is there something that I can do to solve the error? Like installing
from another source?
------------------------------------------------------------------------
[2008-04-03 13:45:19] scottmac@php.net
The version of re2c is out of date on the snaps box and is causing this
error.
------------------------------------------------------------------------
[2008-04-03 13:12:50] php6 at andrieslouw dot nl
Oh, the phpinfo since 31 March 2008 can be found here:
http://www.easy2c.nl/phpinfo.php6
As you can see, the Reproduce code is executed every 12 hours, but
failed since Mar 31 2008 12:00:00 (last succeeded at Mar 31 2008
03:00:17). The problem started in the snapshot between those 2
dates/times.
------------------------------------------------------------------------
[2008-04-03 13:07:50] php6 at andrieslouw dot nl
Description:
------------
Trying to build PHP6 from the latest snapshot fails since 31-Mar-2008.
Reproduce code:
---------------
cd /tmp
rm -f -r php6.0-*
wget http://snaps.php.net/php6.0-latest.tar.gz
tar -xzvf php6.0-latest.tar.gz
cd php6.0-*/
./configure --prefix=/usr/local/php6 --with-curl=/usr/local/lib
--with-gd --enable-gd-native-ttf --with-gettext
--with-icu-dir=/usr/local/icu --with-jpeg-dir=/usr/local/lib
--with-freetype-dir=/usr/local/lib --with-kerberos --with-openssl
--with-mcrypt --with-mhash --with-mysql=/usr
--with-mysqli=/usr/bin/mysql_config --with-png-dir=/usr/local/lib
--with-zlib --with-zlib-dir=/usr/local/lib --enable-zip
--with-iconv=/usr/local --enable-bcmath --enable-calendar --enable-ftp
--enable-sockets --enable-mbstring --disable-mbregex
make && make install
Expected result:
----------------
An CGI-install in the /usr/local/php6 dir, my code worked since
February 2008, but fails since 31 of March 2008.
Actual result:
--------------
## Config succeeds, but make fails, last lines: ##
/bin/sh /tmp/php6.0-200804031230/libtool --silent --preserve-dup-deps
--mode=compile gcc -Iext/tokenizer/
-I/tmp/php6.0-200804031230/ext/tokenizer/ -DPHP_ATOM_INC
-I/tmp/php6.0-200804031230/include -I/tmp/php6.0-200804031230/main
-I/tmp/php6.0-200804031230 -I/usr/local/icu/include
-I/tmp/php6.0-200804031230/ext/ereg/regex -I/usr/local/include/libxml2
-I/usr/kerberos/include -I/tmp/php6.0-200804031230/pcrelib
-I/usr/local/include -I/tmp/php6.0-200804031230/ext/date/lib
-I/usr/local/include/freetype2
-I/tmp/php6.0-200804031230/ext/mbstring/libmbfl
-I/tmp/php6.0-200804031230/ext/mbstring/libmbfl/mbfl
-I/usr/include/mysql -I/tmp/php6.0-200804031230/TSRM
-I/tmp/php6.0-200804031230/Zend -I/usr/local/include -g -O2
-fvisibility=hidden -c
/tmp/php6.0-200804031230/ext/tokenizer/tokenizer.c -o
ext/tokenizer/tokenizer.lo
/tmp/php6.0-200804031230/ext/tokenizer/tokenizer.c: In function
'zif_token_get_all':
/tmp/php6.0-200804031230/ext/tokenizer/tokenizer.c:169: error:
'yycINITIAL' undeclared (first use in this function)
/tmp/php6.0-200804031230/ext/tokenizer/tokenizer.c:169: error: (Each
undeclared identifier is reported only once
/tmp/php6.0-200804031230/ext/tokenizer/tokenizer.c:169: error: for each
function it appears in.)
make: *** [ext/tokenizer/tokenizer.lo] Error 1
[root@server1 home]#
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44627&edit=1