ID: 36708
User updated by: jerome at macsaresexy dot com
Reported By: jerome at macsaresexy dot com
-Status: Closed
+Status: Open
Bug Type: Compile Failure
-Operating System: Mac OS X 10.4.5
+Operating System: Mac OS X 10.4.9
-PHP Version: 5.1.2
+PHP Version: 5.2.1
Assigned To: wez
New Comment:
After some looking into, I reopened this bug after discussing this
with mac developers and the fact being stated that OS X has dlopen and
friends just like linux. ALso the fact that MOST of the php
extensions build fine on OS X except for PDO and maybe one or 2
others.
This doesn't seem reasonable to not be able to do, if other extensions
can be compiled & loaded, why can't PDO. it really limits options
like considering Zend Core when you can't install PDO via pecl.
Previous Comments:
------------------------------------------------------------------------
[2006-08-24 16:01:46] tony2001@php.net
Due to the way that loadable modules work on OSX/Darwin, you need to
compile the PDO package statically into the PHP core.
I've fixed the configure, so it will fail if you try to compile PDO
dynamically.
------------------------------------------------------------------------
[2006-07-18 17:12:21] jerome at macsaresexy dot com
I just grabbed PHP 5.2 CVS 200607181630 snapshot and attempted
to compile it, PHP itself compiled fine, but PDO still does
not generate a proper makefile on Mac OS X.
after running the php5.2cvs's phpize on ext/pdo, i did
configure then make, and it just immediately thinks it's done
like it always has been doing.
------------------------------------------------------------------------
[2006-07-18 15:43:57] tony2001@php.net
The next snapshot should be ok.
Thanks for the alert.
------------------------------------------------------------------------
[2006-07-18 15:36:05] jerome at macsaresexy dot com
I was unable to try cvs since it failed compiling PHP part
way through with:
/Users/jerome/Downloads/php5.2-200607181430/Zend/
zend_alloc.c: In function zend_mm_mem_mmap_realloc:
/Users/jerome/Downloads/php5.2-200607181430/Zend/
zend_alloc.c:117: error: ret undeclared (first use in this
function)
/Users/jerome/Downloads/php5.2-200607181430/Zend/
zend_alloc.c:117: error: (Each undeclared identifier is
reported only once
/Users/jerome/Downloads/php5.2-200607181430/Zend/
zend_alloc.c:117: error: for each function it appears in.)
make: *** [Zend/zend_alloc.lo] Error 1
------------------------------------------------------------------------
[2006-06-20 15:27:28] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/36708
--
Edit this bug report at http://bugs.php.net/?id=36708&edit=1