Re: [PHP4BETA] Installation Problem

From: Date: Thu, 18 Nov 1999 16:36:30 +0000
Subject: Re: [PHP4BETA] Installation Problem
Groups: php.version4 
Request: Send a blank email to php-version4+get-6458@lists.php.net to get a copy of this message
>I had the same compilation error, and reported it as a bug. I was told to >re-run configure without '--enable-thread-safety'. This worked, but it >seems to me that this is still a bug -- we should be able to build with that >flag. Looks like a different error to me. When I compile with --enable-thread-safety, I get all the way to the point where it tries to compile sapi/apache before it dies. It looks like the fixes to those two source files to make it tolerate the --enable-thread-safety mode are straightforward. I'll do a little more testing and if it looks well, I'll check in what I've got. > /bin/sh ./libtool --silent --mode=compile >gcc -DHAVE_CONFIG_H -I. -I/root/transf er/php/php-4.0b3/./libzend -I. -I/usr/local/include -D_REENTRANT -D_POSIX_ PTHR > EAD_SEMANTICS -I../TSRM -g -O2 -g -c -o zend-parser.lo zend-parser.c > /usr/lib/bison.simple:153: conflicting types for `zendparse' > zend_globals_macros.h:39: 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[2]: *** [zend-parser.lo] Error 1 > make[2]: Leaving directory `/root/transfer/php/php-4.0b3/libzend' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/transfer/php/php-4.0b3' > make: *** [all-recursive-am] Error 2 > t-rex:~/transfer/php/php-4.0b3# Typically the response to bison errors is to make sure that you have an up to date version of bison. I'm running 1.28 on RedHat and 1.25 on Windows.

« previous php.version4 (#6458) next »