Bug #17853 Updated: byacc/yacc error while compiling
| From: | sniper@php.net | Date: | Thu, 20 Jun 2002 22:55:38 +0000 |
| Subject: | Bug #17853 Updated: byacc/yacc error while compiling | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-11617@lists.php.net to get a copy of this message | ||
ID: 17853
Updated by: sniper@php.net
Reported By: jeroen@vogelpoel.dot.com
-Status: Feedback
+Status: Bogus
Bug Type: Compile Failure
Operating System: Linux Mandrake 8.1
PHP Version: 4.0CVS-2002-06-19
New Comment:
This is not any bug. If you really have bison installed,
the binary would be called 'bison' and for flex 'flex'.
Check your PATH..
Previous Comments:
------------------------------------------------------------------------
[2002-06-20 17:18:54] jeroen@vogelpoel.dot.com
php4-200206191200 (CVS snapshot, as recommended for use with Apache
2.0.39)
httpd-2.0.39
bison-1.35
flex-2.5.4
Btw, thank you in advance for any time spent working on this :)
------------------------------------------------------------------------
[2002-06-20 11:29:01] mfischer@php.net
Can you exactly tell us which versions you've installed?
------------------------------------------------------------------------
[2002-06-20 11:06:17] jeroen@vogelpoel.dot.com
Both Bison and Flex are installed and working on my system. I have
compiled (older) PHP versions before and it all worked perfectly then.
------------------------------------------------------------------------
[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