Take the 2-minute tour ×  Original question:  I'm having trouble
installing the PHP Pecl Intl extension on my CentOs 5 machine.
After installing both icu and libicu with the following
commands:  $ yum install icu $ yum install libicu  I tried to
install the Intl extension like so:  $ /usr/bin/pecl install
intl  I selected to search for the default location for the ICU
libraries and header files. It ends up crashing like this:
checking whether to enable internationalization support... yes,
shared checking for icu-config... no ERROR:
`/tmp/pear/temp/intl/configure --with-icu-dir=DEFAULT' failed
After successfully installing the development version of icu as
suggested by RusAlex (thanks RusAlex) like so:  $ yum install
libicu-devel  I ran into a new problem which I also encountered
locally the following command:  $ /usr/bin/pecl install intl
now produces this error:
/private/tmp/pear/temp/intl/collator/collator_class.c:92: error:
duplicate 'static'
/private/tmp/pear/temp/intl/collator/collator_class.c:96