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 with newer icu release and latest CVS HEAD.




Previous Comments:
------------------------------------------------------------------------

[2005-08-23 20:18:58] [EMAIL PROTECTED]

I did compile icu myself. I followed Andrei's instructions to download
and build it. It compiled just fine without any problems.

Andrei's instructions are here:
http://news.php.net/php.internals/17848

------------------------------------------------------------------------

[2005-08-23 17:32:16] [EMAIL PROTECTED]

Try compiling the icu library yourself?


------------------------------------------------------------------------

[2005-08-17 20:21:11] [EMAIL PROTECTED]

That configure line works.

I tried:
# ./configure --with-layout=PHP --prefix=/usr/local/php/6.0.0
--disable-all --with-icu-dir=/usr/local/icu
# make
# make install

All worked just fine, but now I'm getting a "Library not loaded"
error.

ramsey:~ ramsey$ /usr/local/php/6.0.0/bin/php -m
dyld: Library not loaded: libicui18n.dylib.34
  Referenced from: /usr/local/php/6.0.0/bin/php
  Reason: image not found
Trace/BPT trap

------------------------------------------------------------------------

[2005-08-17 19:21:23] [EMAIL PROTECTED]

Does this work:

# ./configure --disable-all --with-icu-dir=/usr/local/icu


------------------------------------------------------------------------

[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

Reply via email to