php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43090 Configure / Compile Failure Issues
Submitted: 2007-10-23 22:14 UTC Modified: 2007-10-25 12:05 UTC
From: jerry at scene-naturally dot dyndns dot org Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.2.5RC1 OS: OS X
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: jerry at scene-naturally dot dyndns dot org
New email:
PHP Version: OS:

 

 [2007-10-23 22:14 UTC] jerry at scene-naturally dot dyndns dot org
Description:
------------
1)	Does not work with db-4.6

		Using --with-db4=/usr/local in the configure options 
does not work if you only have db-4.6 installed.
			Editing the configure script; line 28433:
  for LIB in db-4.5 db-4.4 db-4.3 db-4.2 db-4.1 db-4.0 db-4 db4 db; do

 to be 

  for LIB in db-4.6 db-4.5 db-4.4 db-4.3 db-4.2 db-4.1 db-4.0 db-4 db4 
db; do

allows the configure to proceed.

2)	Does not compile with gmp (version 4.2.2) installed.

		using --with-gmp=/usr/local in the configure options 
returns:

			error: /usr/local/lib/libgmp.a(popcount.o) has 
local relocation entries in non-writable section (__TEXT,__text)

3)	Using the pdo-sqlite option will not configure:

		using --enable-pdo=shared --with-sqlite=shared --with-
pdo-sqlite=shared in the configure options returns:

			error: Due to the way that loadable modules 
work on OSX/Darwin, you need to compile the PDO package statically 
into the PHP core.
			Please follow the instructions at: 
http://netevil.org/node.php?nid=202 for more detail on this issue.


		That site has instructions that are many, many years 
out of date for getting this to work for PHP 5.0.4 running on OS X 
10.2. These instructions do not work for PHP5.2.5rc1 running on OS X 
10.4.


4)	The included INSTALL document has incorrect information in 
Chapter 3. Installation on Mac OS X. The subsection entitled 
"Compiling for MacOS X Client" does not tell you how to compile PHP5 
for the OS X client version. Instead, instructions are given to 
download a PHP4 module from a web site that does not not exist. There 
are further errors in the instructions, but that is a moot point.

	The previous section "Compiling for OS X Server" is chock full 
of very outdated instructions for building PHP4 -- not PHP5 for very 
old versions of OS X server -- versions that very few folks use.


5)	Does not compile with libbind from BIND9 installed.
		Installing BIND v 9.4.1?P1 on OS X causes a conflict 
for PHP5.2.5rc1 and the compile will stop with the errors in the 
symbols _res_nclose, _res_ninit, _res_nmkquery, _res_nsend coming from 
the file ext/standard/dns.c.







Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-25 12:05 UTC] jani@php.net
Do not report several different issues in one report.
Please submit separate report for each problem.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 19 12:00:03 2025 UTC