ID: 34089 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: *Configuration Issues Operating System: Mac OS X 10.4.2 PHP Version: 6CVS-2005-08-12 New Comment:
Try the latest CVS HEAD. Previous Comments: ------------------------------------------------------------------------ [2005-08-15 23:09:05] [EMAIL PROTECTED] I forgot to mention this, but I am using libxml2 v.2.6.17-1 installed through Fink. Using --with-libxml-dir=/sw continues to produce the same results as mentioned above. Also, I continue to see the same problems with the latest HEAD checkout. ------------------------------------------------------------------------ [2005-08-12 04:53:46] [EMAIL PROTECTED] Description: ------------ Configure fails on the build test for libxml2 in HEAD, but the same configure line works fine when building PHP 5.1 on the same system. (I am trying to build according to Andrei's notes on building in the Unicode support: http://news.php.net/php.internals/17848 ) Had to include the options --disable-libxml, --disable-dom, and --disable-simplexml to get past the error. However, now I receive another error: checking for char *... yes checking size of char *... configure: error: cannot compute sizeof (char *), 77 But I should probably leave this error for another bug report once this one has been resolved (if it still exists once this is resolved). Please see the output of config.log at http://benramsey.com/files/php/config.log Reproduce code: --------------- cvs -d :pserver:[EMAIL PROTECTED]:/repository co -d php-HEAD php-src cd php-HEAD ./buildconf ./configure --with-layout=PHP --prefix=/usr/local/php/6.0.0 --with-apxs=/usr/local/apache/83/bin/apxs --without-pear --with-sqlite --with-pdo-mysql=/usr/local/mysql --with-pdo-pgsql=/usr/local/pgsql --with-iconv=/sw --with-icu-dir=/usr/local/icu Expected result: ---------------- I expect configure to run fine and generate the make files. Actual result: -------------- configure:29153: checking whether to enable LIBXML support configure:29191: result: yes configure:29200: checking libxml2 install dir configure:29218: result: no configure:29230: checking for xml2-config path configure:29244: result: /usr/bin/xml2-config configure:29387: checking whether libxml build works configure:29419: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/local/icu/lib -L/usr/local/icu/lib conftest.c -lm -lm -licui18n -licuuc -licudata -lm -licuio -lxml2 -lz -liconv -lm >&5 configure:29422: $? = 0 configure:29424: ./conftest dyld: Library not loaded: libicui18n.dylib.34 Referenced from: /Users/ramsey/src/php/php-HEAD/./conftest Reason: image not found ./configure: line 1: 16108 Trace/BPT trap ./conftest$ac_exeext configure:29427: $? = 133 configure: program exited with status 133 configure:29444: result: no configure:29446: error: build test failed. Please check the config.log for details. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34089&edit=1