php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6081 Cannot compile Zend: Problems with bison [Roxen-SAPI]
Submitted: 2000-08-10 17:11 UTC Modified: 2000-08-11 07:57 UTC
From: Oliver at Fink dot SH Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Latest CVS (10/08/2000) OS: Linux 2.2.14 (S.u.S.E.)
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: Oliver at Fink dot SH
New email:
PHP Version: OS:

 

 [2000-08-10 17:11 UTC] Oliver at Fink dot SH
I have problems to compile for the Roxen Module the latest CVS because of problems in the Zend directory.
Maybe I do something wrong, but this is how I try to build:

Getting the PHP4 CVS
Getting Zend and TSRM from CVS in the php4-Directory
Copying bcmath files
./buildconf
./configure --prefix=/opt/php4 --with-roxen=/usr/local/roxen/server --enable-roxen-zts \
  --with-config-file-path=/opt/php4/etc --enable-magic-quotes --disable-short-tags --enable-bcmath \
  --enable-calendar --enable-ftp --without-gd --with-mysql=/usr --with-pgsql=/usr/lib/pgsql \
  --enable-trans-id --with-regex=php --enable-sysvsem --enable-sysvshm
make

buildconf: autoconf version 2.13 (ok)
buildconf: automake version 1.4 (ok)
buildconf: libtool version 1.3.4 (ok)

After that I get this:
  /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..   -D_REENTRANT \ 
  -DXML_BYTE_ORDER=12 -I../TSRM  -g -O2 -pthread -c zend-parser.c
  /usr/share/bison.simple:157: conflicting types for `zendparse'
  zend_globals_macros.h:37: previous declaration of `zendparse'
  /usr/share/bison.simple: In function `zendparse':
  /usr/share/bison.simple:219: number of arguments doesn't match prototype
  /usr/share/bison.simple:157: prototype declaration
  make[1]: *** [zend-parser.lo] Error 1
  make[1]: Leaving directory `/home/of/work/php4/Zend'
  make: *** [all-recursive] Error 1

By the way, bison has version 1.25 and flex 2.5.4.

I had this problem since I tried to build from CVS, first time yesterday. Am I doing something wrong or
is this a known bug? 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-11 07:57 UTC] Oliver at Fink dot SH
Sorry, I did not see

  http://bugs.php.net/bugs.php?id=4622

right in time.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 25 10:01:27 2024 UTC