From:             jerry at scene-naturally dot dyndns dot org
Operating system: OS X
PHP version:      5.2.5RC1
PHP Bug Type:     *Compile Issues
Bug description:  Configure / Compile Failure Issues

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 bug report at http://bugs.php.net/?id=43090&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=43090&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=43090&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=43090&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=43090&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=43090&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=43090&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=43090&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=43090&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=43090&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=43090&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=43090&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=43090&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=43090&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=43090&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=43090&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=43090&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=43090&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=43090&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=43090&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=43090&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=43090&r=mysqlcfg

Reply via email to