hi all,

a build of php-latest (php4-200206071800) on OSX Server 10.1.4 with:

./configure --enable-shared --enable-static --prefix=/usr/local/php4 
--with-layout=PHP --with-apxs2=/usr/local/apache2/sbin/apxs 
--with-config-file-path=/private/etc/php4/ --mandir=/usr/local/man 
--localstatedir=/private/var/php4 --x-includes=/usr/X11R6/include 
--x-libraries=/usr/X11R6/lib --with-expat-dir=/usr/local/expat 
--with-mysql=/usr/local/mysql --with-openssl --with-imap-ssl --with-mcrypt 
--with-mhash=/usr/local --with-kerberos --with-imap=/usr/local/imap 
--enable-mailparse --enable-magic-quotes --enable-ftp 
--enable-force-cgi-redirect --enable-discard-path 
--enable-inline-optimization --with-pear --with-zlib --enable-calendar 
--disable-safe-mode --with-tsrm-pthreads

fails @ "/usr/bin/ld: warning -L: directory name (/lib) does not exist
/usr/bin/ld: /usr/local/expat/lib/libexpat.la bad magic number (not a 
Mach-O file)"

as follows:

.o Zend/zend_qsort.o Zend/zend_multibyte.o Zend/zend_execute.o 
sapi/apache2filter/sapi_apache2.o sapi/apache2filter/apache_config.o 
sapi/apache2filter/php_functions.o main/internal_functions.o -lcrypto -lssl 
-lc-client -lexpat -lmysqlclient -lmhash -lmcrypt -lltdl -lz -lssl -lcrypto 
-lbind -lm -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -ldl -o 
libs/libphp4.bundle && cp libs/libphp4.bundle libs/libphp4.so
/usr/bin/ld: warning -L: directory name (/lib) does not exist
/usr/bin/ld: /usr/local/expat/lib/libexpat.la bad magic number (not a 
Mach-O file)
/usr/bin/ld: warning multiple definitions of symbol _pcre_free
ext/pcre/pcrelib/pcre.o definition of _pcre_free in section (__DATA,__data)
/usr/local/apache2/sbin/httpd definition of _pcre_free
/usr/bin/ld: warning multiple definitions of symbol _pcre_fullinfo
ext/pcre/pcrelib/pcre.o definition of _pcre_fullinfo in section 
(__TEXT,__text)
/usr/local/apache2/sbin/httpd definition of _pcre_fullinfo
/usr/bin/ld: warning multiple definitions of symbol _pcre_malloc
ext/pcre/pcrelib/pcre.o definition of _pcre_malloc in section 
(__DATA,__data)
/usr/local/apache2/sbin/httpd definition of _pcre_malloc
/usr/bin/ld: warning multiple definitions of symbol _regcomp
/usr/local/apache2/sbin/httpd definition of _regcomp
/usr/lib/libm.dylib(regcomp.o) definition of _regcomp
/usr/bin/ld: warning multiple definitions of symbol _regexec
/usr/local/apache2/sbin/httpd definition of _regexec
/usr/lib/libm.dylib(regexec.o) definition of _regexec
/usr/bin/ld: warning multiple definitions of symbol _regfree
/usr/local/apache2/sbin/httpd definition of _regfree
/usr/lib/libm.dylib(regfree.o) definition of _regfree
make: *** [libs/libphp4.bundle] Error 1
[root@server]

i haven't found why make is complaining about "/lib" (yet) ...... 
unfortunately, there is *no* "/lib" on OSX .....

as for the libexpat error ..... i'm stumped ........ expat built just fine, 
and is used by a number of other progrs successfully ......

any thoughts/suggestions on either would be much appreciated!

fyi, details of my environment are doc'd on my web-page, below .....

cheers,
richard

--------------------------------------
R Blake
blakers <at> mac.com
http://homepage.mac.com/blakers
--------------------------------------

Reply via email to