php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43661 on configure --with-imap the configuration fails
Submitted: 2007-12-23 14:20 UTC Modified: 2008-01-29 00:00 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:0 of 0 (0.0%)
From: rahul_sh at yahoo dot com Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 5.2.5 OS: RHL Enterprise 5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: rahul_sh at yahoo dot com
New email:
PHP Version: OS:

 

 [2007-12-23 14:20 UTC] rahul_sh at yahoo dot com
Description:
------------
using IMAP-2007 of UW
Apache 2

On issuing Command
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-imap --with-mysql


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


The end of config.log says


        SIZEDTEXT *src, *dst;
        utf8_mime2text(src, dst);

; return 0; }
configure:47498: checking for U8T_CANONICAL
configure:47514: gcc -c -I/usr/local/include  conftest.c 1>&5
In file included from /usr/local/include/c-client.h:41,
                 from configure:47505:
/usr/local/include/mail.h:1505:21: error: linkage.h: No such file or directory
In file included from configure:47505:
/usr/local/include/c-client.h:42:48: error: osdep.h: No such file or directory
In file included from /usr/local/include/c-client.h:48,
                 from configure:47505:
/usr/local/include/misc.h:52: error: expected specifier-qualifier-list before 'size_t'
/usr/local/include/misc.h:99: error: expected ')' before 'size'
configure: failed program was:
#line 47503 "configure"
#include "confdefs.h"

#include <c-client.h>

int main() {

         int i = U8T_CANONICAL;

; return 0; }


Reproduce code:
---------------
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-imap --with-mysql

Expected result:
----------------
success configuration with imap-2007 (UW)

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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-01-29 00:00 UTC] tony2001@php.net
Apparently not PHP problem.

/usr/local/include/mail.h:1505:21: error: linkage.h: No such file or
directory
/usr/local/include/c-client.h:42:48: error: osdep.h: No such file or
directory
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 13:01:28 2024 UTC