愁
configure: error: Unable to detect ICU prefix or no failed. Please verify ICU install prefix and make sure icu-config works.
which icu
/usr/bin/which: no icu in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/www/wdlinux/mysql/bin:/root/bin)
Package icu-4.2.1-12.el6.x86_64 already installed and latest version
rpm -ql icu-4.2.1-12.el6.x86_64 的结果
/usr/bin/derb
/usr/bin/genbrk
/usr/bin/gencfu
/usr/bin/gencnval
/usr/bin/genctd
/usr/bin/genrb
/usr/bin/makeconv
/usr/bin/pkgdata
/usr/bin/uconv
/usr/sbin/genccode
/usr/sbin/gencmn
/usr/sbin/gensprep
/usr/sbin/genuca
/usr/sbin/icupkg
/usr/share/doc/icu-4.2.1
/usr/share/doc/icu-4.2.1/license.html
/usr/share/doc/icu-4.2.1/readme.html
/usr/share/man/man1/derb.1.gz
/usr/share/man/man1/genbrk.1.gz
/usr/share/man/man1/gencnval.1.gz
/usr/share/man/man1/genctd.1.gz
/usr/share/man/man1/genrb.1.gz
/usr/share/man/man1/makeconv.1.gz
/usr/share/man/man1/pkgdata.1.gz
/usr/share/man/man1/uconv.1.gz
/usr/share/man/man8/genccode.8.gz
/usr/share/man/man8/gencmn.8.gz
/usr/share/man/man8/gensprep.8.gz
/usr/share/man/man8/genuca.8.gz
/usr/share/man/man8/icupkg.8.gz
用 whereis
icu-config 估计是在 devel 包里面
试试安装 icu-devel
或者直接 yum install /usr/bin/icu-config 试试
一般我都是 whereis 或者 find -name ""
是在 icu-devel 包里面, http://pkgs.org/centos-7/centos-x86_64/libicu-devel-50.1.2-15.el7.x86_64.rpm.html
像这种情况, 应该使用 yum provides "*/icu-config" 命令看看它在哪个包里面.
是在 icu-devel 包里面, http://pkgs.org/centos-7/centos-x86_64/libicu-devel-50.1.2-15.el7.x86_64.rpm.html
像这种情况, 应该使用 yum provides "*/icu-config" 命令看看它在哪个包里面.