configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.

安装报错 · LOVE520 · 于 6年前 发布 · 3121 次阅读

configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information. 请问这个是怎么回事?安装imap的时候报了这个错,我在网上搜索了很久都没有解决这个的方法。大神求解。。。

共收到 3 条回复
LOVE520#16年前 0 个赞

网上说安装通过安装libc-client-devel,于是我用这个命令yum install libc-client-devel,可是发现说这个: 已加载插件:fastestmirror Loading mirror speeds from cached hostfile

  • base: mirrors.163.com
  • extras: centos.ustc.edu.cn
  • updates: centos.ustc.edu.cn 没有可用软件包 libc-client-devel。 错误:无须任何处理

然后我又执行这个命令 ./configure --with-php-config=/usr/local/php/bin/php-config --with-imap=/usr/lib64 --with-imap-ssl --with-kerberos
make && make install
结果还是一样啊。这究竟是怎么回事?

2楼 已删除.
xi_qing#36年前 0 个赞

你libc-client-devel有安装完成吗?有安装完成应该不会出现这个情况的,在执行

./configure --with-php-config=/usr/local/php/bin/php-config --with-imap=/usr/lib64 --with-imap-ssl --with-kerberos

这个之前有执行

/usr/local/php/bin/phpize

吗? 安装的时候没出现过你这个情况,有空的时候我重新装一下看看

LOVE520#46年前 0 个赞

/usr/local/php/bin/phpize 这个已经执行过了,可是就是不行,就差最后一步了,不知道怎么回事,网上也很难找到答案。都是说安装libc-client-devel这个

添加回复 (需要登录)
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册
Your Site Analytics