#34688 [Opn->Bgs]: php 4.4.0 compile failure: make: *** [libs/libphp4.bundle] Error 1
ID: 34688
Updated by: sniper@php.net
Reported By: justin at mind-productions dot com
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Mac os X 10.4.2
PHP Version: 4.4.0
New Comment:
Remove this from your configure line: --enable-versioning
And next time before you report: Try with the shortest possible
configure line and gradually add the options you want to see which one
actually causes it. Then read the "./configure --help" about the
specific option.
This option is REALLY NOT needed and should NOT be used unless you know
100% sure what you're doing!
Previous Comments:
------------------------------------------------------------------------
[2005-09-30 11:01:38] justin at mind-productions dot com
Description:
------------
When running "make" in the terminal I get this error:
/usr/bin/ld: unknown flag: -export-symbols
collect2: ld returned 1 exit status
make: *** [libs/libphp4.bundle] Error 1
This is what I used to configure:
'./configure' '--prefix=/Library/PHP4' '--with-apxs2=/
Library/Apache2/bin/apxs' '--with-openssl=/usr' '--with-
zlib=/usr' '--enable-calendar' '--enable-shared' '--enable-
exif' '--enable-ftp' '--enable-mbstring' '--enable-mbregex'
'--enable-sockets' '--enable-wddx' '--enable-yp' '--enable-
versioning' '--with-mysql=/Library/PHP4' '--with-ldap=/usr'
'--with-iodbc=/Library/PHP4' '--with-jpeg-dir=/Library/PHP4'
'--with-png-dir=/Library/PHP4' '--enable-xslt' '--with-
pdflib=/Library/PHP4' '--with-tiff-dir=/Library/PHP4' '--
with-pgsql=/Library/PHP4' '--with-sybase=/Library/PHP4' '--
with-mcrypt=/Library/PHP4' '--with-curl=/usr' '--with-ttf=/
Library/PHP4' '--with-gettext=/Library/PHP4' '--with-xmlrpc'
'--with-mime-magic' '--with-pspell=/Library/PHP4' '--with-
expat-dir=/Library/Apache2' '--with-t1lib=/Library/PHP4' '--
enable-dbx' '--with-imap=/Library/PHP4' '--with-imap-ssl=/
usr' '--enable-dbase' '--with-bz2=/usr' '--with-dom=/
Library/PHP4' '--with-dom-xslt=/Library/PHP4' '--with-dom-
exslt=/Library/PHP4' '--with-xslt-sablot=/Library/PHP4' '--
with-snmp=/Library/PHP4' '--enable-ucd-snmp-hack' '--with-
mhash=/Library/PHP4' '--with-ming=/Library/PHP4' '--enable-
shmop' '--with-gmp=/Library/PHP4' '--enable-dio' '--enable-
bcmath' '--enable-dba' '--enable-gd-native-ttf' '--with-
zip=/Library/PHP4' '--with-magickwand=/usr'
Reproduce code:
---------------
'./configure' '--prefix=/Library/PHP4'
'--with-apxs2=/Library/Apache2/bin/apxs' '--with-openssl=/usr'
'--with-zlib=/usr' '--enable-calendar' '--enable-shared'
'--enable-exif' '--enable-ftp' '--enable-mbstring'
'--enable-mbregex'
'--enable-sockets' '--enable-wddx' '--enable-yp'
'--enable-versioning'
'--with-mysql=/Library/PHP4' '--with-ldap=/usr'
'--with-iodbc=/Library/PHP4' '--with-jpeg-dir=/Library/PHP4'
'--with-png-dir=/Library/PHP4' '--enable-xslt'
'--with-pdflib=/Library/PHP4' '--with-tiff-dir=/Library/PHP4'
'--with-pgsql=/Library/PHP4' '--with-sybase=/Library/PHP4'
'--with-mcrypt=/Library/PHP4' '--with-curl=/usr'
'--with-ttf=/Library/PHP4' '--with-gettext=/Library/PHP4'
'--with-xmlrpc' '--with-mime-magic' '--with-pspell=/Library/PHP4'
'--with-expat-dir=/Library/Apache2' '--with-t1lib=/Library/PHP4'
'--enable-dbx' '--with-imap=/Library/PHP4' '--with-imap-ssl=/usr'
'--enable-dbase' '--with-bz2=/usr' '--with-dom=/Library/PHP4'
'--with-dom-xslt=/Library/PHP4' '--with-dom-exslt=/Library/PHP4'
'--with-xslt-sablot=/Library/PHP4' '--with-snmp=/Library/PHP4'
'--enable-ucd-snmp-hack' '--with-mhash=/Library/PHP4'
'--with-ming=/Library/PHP4' '--enable-shmop'
'--with-gmp=/Library/PHP4'
'--enable-dio' '--enable-bcmath' '--enable-dba'
'--enable-gd-native-ttf'
'--with-zip=/Library/PHP4' '--with-magickwand=/usr'
make
Expected result:
----------------
it should run and compile php
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34688&edit=1
Thread (3 messages)