configure.ac:64: error: possibly undefined macro: AM_ICONV
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
make: *** [configure] Error 1

解决办法 ,编译加m4_pattern_allow参数

即:./configure --enable-m4_pattern_allow (其它参数略)

便能顺利编译安装