php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17916 yacc issue
Submitted: 2002-06-21 18:22 UTC Modified: 2002-06-23 17:41 UTC
From: mlong at mlong dot org Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0CVS-2002-06-21 OS: Tru64 5.0A
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mlong at mlong dot org
New email:
PHP Version: OS:

 

 [2002-06-21 18:22 UTC] mlong at mlong dot 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-22 08:38 UTC] 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-22 13:41 UTC] mlong at mlong dot 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 14:37 UTC] 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 23:10 UTC] mlong at mlong dot org
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
 [2002-06-23 17:41 UTC] edink@php.net
To build a release version of PHP you don't need any of those tools since the release tarball contains files produced by autoconf, gnu bison and flex. You do need these tools if you want to build cvs version of PHP.
 [2002-06-24 01:38 UTC] mlong at mlong dot org
OK that explains it perfectly and puts my fears to rest. Thanks for the quick and insightful assistance.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 29 11:01:32 2024 UTC