Thursday, November 5, 2009

Errors on enabling Imap module for PHP 5.3

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

OS - RHEL 5 x86_64
Configure PHP 5.3.0

./configure --with-imap=/home/krishna/courier-imap-4.6.0 --with-kerberos --with-imap-ssl --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache2/bin/apxs --with-mcrypt --with-gd --enable-mbstring --with-gettext --enable-bcmath --enable-calendar --enable-wddx

To correct this,

Install libc-client-2004g-2.2.1.x86_64.rpm & libc-client-devel-2004g-2.2.1.x86_64.rpm

This should correct the errors.

---------


Ok - here is another,

configure: error: Cannot find imap library (libc-client.a). Please check your c-client installation

Create a soft link to the 32-bit libraries.

ln -s /usr/lib64/libc-client.a /usr/lib/libc-client.a

Run configure again and you shouldn't see this error.

-----------

No comments: