#33326 [Opn->NoF]: Cannot build extensions with phpize
| From: | rasmus@php.net | Date: | Tue, 26 Jul 2005 00:00:52 +0000 |
| Subject: | #33326 [Opn->NoF]: Cannot build extensions with phpize | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-82435@lists.php.net to get a copy of this message | ||
ID: 33326
Updated by: rasmus@php.net
Reported By: artooro at gmail dot com
-Status: Open
+Status: No Feedback
Bug Type: Compile Failure
Operating System: Mac OS X 10.4.1
PHP Version: 5CVS-2005-06-13 (dev)
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2005-07-08 01:00:05] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2005-06-30 16:24:22] sniper@php.net
Can you reproduce this on other machine(s) ?
(with same OS and versions of tools)
------------------------------------------------------------------------
[2005-06-30 11:28:36] bmansion at mamasam dot com
Just to confirm the problem on Mac OS X using Tiger both with GCC 4 and
GCC 3.3. The problem seems definitely in the generated libtool. I am
using PHP 5.1beta2 with phpize. I've had the same messages when I tried
to compile PECL translit and mnogosearch extensions. I didn't test with
other extensions but I guess the problem will be the same.
------------------------------------------------------------------------
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