PHP 4.0 Bug #6081: Cannot compile Zend: Problems with bison [Roxen-SAPI]
| From: | Oliver at Fink dot SH | Date: | Thu, 10 Aug 2000 21:11:59 +0000 |
| Subject: | PHP 4.0 Bug #6081: Cannot compile Zend: Problems with bison [Roxen-SAPI] | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-28393@lists.php.net to get a copy of this message | ||
From: Oliver@Fink.SH
Operating system: Linux 2.2.14 (S.u.S.E.)
PHP version: 4.0 Latest CVS (10/08/2000)
PHP Bug Type: Compile Failure
Bug description: Cannot compile Zend: Problems with bison [Roxen-SAPI]
I have problems to compile for the Roxen Module the latest CVS because of problems in the Zend
directory.
Maybe I do something wrong, but this is how I try to build:
Getting the PHP4 CVS
Getting Zend and TSRM from CVS in the php4-Directory
Copying bcmath files
./buildconf
./configure --prefix=/opt/php4 --with-roxen=/usr/local/roxen/server --enable-roxen-zts \
--with-config-file-path=/opt/php4/etc --enable-magic-quotes --disable-short-tags --enable-bcmath \
--enable-calendar --enable-ftp --without-gd --with-mysql=/usr --with-pgsql=/usr/lib/pgsql \
--enable-trans-id --with-regex=php --enable-sysvsem --enable-sysvshm
make
buildconf: autoconf version 2.13 (ok)
buildconf: automake version 1.4 (ok)
buildconf: libtool version 1.3.4 (ok)
After that I get this:
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT \
-DXML_BYTE_ORDER=12 -I../TSRM -g -O2 -pthread -c zend-parser.c
/usr/share/bison.simple:157: conflicting types for `zendparse'
zend_globals_macros.h:37: previous declaration of `zendparse'
/usr/share/bison.simple: In function `zendparse':
/usr/share/bison.simple:219: number of arguments doesn't match prototype
/usr/share/bison.simple:157: prototype declaration
make[1]: *** [zend-parser.lo] Error 1
make[1]: Leaving directory `/home/of/work/php4/Zend'
make: *** [all-recursive] Error 1
By the way, bison has version 1.25 and flex 2.5.4.
I had this problem since I tried to build from CVS, first time yesterday. Am I doing something wrong
or
is this a known bug?