|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42108 utf8_mime2text() has new signature, but U8T_CANONICAL is missing
Submitted: 2007-07-26 02:31 UTC Modified: 2007-07-26 07:22 UTC
Avg. Score:5.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: sahengala at yahoo dot com Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 5.2.3 OS: Red Hat Enterprise Linux ES rele
Private report: No CVE-ID: None
 [2007-07-26 02:31 UTC] sahengala at yahoo dot com
As required I have downloaded imap and installed in:


(completed all the steps mentioned in: - 07-Jul-2007 06:41 except deleting the files from the folder)

I tried to install php with the following configure options:

./configure --prefix=/usr/local/php-5.2.3 --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/lib/mysql  --with-libxml-dir=/usr/local/libxml2 --with-imap=/usr/local/imap-2006j  --with-imap-ssl=/usr/include/openssl --enable-static=no

The following error is displayed:

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

Expected result:
should configure without any errors.

Actual result:
In config.log the last 5 lines are:

configure:45747: checking if your cpp allows macro usage in include lines
configure:45759: gcc -c -I/usr/include -g -O2  conftest.c 1>&5
configure:46103: checking for IMAP support
configure:46149: checking for IMAP Kerberos support
configure:46174: checking for IMAP SSL support
configure:46590: checking for utf8_mime2text signature
configure:46608: gcc -c -I/usr/local/imap-2006j/include  conftest.c 1>&5
configure:46637: checking for U8T_CANONICAL
configure:46653: gcc -c -I/usr/local/imap-2006j/include  conftest.c 1>&5


php-patch42108 (last revision 2010-09-04 08:59 UTC by hamada at mail dot fc-cn dot com)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-07-26 02:55 UTC] sahengala at yahoo dot com
I have been able to fix this. I re-did all the steps with a fresh compile. Sorry for bugging :) - Keep up the good work.

I had issue in between with compiling imap, had to install the pam-devel.

Used command: $ up2date pam-devel or  $ yum list available | grep -i openssl. and  $ yum install openssl.i386 to install it.

Well hope u all have an easy time fixing issues.
 [2007-07-26 07:22 UTC]
Okay, marking it bogus then.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jul 25 07:01:31 2024 UTC