From: php6 at andrieslouw dot nl Operating system: CentOS 5 PHP version: 6CVS-2008-04-03 (snap) PHP Bug Type: Compile Failure Bug description: Compile fails; Error in tokenizer.c
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 [EMAIL PROTECTED] home]# -- Edit bug report at http://bugs.php.net/?id=44627&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44627&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44627&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44627&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44627&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44627&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44627&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=44627&r=needscript Try newer version: http://bugs.php.net/fix.php?id=44627&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44627&r=support Expected behavior: http://bugs.php.net/fix.php?id=44627&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44627&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44627&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44627&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44627&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44627&r=dst IIS Stability: http://bugs.php.net/fix.php?id=44627&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44627&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44627&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44627&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=44627&r=mysqlcfg