configure: error: Unable to detect ICU prefix or no failed. Please verify ICU install prefix and make sure icu-config works.
今天给同事安装php 5.5.11,居然报错下面的错误:
configure: error: Unable to detect ICU prefix or no failed. Please verify ICU install prefix and make sure icu-config works.
还以为是没有安装perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker perl-ExtUtils-Embed这3个问题,安装了之后,重新编译还是报错,最后才在一个老外的blog上发现是要安装libicu-devel,果断安装后重新编译终于没有报错了.
安装命令:
CentOS / RedHat: yum install libicu-devel
Ubuntu/Debian: sudo apt-get install libicu-dev
configure: error: Unable to detect ICU prefix or no failed. Please verify ICU install prefix and make sure icu-config works.
还以为是没有安装perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker perl-ExtUtils-Embed这3个问题,安装了之后,重新编译还是报错,最后才在一个老外的blog上发现是要安装libicu-devel,果断安装后重新编译终于没有报错了.
安装命令:
CentOS / RedHat: yum install libicu-devel
Ubuntu/Debian: sudo apt-get install libicu-dev
评论: