From:             
Operating system: osx 10.6
PHP version:      5.3.5
Package:          Compile Failure
Bug Type:         Bug
Bug description:intl support is broken (OS X)

Description:
------------
On OS X is not possible to install php with intl support. both, the
internal and pecl versions are broken



i tried with php 5.3.3, php 5.3.5

icu version: 3.6 and 4.6



for the pecl bug see: http://pecl.php.net/bugs/bug.php?id=18656

Test script:
---------------
./configure --with-apxs2=/usr/local/apache/bin/apxs --enable-intl

make



Expected result:
----------------
compile with intl support

Actual result:
--------------
/bin/sh /Users/xy/install_2/packages-extracted/php/php-5.3.5/libtool
--silent --preserve-dup-deps --mode=compile gcc  -Imain/
-I/Users/xy/install_2/packages-extracted/php/php-5.3.5/main/ -DPHP_ATOM_INC
-I/Users/xy/install_2/packages-extracted/php/php-5.3.5/include
-I/Users/xy/install_2/packages-extracted/php/php-5.3.5/main
-I/Users/xy/install_2/packages-extracted/php/php-5.3.5
-I/Users/xy/install_2/packages-extracted/php/php-5.3.5/ext/date/lib
-I/Users/xy/install_2/packages-extracted/php/php-5.3.5/ext/ereg/regex
-I/usr/include/libxml2 -I/usr/local/icu/include
-I/Users/xy/install_2/packages-extracted/php/php-5.3.5/ext/sqlite3/libsqlite
-I/Users/xy/install_2/packages-extracted/php/php-5.3.5/TSRM
-I/Users/xy/install_2/packages-extracted/php/php-5.3.5/Zend 
-no-cpp-precomp  -I/usr/include -arch x86_64 -O2 -fvisibility=hidden  -c
main/internal_functions.c -o main/internal_functions.lo 

In file included from /usr/local/icu/include/unicode/utypes.h:36,

                 from
/Users/xy/install_2/packages-extracted/php/php-5.3.5/ext/intl/grapheme/grapheme.h:21,

                 from
/Users/xy/install_2/packages-extracted/php/php-5.3.5/ext/intl/php_intl.h:26,

                 from main/internal_functions.c:41:

/usr/local/icu/include/unicode/umachine.h:328: error: redefinition of
typedef ‘UChar’

/usr/include/libxml2/libxml/encoding.h:41: error: previous declaration of
‘UChar’ was here

make: *** [main/internal_functions.lo] Error 1

make: *** Waiting for unfinished jobs....

ERROR: can't build php, custom builder exited with errorcode: 2

-- 
Edit bug report at http://bugs.php.net/bug.php?id=54213&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=54213&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=54213&r=trysnapshot53
Try a snapshot (trunk):              
http://bugs.php.net/fix.php?id=54213&r=trysnapshottrunk
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=54213&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=54213&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=54213&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=54213&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=54213&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=54213&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=54213&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=54213&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=54213&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=54213&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=54213&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=54213&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=54213&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=54213&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=54213&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=54213&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=54213&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=54213&r=mysqlcfg

Reply via email to