【问题标题】:Error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing错误:utf8_mime2text() 具有新签名,但缺少 U8T_CANONICAL
【发布时间】:2017-11-29 16:37:31
【问题描述】:

我试图在运行 CentOS 7 的 VM 上安装 php,但是当我尝试配置 php 时,我遇到了以下错误:

我的配置设置:

./configure --enable-bcmath --with-bz2 --enable-calendar --with-curl --enable-exif --enable-ftp --with-gd --with-jpeg-dir --with-png-dir --with-freetype-dir --enable-gd-native-ttf --with-imap --with-imap-ssl --with-kerberos --enable-mbstring --with-mcrypt --with-mhash --with-mysql --with-mysqli --with-openssl --with-pcre-regex --with-pdo-mysql --with-zlib-dir --with-regex --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-soap --enable-sockets --with-xmlrpc --enable-zip --with-zlib --enable-inline-optimization --enable-mbregex --enable-opcache --enable-fpm --prefix=/usr/local/php

错误:

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

我已经经历了大约十几个线程说我需要安装 libc-client-devel,但是当我尝试这样做(使用 yum)时,我收到一个错误,指出该包不存在。

我在这里错过了什么?

【问题讨论】:

    标签: php linux lamp


    【解决方案1】:

    如果稍后查看此问题的任何人想知道,找到我的问题的解决方案。我需要启用 EPEL 存储库以使那些丢失的包可用。在我导入该存储库后,一切都安装好了。

    【讨论】:

    • 如何在 docker 文件中执行此操作?
    猜你喜欢
    • 2012-11-06
    • 2013-11-18
    • 1970-01-01
    • 1970-01-01
    • 2015-12-25
    • 2017-08-27
    • 1970-01-01
    • 1970-01-01
    • 2018-08-11
    相关资源
    最近更新 更多