Re: [PHP-I18N] intl 1.0.0RC1
[email protected] (Darren Cook) Wed, 28 May 2008 10:43:07 +0900
| Newsgroups | php.i18n |
|---|---|
| Message-ID | <[email protected]> |
>> I don't have a configure.in (under either /usr/include/php5 or
>> /usr/lib/php5), and no references to ptrdiff or PTRDIFF inside any file
>> in /usr/lib/php5/build.
>
> You are supposed to have configure.in - it's part of PHP source. Do you
> use binary install? If so, which version?
ubuntu 7.10, with php5 (i.e. 5.2.3) and php5-dev packages.
>> Is this another php 5.2.4 dependency? What do I need to add to
>> php_config.h, on a 32-bit OS, to get past this?
>
> I guess adding correct definition for HAVE_PTRDIFF_T should be enough.
OK, I added this line at the end of php_config.h:
#define HAVE_PTRDIFF_T 1
And "pecl install intl" now works!
A quick test of Normalizer::normalize() worked.
Thanks for your help,
Darren
--
Darren Cook
http://dcook.org/mlsn/ (English-Japanese-German-Chinese-Arabic
open source dictionary/semantic network)
http://dcook.org/work/ (About me and my work)
http://dcook.org/work/charts/ (My flash charting demos)