Re: Can't get --enable-intl to work with 5.3.8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 05/11/11 01:43 AM, Luke Scott wrote:
I'm trying to compile PHP 5.3.8 with the intl extension.
This extension requires icu, which requires --with-icu-dir=.
I just was able to compile php 5.3.8 with --enable-intl.

my config.log: http://pastebin.com/c7dAwKy8
I was able to compile icu fine. I've tried version 3.8 to 4.8.
But when I tried to compile PHP it complained about UChar already
being defined in both libxml2 and icu.
My icu version is 4.2.1.It is installed in /usr.I did not needed the "--with-icu-dir" option.
After doing a little research it seemed the only way to fix it was
compile libxml2 myself with the --with-icu flag. But I ran into some
problems getting libxml2 to compile with --prefix. After patching its
configure.in I was able to get it to compile.
My libxml2 version is 2.7.7 and i configured it with only "./configure --prefix=/usr".It did not need any patching.

<snipped>



[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux