Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get the latest ICU version (got libicu 52.1 instead of 57.1) #307

Closed
mykiwi opened this issue Sep 30, 2016 · 10 comments
Closed

Get the latest ICU version (got libicu 52.1 instead of 57.1) #307

mykiwi opened this issue Sep 30, 2016 · 10 comments

Comments

@mykiwi
Copy link
Contributor

@mykiwi mykiwi commented Sep 30, 2016

My Dockerfile:

FROM php:7.0-fpm

RUN apt-get update && \
    apt-get install -y libicu-dev && \
    docker-php-ext-install intl

When I run the symfony requirements binary, I got this message:

 * intl ICU version installed on your system is outdated (52.1) and
   does not match the ICU data bundled with Symfony (57.1)
   > To get the latest internationalization data upgrade the ICU
   > system package and the intl PHP extension.

Do you know how can I get the latest ICU version ?
Thanks

@yosifkit
Copy link
Member

@yosifkit yosifkit commented Oct 3, 2016

That is the latest available in Debian Jessie: https://packages.debian.org/jessie/libicu-dev.

Loading

@yosifkit yosifkit closed this Oct 3, 2016
@deguif
Copy link

@deguif deguif commented Nov 23, 2016

Hello @romqin

Here a workaround to your problem. Compile yourself the icu library with the version you want:

RUN curl -sS -o /tmp/icu.tar.gz -L http://download.icu-project.org/files/icu4c/57.1/icu4c-57_1-src.tgz && tar -zxf /tmp/icu.tar.gz -C /tmp && cd /tmp/icu/source && ./configure --prefix=/usr/local && make && make install

RUN docker-php-ext-configure intl --with-icu-dir=/usr/local && \
    docker-php-ext-install intl

Loading

@fadykstas
Copy link

@fadykstas fadykstas commented Jan 4, 2017

my solution with OS X was:
run
curl -sS -o /tmp/icu.tar.gz -L http://download.icu-project.org/files/icu4c/57.1/icu4c-57_1-src.tgz && tar -zxf /tmp/icu.tar.gz -C /tmp && cd /tmp/icu/source && ./configure --prefix=/usr/local && make && sudo make install

than run
sudo pecl install intl

and than
Specify where ICU libraries and headers can be found [DEFAULT] : /usr/local

Loading

@schmunk42
Copy link

@schmunk42 schmunk42 commented Mar 10, 2017

Btw: This rather large test suite yiisoft/yii2#13750 fails with ICU 57.1 but not with ICU 52.1

Loading

@SilverFire
Copy link

@SilverFire SilverFire commented Apr 5, 2017

@schmunk42 ICU rules get changed time-to-time, so assertions may become outdated.
Generally it's not a problem.

Loading

@aissasell
Copy link

@aissasell aissasell commented Apr 16, 2017

and how to upgrade in Windows

Loading

1 similar comment
@0911315
Copy link

@0911315 0911315 commented Jun 22, 2017

and how to upgrade in Windows

Loading

@yosifkit
Copy link
Member

@yosifkit yosifkit commented Jun 22, 2017

updated "get the latest icu" here: #455 (comment)

Loading

@nbao
Copy link

@nbao nbao commented Jul 6, 2017

i got error on my mac with Mamp Pro
In file included from /private/tmp/pear/temp/intl/php_intl.c:25:
/private/tmp/pear/temp/intl/php_intl.h:23:10: fatal error: 'php.h' file not found
#include <php.h>
^
1 error generated.
make: *** [php_intl.lo] Error 1
ERROR: `make' failed

How can i fix it?

Loading

@chucoyos
Copy link

@chucoyos chucoyos commented Jul 31, 2017

Is there a solution?
intl ICU version installed on your system is outdated (52.1) and does not match the ICU data bundled with Symfony (59.1)
To get the latest internationalization data upgrade the ICU system package and the intl PHP extension.
2017-07-31

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
10 participants