ID:               43090
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jerry at scene-naturally dot dyndns dot org
-Status:           Open
+Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: OS X
 PHP Version:      5.2.5RC1
 New Comment:

Do not report several different issues in one report.
Please submit separate report for each problem.


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

[2007-10-23 22:14:20] 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.








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


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

Reply via email to