php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40527 Can't compile with IMAP.
Submitted: 2007-02-17 22:32 UTC Modified: 2007-02-19 12:53 UTC
From: sega01 at gmail dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.2.1 OS: Linux/Zenserver (Slackware drv.)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sega01 at gmail dot com
New email:
PHP Version: OS:

 

 [2007-02-17 22:32 UTC] sega01 at gmail dot com
Description:
------------
./configure fails with --with-imap. I have tried a few different versions of uw-imap/c-client, and they all do not work. I'm sorry if this has been reported before, or I haven't read enough documentation but after hours of frustrating work I think it's time to submit my report. Let me know if you need my config.log file.

Reproduce code:
---------------
./configure (other things as well, but this only fails when imap is included) --with-imap

Expected result:
----------------
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.

Actual result:
--------------
Same as expected.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-02-18 15:41 UTC] iliaa@php.net
What version of c-client are you using?
 [2007-02-18 18:22 UTC] sega01 at gmail dot com
I have used 2002e and 2004 from uw imap. I had lots of trouble trying to compile the latest, so I just got those as packages and made sure they had the .a, .h, and appropriate files needed by PHP for imap support.

PS: I think that PHP should ship with the IMAP sources inside it, it would resolve many problems like this.
 [2007-02-19 10:00 UTC] tony2001@php.net
Please upload your config.log somewhere, I'll look into it.
 [2007-02-19 12:37 UTC] sega01 at gmail dot com
Here is my config log - http://www.go-beyond.org/config.log .

Thanks for looking into this.
 [2007-02-19 12:53 UTC] tony2001@php.net
configure:45914:22: c-client.h: No such file or directory

The header file "c-client.h" is apparently missing.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 15 11:01:32 2025 UTC