Re: [PHP-I18N] ubuntu 7.10 pecl install intl

2008-05-27 Thread Darren Cook
> Has anyone managed to install "intl" pecl extension on ubuntu? Now I have this working I've summarized the steps here: http://darrendev.blogspot[DOT]com/2008/05/install-php-pecl-intl-module-for-ubuntu.html (Change [DOT] to ".". Apologies for not being able to make that clickable; but foolishly

Re: [PHP-I18N] ubuntu 7.10 pecl install intl

2008-05-12 Thread Darren Cook
>> I'm typing "pecl install intl". It downloads this file: >> intl-1.0.0beta.tgz (96,707 bytes) > > I see. Unfortunately, this build is a bit old... We should have better > release pretty soon ... but right now best bet would be to check > out pecl/intl from CVS, using PHP_5_2 branch. Release e

Re: [PHP-I18N] ubuntu 7.10 pecl install intl

2008-05-12 Thread Stanislav Malyshev
Hi! I'm typing "pecl install intl". It downloads this file: intl-1.0.0beta.tgz (96,707 bytes) I see. Unfortunately, this build is a bit old... We should have better release pretty soon (I think once we figure out the last details of grapheme APIs, it'd be ready) but right now best bet woul

Re: [PHP-I18N] ubuntu 7.10 pecl install intl

2008-05-12 Thread Darren Cook
>> /tmp/pear/temp/intl/collator/collator_sort.c:30: error: conflicting >> types for 'ptrdiff_t' >> /usr/lib/gcc/i486-linux-gnu/4.1.3/include/stddef.h:152: error: previous >> declaration of 'ptrdiff_t' was here > > This should be fixed already... Which version do you use - CVS or some > other? I'm

Re: [PHP-I18N] ubuntu 7.10 pecl install intl

2008-05-12 Thread Stanislav Malyshev
Hi! /tmp/pear/temp/intl/collator/collator_sort.c:30: error: conflicting types for 'ptrdiff_t' /usr/lib/gcc/i486-linux-gnu/4.1.3/include/stddef.h:152: error: previous declaration of 'ptrdiff_t' was here This should be fixed already... Which version do you use - CVS or some other? -- Stanislav

Re: [PHP-I18N] ubuntu 7.10 pecl install intl

2008-05-12 Thread Darren Cook
> I think ICU stuff might be added to 5.2 branch after 5.2.3 You may want > to d/l 5.2.6 from php.net and compare the acinclude.m4, or just see one > on cvs.php.net in PHP_5_2 branch. Thanks. I got it from here: http://cvs.php.net/viewvc.cgi/php-src/acinclude.m4?revision=1.387 Perhaps the intl

Re: [PHP-I18N] ubuntu 7.10 pecl install intl

2008-05-11 Thread Stanislav Malyshev
Hi! So I assume ubuntu 8 is using a more recent PHP than ubuntu 7.1 and defines that constant. My php -v says: PHP 5.2.3-1ubuntu6.3 (cli) (built: Jan 10 2008 09:38:37) I think ICU stuff might be added to 5.2 branch after 5.2.3 You may want to d/l 5.2.6 from php.net and compare the acinclude.

Re: [PHP-I18N] ubuntu 7.10 pecl install intl

2008-05-11 Thread Darren Cook
>> I've had a look in the files that exist at that point and PHP_SETUP_ICU >> only exists on that one line; it doesn't seem to be defined anywhere > > It should be defined in acinclude.m4 in the php5 dev directory - > /usr/lib/php5/build on my ubuntu - installed when you installed php5-dev. Thank

RE: [PHP-I18N] ubuntu 7.10 pecl install intl

2008-05-11 Thread Ed Batutis
> I've had a look in the files that exist at that point and PHP_SETUP_ICU > only exists on that one line; it doesn't seem to be defined anywhere It should be defined in acinclude.m4 in the php5 dev directory - /usr/lib/php5/build on my ubuntu - installed when you installed php5-dev. Maybe your au

Re: [PHP-I18N] ubuntu 7.10 pecl install intl

2008-05-11 Thread Darren Cook
Ed Batutis wrote: >> Has anyone managed to install "intl" pecl extension on ubuntu? Hi Ed, Thanks for the reply. I have icu-config in /usr/bin, but get the same error: ... checking whether to enable internationalization support... yes, shared /tmp/pear/temp/intl/configure: line 3838: syntax error

RE: [PHP-I18N] ubuntu 7.10 pecl install intl

2008-05-10 Thread Ed Batutis
> Has anyone managed to install "intl" pecl extension on ubuntu? Yes - ubuntu 8.04 64bit. > I try just pressing Enter and get lots of output ending ... failed I just pressed ENTER and it found icu. What it is looking for is bin/icu-config On my system this is in /usr. If the default empty p