#34089 [Fbk->Opn]: Configure fails build test for libxml2
by Ramsey@Php.Net other posts by this author
Aug 16 2005 12:09PM messages near this date
#34089 [Opn->Fbk]: Configure fails build test for libxml2
|
#34089 [Opn->Fbk]: Configure fails build test for libxml2
ID: 34089
User updated by: ramsey@[...].net
Reported By: ramsey@[...].net
-Status: Feedback
+Status: Open
Bug Type: *Configuration Issues
Operating System: Mac OS X 10.4.2
PHP Version: 6CVS-2005-08-12
New Comment:
Updated my copy of HEAD today at 2005-08-16 18:54:06 GMT. This problem
still occurs.
Previous Comments:
------------------------------------------------------------------------
[2005-08-16 01:43:57] sniper@[...].net
Try the latest CVS HEAD.
------------------------------------------------------------------------
[2005-08-15 23:09:05] ramsey@[...].net
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] ramsey@[...].net
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:ramsey@cvs.php.net:/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
Thread:
Ramsey@Php.Net
Boydjd At Jbip Dot Net
Steve_d At Redmonkey Dot Org
Marcioandreyfurtado At Hotmail Dot Com
Asokan Dot Anish At Gmail Dot Com
Asokan Dot Anish At Gmail Dot Com
jani
Jeff At Procata Dot Com
Jeff At Procata Dot Com
andrei
kalowsky
sniper
andrei
Ramsey@Php.Net
sniper
Alison Dot Rosewarne At Hotmagna Dot Com
Alison Dot Rosewarne At Hotmagna Dot Com
Register At Sosgmbh Dot At
Ramsey@Php.Net
sniper
Ramsey@Php.Net
sniper
Ramsey@Php.Net
sniper
Ramsey@Php.Net
sniper
Ramsey@Php.Net
sniper
Ramsey@Php.Net
sniper
Ramsey@Php.Net
|