ID: 36909
Updated by: tony2001@php.net
Reported By: alain dot russell at blackpepper dot co dot nz
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Mac OS X
PHP Version: 5.1.3RC1
New Comment:
Remove from the configure line everything not related to the problem
and put the make command log somewhere, so we can take a look at it.
Previous Comments:
------------------------------------------------------------------------
[2006-03-29 12:55:10] alain dot russell at blackpepper dot co dot nz
pingu:~/Desktop/php-5.1.3RC1 admin$ ./cvsclean && ./
buildconf
You should not run buildconf in a release package.
use buildconf --force to override this check.
pingu:~/Desktop/php-5.1.3RC1 admin$ ./cvsclean && ./
buildconf --force
Forcing buildconf
using default Zend directory
buildconf: checking installation...
buildconf: autoconf version 2.57 (ok)
buildconf: Your version of autoconf likely contains buggy
cache code.
Running cvsclean for you.
To avoid this, install autoconf-2.13.
Make produces the same error ..
------------------------------------------------------------------------
[2006-03-29 12:45:49] tony2001@php.net
Do ./cvsclean && ./buildconf and recompile it again.
------------------------------------------------------------------------
[2006-03-29 12:43:17] alain dot russell at blackpepper dot co dot nz
Configure as follows:
./configure \
--prefix=/usr/local/php5 \
--enable-sockets \
--enable-mbstring=all \
--enable-mbregex \
--enable-ftp \
--enable-soap \
--disable-cgi \
--with-xml \
--with-libxml-dir=/opt/local \
--with-gd \
--with-jpeg-dir=/opt/local \
--with-png-dir=/opt/local \
--with-freetype-dir=/opt/local \
--with-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/bin/mysql_config \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-pspell=/opt/local \
--with-tidy=/opt/local \
--with-openssl=/usr \
--with-zlib=/usr \
--with-mcrypt=/opt/local \
--with-curl=/opt/local \
--with-mhash=/opt/local \
--with-imap=/users/admin/documents/imap-2004a \
--with-imap-ssl=/users/admin/documents/imap-2004a \
--disable-debug
------------------------------------------------------------------------
[2006-03-29 12:42:05] alain dot russell at blackpepper dot co dot nz
Description:
------------
Compile Fails with php 5.1.3 - works fine v5.1.2
Expected result:
----------------
PHP Compiles
Actual result:
--------------
Error as follows:
ld: warning multiple definitions of symbol _pcre_freeext/
pcre/pcrelib/pcre_globals.o definition of _pcre_free in
section (__DATA,__data)/usr/local/apache2/bin/httpd
definition of _pcre_freeld: warning multiple definitions of
symbol _pcre_mallocext/pcre/pcrelib/pcre_globals.o
definition of _pcre_malloc in section (__DATA,__data)/usr/
local/apache2/bin/httpd definition of _pcre_mallocld:
warning multiple definitions of symbol _regcomp/usr/local/
apache2/bin/httpd definition of _regcomp/usr/lib/
libpthread.dylib(regcomp.So) definition of _regcompld:
warning multiple definitions of symbol _regerror/usr/local/
apache2/bin/httpd definition of _regerror/usr/lib/
libpthread.dylib(regerror.So) definition of _regerrorld:
warning multiple definitions of symbol _regexec/usr/local/
apache2/bin/httpd definition of _regexec/usr/lib/
libpthread.dylib(regexec.So) definition of _regexecld:
warning multiple definitions of symbol _regfree/usr/local/
apache2/bin/httpd definition of _regfree/usr/lib/
libpthread.dylib(regfree.So) definition of _regfreeld:
Undefined symbols:_lchownmake: *** [libs/libphp5.bundle]
Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36909&edit=1