php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2358 Build dies on zend_compile.c and parsedate.y
Submitted: 1999-09-22 15:21 UTC Modified: 1999-09-26 11:02 UTC
From: crandall at matchlogic dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Beta 2 OS: Solaris 2.6
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: crandall at matchlogic dot com
New email:
PHP Version: OS:

 

 [1999-09-22 15:21 UTC] crandall at matchlogic dot com
Trying to build the CGI version of 4.0b2 on Solaris 2.6 using either gcc or Sun's Workshop Pro cc.

% ./configure
% make
...
cc -DHAVE_CONFIG_H -I. -I/home/dvlp/crandall/src/php-4.0b2/./libzend -I.     -g 
-g -c zend_compile.c
"zend_compile.c", line 697: syntax error before or at: /
"zend_compile.c", line 700: warning: statement not reached
"zend_compile.c", line 718: syntax error before or at: void
"zend_compile.c", line 723: undefined symbol: last_op_number
"zend_compile.c", line 734: undefined symbol: ptr
"zend_compile.c", line 735: cannot recover from previous errors
cc: acomp failed for zend_compile.c
*** Error code 2
make: Fatal error: Command failed for target `zend_compile.o'

I did note this message from configure,

configure: warning: You will need bison if you want to regenerate the Zend parser.

However, if bison is required for a simple configuration then configure should bail when
bison isn't found.
 

...

yacc   parsedate.y && mv y.tab.c parsedate.c
"parsedate.y", line 152: fatal: invalid escape, or illegal reserved word: expect
*** Error code 1
make: Fatal error: Command failed for target `parsedate.c'

...

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-09-26 11:02 UTC] sas at cvs dot php dot net
This should be fixed in the upcoming beta 3. Stay tuned
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Oct 12 15:00:01 2026 UTC