Bug #17853 Updated: byacc/yacc error while compiling
| From: | jeroen at vogelpoel dot dot dot com | Date: | Thu, 20 Jun 2002 15:06:17 +0000 |
| Subject: | Bug #17853 Updated: byacc/yacc error while compiling | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-11567@lists.php.net to get a copy of this message | ||
ID: 17853
Updated by: jeroen@vogelpoel.dot.com
Reported By: jeroen@vogelpoel.dot.com
Status: Bogus
Bug Type: Compile Failure
Operating System: Linux Mandrake 8.1
PHP Version: 4.0CVS-2002-06-19
New Comment:
Both Bison and Flex are installed and working on my system. I have
compiled (older) PHP versions before and it all worked perfectly then.
Previous Comments:
------------------------------------------------------------------------
[2002-06-19 19:07:47] sniper@php.net
Install GNU bison and flex. Not a bug.
--Jani
------------------------------------------------------------------------
[2002-06-19 17:00:24] jeroen@vogelpoel.dot.com
Okay, so here's what happened:
I downloaded the latest CVS snapshot for use with Apache 2.0.39, which
I configured with the following set of options to be compiled:
'./configure' '--with-apxs2=/usr/local/apache2/bin/apxs'
'--enable-bcmath' '--enable-calendar' '--enable-ftp'
'--enable-magic
-quotes'
'--with-mysql=/usr/local/etc/mysql-3.23.49a-pc-linux-gnu-i686/'
'--with-pear' '--enable-versioning' '--enable-exif'
'--with-gd=/root/downloads/etc/gd
-1.8.4' '--with-jpeg-dir=/root/downloads/etc/jpeg-6b'
'--with-png-dir=/root/downloads/etc/libpng-1.2.2'
'--with-zlib-dir=/root/downloads/etc/zlib-1.1.4'
It configured fine and I expected it to operate normally like it did
before with Apache 2.0.35 and PHP 4.2.1, however, after allot of
compiling it messed up at zend_language_parser.c, giving me the
following error.
byacc -p zend -v -d
/root/downloads/etc/php4-200206191200/Zend/zend_language_parser.y -o
Zend/zend_language_parser.c
usage: yacc [-dlrtv] [-b file_prefix] [-o output_filename]
[-p symbol_prefix] filename
make: *** [Zend/zend_language_parser.c] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17853&edit=1