#36909 [Fbk->Opn]: Compile Fails

From: Date: Wed, 29 Mar 2006 11:04:16 +0000
Subject: #36909 [Fbk->Opn]: Compile Fails
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-95063@lists.php.net to get a copy of this message
 ID:               36909
 User updated by:  alain dot russell at blackpepper dot co dot nz
 Reported By:      alain dot russell at blackpepper dot co dot nz
-Status:           Feedback
+Status:           Open
 Bug Type:         Compile Failure
 Operating System: Mac OS X
 PHP Version:      5.1.3RC1
 New Comment:

ok . no problem .. How do I determine what is *not* related to 
the problem ? And how do I grab the make comand log .. ?


Previous Comments:
------------------------------------------------------------------------

[2006-03-29 13:00:05] tony2001@php.net

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.

------------------------------------------------------------------------

[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


Thread (16 messages)

« previous php.bugs (#95063) next »