Bug #17916 Updated: yacc issue

From: Date: Sun, 23 Jun 2002 03:10:15 +0000
Subject: Bug #17916 Updated: yacc issue
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11816@lists.php.net to get a copy of this message
ID: 17916 Updated by: mlong@mlong.org Reported By: mlong@mlong.org Status: Feedback Bug Type: Compile Failure Operating System: Tru64 5.0A PHP Version: 4.0CVS-2002-06-21 New Comment: I'm using tru64 5.0A without any additional programs except bison. So I am not using autoconf, etc. All prior versions of PHP haven't required any additional programs to compile under tru64 Previous Comments: ------------------------------------------------------------------------ [2002-06-22 14:37:46] sander@php.net Which version of autoconf, automake and libtool are you using? You shouldn't use autoconf 2.5x because it's buggy, you'd better use 2.13. ------------------------------------------------------------------------ [2002-06-22 13:41:12] mlong@mlong.org I just did that and get the same problem [root@wtpdev /web]# rm -Rf php4-200206210000 [root@wtpdev /web]# tar xf php4-200206210000.tar [root@wtpdev /web]# cd php4-200206210000 [root@wtpdev php4-200206210000]# ./configure . . . Thank you for using PHP. [root@wtpdev php4-200206210000]# make cc -Iext/ctype/ -I/web/php4-200206210000/ext/ctype/ -DPHP_ATOM_INC -I/web/php4- 200206210000/include -I/web/php4-200206210000/main -I/web/php4-200206210000 -I/w eb/php4-200206210000/Zend -I/web/php4-200206210000/ext/xml/expat -I/web/php4-20 0206210000/TSRM -g -c /web/php4-200206210000/ext/ctype/ctype.c -o ext/ctype/cty pe.o && echo > ext/ctype/ctype.lo . . . cc -Imain/ -I/web/php4-200206210000/main/ -DPHP_ATOM_INC -I/web/php4-2002062100 00/include -I/web/php4-200206210000/main -I/web/php4-200206210000 -I/web/php4-20 0206210000/Zend -I/web/php4-200206210000/ext/xml/expat -I/web/php4-200206210000 /TSRM -g -c /web/php4-200206210000/main/user_streams.c -o main/user_streams.o && echo > main/user_streams.lo Make: Don't know how to make /zend_language_parser.c. Stop. [root@wtpdev php4-200206210000]# ------------------------------------------------------------------------ [2002-06-22 08:38:44] sander@php.net You need clean up your source dir and re-run configure after you've installed bison. Just remove your old source dir and decompress the src tarball and try again. Reopen this report if the problem persists. ------------------------------------------------------------------------ [2002-06-21 18:22:49] mlong@mlong.org Compiling php4-200206210000 yacc /web/php4-200206210000/ext/standard/parsedate.y fatal error: invalid escape, or illegal reserved word: expect, line 184 *** Exit 1 Stop. The yacc is the one from compaq that came with the OS. I then installed GNU Bison and got: cc -Imain/ -I/web/php4-200206210000/main/ -DPHP_ATOM_INC -I/web/php4-2002062100 00/include -I/web/php4-200206210000/main -I/web/php4-200206210000 -I/web/php4-20 0206210000/Zend -I/web/php4-200206210000/ext/xml/expat -I/web/php4-200206210000 /TSRM -g -c /web/php4-200206210000/main/memory_streams.c -o main/memory_streams .o && echo > main/memory_streams.lo cc -Imain/ -I/web/php4-200206210000/main/ -DPHP_ATOM_INC -I/web/php4-2002062100 00/include -I/web/php4-200206210000/main -I/web/php4-200206210000 -I/web/php4-20 0206210000/Zend -I/web/php4-200206210000/ext/xml/expat -I/web/php4-200206210000 /TSRM -g -c /web/php4-200206210000/main/user_streams.c -o main/user_streams.o && echo > main/user_streams.lo Make: Don't know how to make /zend_language_parser.c. Stop. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17916&edit=1

« previous php.bugs (#11816) next »