ID:               24971
 Updated by:       [EMAIL PROTECTED]
 Reported By:      kis_an at mail dot ru
 Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: Compaq TRU64 v5.1
 PHP Version:      4.3.2
 New Comment:

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



Previous Comments:
------------------------------------------------------------------------

[2003-08-07 07:45:00] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

------------------------------------------------------------------------

[2003-08-07 03:20:47] 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>



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=24971&edit=1

Reply via email to