#17853 [Com]: byacc/yacc error while compiling

From: Date: Sat, 20 Dec 2003 09:33:16 +0000
Subject: #17853 [Com]: byacc/yacc error while compiling
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-52337@lists.php.net to get a copy of this message
ID: 17853 Comment by: Georgie_Kurien at usswi dot com Reported By: jeroen at vogelpoel dot dot dot com Status: Bogus Bug Type: Compile Failure Operating System: Linux Mandrake 8.1 PHP Version: 4.0CVS-2002-06-19 New Comment: I was having a similar problem with PHP4.3.4 compilation. The solution, removing byacc (rpm -e byacc) and removed the config.cache from the php source directory worked. Thanks a lot. Previous Comments: ------------------------------------------------------------------------ [2002-06-25 18:41:08] gary dot evans at ubizen dot com I had the same problem discussed here, I removed byacc (rpm -e byacc) and removed the config.cache from the php source directory. It then complied fine. Seems that theres some issue with byacc with this version of the PHP code. removing byacc and deleting the config.cache file solved it by forcing make to use bison instead of byacc. hope that helps. ------------------------------------------------------------------------ [2002-06-20 18:55:38] sniper@php.net This is not any bug. If you really have bison installed, the binary would be called 'bison' and for flex 'flex'. Check your PATH.. ------------------------------------------------------------------------ [2002-06-20 17:18:54] jeroen at vogelpoel dot dot 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 at vogelpoel dot dot 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. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/17853 -- Edit this bug report at http://bugs.php.net/?id=17853&edit=1

« previous php.bugs (#52337) next »