SOFTELメモ Developer's blog

会社概要 ブログ 調査依頼 採用情報 ...
てるてる動画

phpコンパイル中に utf8_mime2text() has new signature, but U8T_CANONICAL is missing.

問題

CentOS5でphp5.4.5をコンパイルしようとしたら以下のようなエラーで ./configure ができません。

checking for IMAP support... yes
checking for IMAP Kerberos support... yes
checking for IMAP SSL support... yes
checking for utf8_mime2text signature... new
checking for U8T_DECOMPOSE...
configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.

答え

問題が発生するのは –with-imapがあるときだと思う。

そんなときは libc-client-develをインストールする。

# yum install libc-client-devel

関連するメモ

コメント