From:             [EMAIL PROTECTED]
Operating system: Mac OS X 10.4.2
PHP version:      5CVS-2005-08-12 (dev)
PHP Bug Type:     *Configuration Issues
Bug description:  Configure fails build test for libxml2

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 bug report at http://bugs.php.net/?id=34089&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=34089&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=34089&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=34089&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=34089&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=34089&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=34089&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=34089&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=34089&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=34089&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=34089&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=34089&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=34089&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=34089&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=34089&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=34089&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=34089&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=34089&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=34089&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=34089&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=34089&r=mysqlcfg

Reply via email to