10 November 2011

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

If you get the following error message when trying to compile php with imap module, you need to install the imap-2007f package first.

Error message:
error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.
Fix/solution:
 wget ftp://ftp.cac.washington.edu/imap/imap-2007f.tar.gz
tar zxvf imap-2007f.tar.gz
cd imap-2007f
make
Then add the path to imap-2007f directory to your --with-imap directive.

No comments:

Post a Comment