Re: intl 1.0.0RC1
| From: | Darren Cook | Date: | Wed, 28 May 2008 01:43:07 +0000 |
| Subject: | Re: intl 1.0.0RC1 | ||
| References: | 1 2 3 4 5 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-1228@lists.php.net to get a copy of this message | ||
>> 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)