如果你用   brew install icu4c  安装了icu,然后你希望安装  $ sudo  pecl  update - channels  $ sudo  pecl  install  intl  你会有这样的错误:  configure: error: Unable to detect ICU prefix or no failed. Please verify ICU install prefix and make sure icu-config works.   因为icu的位置不在/usr/local, 它被安装在了/usr/local/Cellar/icu4c/54.1/ 类似的这种位置。 你需要在咱庄intl的时候制定icu的位置,也可以用:   brew link icu4c     来解决, (未验证)