Re: ubuntu 7.10 pecl install intl
| From: | Darren Cook | Date: | Mon, 12 May 2008 00:05:28 +0000 |
| Subject: | Re: ubuntu 7.10 pecl install intl | ||
| References: | 1 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-1185@lists.php.net to get a copy of this message | ||
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 near unexpected
token `INTL_SHARED_LIBADD'
/tmp/pear/temp/intl/configure: line 3838: `
PHP_SETUP_ICU(INTL_SHARED_LIBADD)'
ERROR: `/tmp/pear/temp/intl/configure --with-icu-dir=/usr' failed
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
(not in configure, nor in any other of the files in the
/tmp/pear/temp/intl directory).
And INTL_SHARED_LIBADD is not mentioned before that line; it is only
used afterwards (and is only used, not defined anywhere, as far as I can
see).
But I suppose the configure file might be cleverer than me and making
those functions/symbols on the fly?
Anyone got any suggestions I can try? This is intl-1.0.0beta.tgz by the way.
Darren
P.S. The above error message is identical in all cases:
* I press enter
* I input abort
* I input all and give a path that exists
* I input all and give a load of garbage
I.e. I think the --with-icu-dir setting is a red herring, and the
problem is earlier.
>
> 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 path doesn't work, I'd
> try '/usr'. If you can't find 'icu-config' on your system then you
> don't
> have libXXicu-dev installed.
>
> =Ed Batutis
>
>
>
--
Darren Cook
http://dcook.org/mlsn/ (English-Japanese-German-Chinese free
dictionary)
http://dcook.org/work/ (About me and my work)
http://dcook.org/work/charts/ (My flash charting demos)