Re: PHP 4.0 Bug #4584: Won't compile with Servlet support
| From: | Rasmus Lerdorf | Date: | Wed, 24 May 2000 21:16:40 +0000 |
| Subject: | Re: PHP 4.0 Bug #4584: Won't compile with Servlet support | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-19413@lists.php.net to get a copy of this message | ||
Make sure you have bison-1.28 installed, then remove the
Zend/zend-parser.c file and rebuild PHP. That should take care of it.
-Rasmus
On 24 May 2000 ChrisL@Reality.co.uk wrote:
> From: ChrisL@Reality.co.uk
> Operating system: RedHat Linux 6.2
> PHP version: 4.0.0 Release
> PHP Bug Type: Compile Failure
> Bug description: Won't compile with Servlet support
>
> Servlet support compiled on RC1 and 2, but stopped with the release. Bare bones configure:
>
> ./configure --with-servlet=/usr/local/java/jakarta/tomcat/classes/
> --with-java=/usr/java/jdk1.2.2/
>
> proceeded by make produces:
>
> Making all in Zend
> make[1]: Entering directory `/usr/local/src/php-4.0.0/Zend'
> /bin/sh ../libtool --silent --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT
> -DXML_BYTE_ORDER=12 -I../TSRM -DTHREAD=1 -pthread -c zend-scanner-cc.cc
> /bin/sh ../libtool --silent --mode=link c++ -pthread -o libZend_cc.la zend-scanner-cc.lo
> /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT
> -DXML_BYTE_ORDER=12 -I../TSRM -DTHREAD=1 -g -O2 -pthread -Wall -c zend-parser.c
> /usr/lib/bison.simple:153: conflicting types for `zendparse'
> zend_globals_macros.h:37: previous declaration of `zendparse'
> /usr/lib/bison.simple: In function `zendparse':
> /usr/lib/bison.simple:219: number of arguments doesn't match prototype
> /usr/lib/bison.simple:153: prototype declaration
> make[1]: *** [zend-parser.lo] Error 1
> make[1]: Leaving directory `/usr/local/src/php-4.0.0/Zend'
> make: *** [all-recursive] Error 1
>
> Stats:
> RedHat 6.2 with Apache 1.3.12 compiled from source
> Tomcat 3.1 compiled from source
> Blackdown JDK 1.2.2 RC3
>
>
>