#33326 [Opn->Fbk]: Cannot build extensions with phpize
| From: | sniper@php.net | Date: | Fri, 12 Aug 2005 10:22:07 +0000 |
| Subject: | #33326 [Opn->Fbk]: Cannot build extensions with phpize | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-83445@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: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: darwin8.x
PHP Version: 5CVS-2005-06-13 (dev)
Assigned To: sniper
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
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