#33326 [Asn->Csd]: Cannot build extensions with phpize
| From: | sniper@php.net | Date: | Fri, 12 Aug 2005 15:17:38 +0000 |
| Subject: | #33326 [Asn->Csd]: Cannot build extensions with phpize | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-83457@lists.php.net to get a copy of this message | ||
ID: 33326
Updated by: sniper@php.net
Reported By: artooro at gmail dot com
-Status: Assigned
+Status: Closed
Bug Type: Compile Failure
Operating System: darwin8.x
PHP Version: 5CVS-2005-06-13 (dev)
Assigned To: sniper
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2005-08-12 17:03:59] artooro at gmail dot com
I tested your patch on the PHP_5_1 branch and can verify that it fixes
the problem.
Thanks.
------------------------------------------------------------------------
[2005-08-12 12:22:06] sniper@php.net
This patch fixed same build problem on one Macosx machine I have access
to:
http://www.php.net/~jani/patches/bug33326.patch
It seemed to have GCC 3.3 though..but do try that.
Apply to acinclude.m4 in $prefix/lib/php/build/ or to the one you get
after phpize.
------------------------------------------------------------------------
[2005-07-26 02:00:50] rasmus@php.net
The temporary fix is to just copy-paste the final link line back with
all the .lo filenames replaced with .libs/*.o
eg. to build pecl/apc I use:
gcc -dynamic -flat_namespace -bundle -undefined suppress -DPHP_ATOM_INC
-I/Users/rasmus/pecl/apc/include -I/Users/rasmus/pecl/apc/main
-I/Users/rasmus/pecl/apc -I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM
-I/usr/local/include/php/Zend -DHAVE_CONFIG_H -g -O2 -o apc.so
.libs/*.o
instead of:
gcc -dynamic -flat_namespace -bundle -undefined suppress -DPHP_ATOM_INC
-I/Users/rasmus/pecl/apc/include -I/Users/rasmus/pecl/apc/main
-I/Users/rasmus/pecl/apc -I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM
-I/usr/local/include/php/Zend -DHAVE_CONFIG_H -g -O2 -o apc.so
apc.lo php_apc.lo apc_cache.lo apc_compile.lo apc_debug.lo apc_fcntl.lo
apc_main.lo apc_mmap.lo apc_optimizer.lo apc_pair.lo apc_sem.lo
apc_shm.lo apc_sma.lo apc_stack.lo apc_zend.lo
------------------------------------------------------------------------
[2005-07-26 01:27:09] artooro at gmail dot com
sniper, I have no other machines with OSX so no I can't reproduce on
other machine(s). But at least three other people have had this problem
as well now.
I might be able to look into it some more tomorrow, if needed.
------------------------------------------------------------------------
[2005-07-26 01:18:00] jeffg at activestate dot com
this is still ocurring with php 5.1 b3. I'm trying to build xdebug and
getting the same failures, seems to eb something wrong with libtool
generated by configure.
------------------------------------------------------------------------
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/33326
--
Edit this bug report at http://bugs.php.net/?id=33326&edit=1