#36708 [Opn->Asn]: PDO Extension fails to configure proper makefile
ID: 36708 Updated by: [EMAIL PROTECTED] Reported By: jerome at macsaresexy dot com -Status: Open +Status: Assigned Bug Type: Compile Failure Operating System: Mac OS X 10.4.9 PHP Version: 5.2.1 Assigned To: wez Previous Comments: [2007-05-10 16:21:33] jerome at macsaresexy dot com 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. [2006-08-24 16:01:46] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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 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
#36708 [Opn->Asn]: PDO Extension fails to configure proper makefile
ID: 36708 Updated by: [EMAIL PROTECTED] Reported By: jerome at macsaresexy dot com -Status: Open +Status: Assigned Bug Type: Compile Failure Operating System: Mac OS X 10.4.5 PHP Version: 5.1.2 Assigned To: wez Previous Comments: [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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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 [2006-04-11 13:13:33] jerome at macsaresexy dot com weird, so PDO for some reason is the only one that can't be built separately from PHP on OS X? does that include every PDO driver? because that'll be a downer. 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
#36708 [Opn->Asn]: PDO Extension fails to configure proper makefile
ID: 36708 Updated by: [EMAIL PROTECTED] Reported By: jerome at macsaresexy dot com -Status: Open +Status: Assigned Bug Type: Compile Failure Operating System: Mac OS X 10.4.5 PHP Version: 5.1.2 -Assigned To: +Assigned To: wez New Comment: Apparently it's not supposed to be possible to even build PDO as shared extension under MacOSX. Just these Wez's hacks don't work and won't give any warning about it but just silently fails. Wez: Obviously you don't check properly whether phpize is used.. Previous Comments: [2006-04-11 05:18:51] jerome at macsaresexy dot com Ok so that seems more successful now, I was able to make curl, mysql, xsl, libz, gd on OS X which at least a few failed to before with stable 5.1.2 BUT PDO is still failing to generate a proper Makefile. Seems couple things are empty that shouldn't be as far as I can tell in the Makefile PHP_MODULES = all_targets = $(PHP_MODULES) which fails when make all is run since make all just references all targets. but glad to see every other module seems to be compiling so I can make an extension driven install of PHP. [2006-04-10 21:51:31] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.1-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.1-win32-latest.zip And make sure you get the right files installed and that you're not mixing new phpize with old build files. [2006-04-10 13:19:04] jerome at macsaresexy dot com i apologize, broke the setup for that domain. http://www.jeremyknope.com/files/Makefile-pdo-autoconf2.13.txt should work again [2006-04-10 12:49:28] [EMAIL PROTECTED] I can not access that makefile. Try again? [2006-03-13 15:31:16] jerome at macsaresexy dot com I tried autoconf 2.13 by removing the configure file and running /sw/bin/autoconf which is where it was installed (thru fink), not sure if that's proper enough. I then ran ./ configure and put the makefile on the internet: http://www.jeremyknope.com/files/Makefile-pdo-autoconf2.13.txt 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