#33326 [Fbk->Opn]: Cannot build extensions with phpize
| From: | artooro at gmail dot com | Date: | Fri, 12 Aug 2005 15:04:00 +0000 |
| Subject: | #33326 [Fbk->Opn]: Cannot build extensions with phpize | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-83454@lists.php.net to get a copy of this message | ||
ID: 33326
User updated by: artooro at gmail dot com
Reported By: artooro at gmail dot com
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: darwin8.x
PHP Version: 5CVS-2005-06-13 (dev)
Assigned To: sniper
New Comment:
I tested your patch on the PHP_5_1 branch and can verify that it fixes
the problem.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[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-08-09 00:17:08] artooro at gmail dot com
If ssh or VNC access to an OSX machine would help, let me know and I
just might be able to help out.
------------------------------------------------------------------------
[2005-08-08 23:53:18] sniper@php.net
To be able to do anything about this I need access to a Macosx machine
where this problem exists..so no, I can't look into this.
------------------------------------------------------------------------
[2005-08-08 23:44:48] derick@php.net
Jani, can you have a look at this?
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
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