php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24971 Compilation process fail under TRU64 v5.1
Submitted: 2003-08-07 03:20 UTC Modified: 2003-08-08 06:03 UTC
From: kis_an at mail dot ru Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.2 OS: Compaq TRU64 v5.1
Private report: No CVE-ID: None
 [2003-08-07 03:20 UTC] kis_an at mail dot ru
Description:
------------
Compilation process fail with next error (compilation was made with root):

<code>

yacc  /home/admin/tmp/php-4.3.2/ext/standard/parsedate.y

 fatal error: invalid escape, or illegal reserved word: expect, line 154
*** Exit 1
Stop.

</code>

configure was made (without any errors): ./configure --with-oci8=$ORACLE_HOME --with-apxs=/usr/local/apache/bin/apxs           --enable-sigchild

Any suggestions?

Reproduce code:
---------------
Code from parsedate.y:

<code>

153:/* This grammar has 14 shift/reduce conflicts. */
154:%expect 14
155:%pure_parser
156:
157:%token	tAGO tDAY tDAY_UNIT tDAYZONE tDST tHOUR_UNIT tID
158:%token	tMERIDIAN tMINUTE_UNIT tMONTH tMONTH_UNIT
159:%token	tSEC_UNIT tSNUMBER tUNUMBER tYEAR_UNIT tZONE

</code>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-08-07 07:46 UTC] sniper@php.net
And make sure you're using working GNU versions of bison and flex too.

# bison --version
GNU Bison version 1.28
# flex --version
flex version 2.5.4

 [2003-08-08 00:15 UTC] kis_an at mail dot ru
I do install bison 1.35 and flex 2.5.4 after this build PHP 4.3.2 ended successfull!
Great thanx and regards!
 [2003-08-08 00:18 UTC] kis_an at mail dot ru
Sorry! I'm forget to close this bug!
 [2003-08-08 03:29 UTC] sniper@php.net
Not exactly PHP bug -> bogus.

 [2003-08-08 06:03 UTC] kis_an at mail dot ru
Yes of course BOGUS !!!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 12 02:01:34 2024 UTC