php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3606 --enable-bcmath breaks Zend build
Submitted: 2000-02-24 09:36 UTC Modified: 2000-03-02 13:06 UTC
From: kk at netuse dot de Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Latest CVS (24/02/2000) OS: SunOS wwwx 5.7 Generic_106541-08
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: kk at netuse dot de
New email:
PHP Version: OS:

 

 [2000-02-24 09:36 UTC] kk at netuse dot de
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXML_BYTE_ORDER=21 -D_POSIX_PTHREAD_SEMANTICS
-D_REENTRANT -g -O2 -Wall -c zend_operators.c -o zend_operators.o
zend_operators.c: In function `zendi_smart_strcmp':
zend_operators.c:1302: `bc_num' undeclared (first use in this function)
zend_operators.c:1302: (Each undeclared identifier is reported only once
zend_operators.c:1302: for each function it appears in.)
zend_operators.c:1302: parse error before `first'
zend_operators.c:1305: warning: implicit declaration of function `init_num'
zend_operators.c:1305: `first' undeclared (first use in this function)
zend_operators.c:1306: `second' undeclared (first use in this function)
zend_operators.c:1307: warning: implicit declaration of function `str2num'
zend_operators.c:1309: warning: implicit declaration of function `bc_compare'
zend_operators.c:1311: warning: implicit declaration of function `free_num'
make[1]: *** [zend_operators.lo] Error 1
make[1]: Leaving directory `/home/kk/Source/php4/Zend'
make: *** [all-recursive] Error 1
strip: php: cannot open file.
        No such file or directory
mcs: php: cannot open file.
        No such file or directory

(Using a configure statement including about everything)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-01 16:39 UTC] joey at cvs dot php dot net
You need to get the bcmath stuff. PHP cannot bundle these bcz of licensing restrictions.
You can download them at:
http://www.php.net/version4/do_download.php?download_file=number.tar.gz
 [2000-03-02 06:32 UTC] kk at cvs dot php dot net
Thanks.

The error message is not particularly meaningful. I suggest
that the build process checks for availability of the
bcmath stuff and indicates where to download this if the
required files are missing.

In fact, I suggest that all configure fragments handle this
as follows:

- if the configuration option requests that a module is
  included, but the config stuff cannot find that module
  under the indicated location and any of the default
  locations,
- configure issues a warning including the URL where the
  missing module can be downloaded.

 [2000-03-02 13:06 UTC] joey at cvs dot php dot net
I logged your comments as a feature request...thanks for the input!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 19 14:01:32 2024 UTC