|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46839 cant compile 5.2.8 with imap c-client compiled manually
Submitted: 2008-12-12 00:38 UTC Modified: 2008-12-19 01:36 UTC
Avg. Score:1.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: naox at o2 dot pl Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 5.2.8 OS: linux centos 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.
Block user comment
Status: Assign to:
Bug Type:
From: naox at o2 dot pl
New email:
PHP Version: OS:


 [2008-12-12 00:38 UTC] naox at o2 dot pl
I use manualy compiled imap-2007d. I do this because there is a 
problem - c-client has small number FD_SETSIZE. If your apache 
httpd.conf opens a lot of log files than c-client crashes apache 
child if called from PHP. So I cant use standard c-client suplied 
with linux.

Now when I try to compile PHP 5.2.8 with manualy complied c-client

/root/naox/php-5.2.8.mod/ext/imap/php_imap.c: In function 
/root/naox/php-5.2.8.mod/ext/imap/php_imap.c:477: error: 'auth_gss' 
undeclared (first use in this function)
/root/naox/php-5.2.8.mod/ext/imap/php_imap.c:477: error: (Each 
undeclared identifier is reported only once
/root/naox/php-5.2.8.mod/ext/imap/php_imap.c:477: error: for each 
function it appears in.)
/root/naox/php-5.2.8.mod/ext/imap/php_imap.c: In function 
/root/naox/php-5.2.8.mod/ext/imap/php_imap.c:2175: warning: passing 
argument 3 of 'rfc822_parse_adrlist' from incompatible pointer type
make: *** [ext/imap/php_imap.lo] Error 1

Problem only occurs in PHP 5.2.8. In PHP 5.2.6 everything works fine. 
Also problem does not appear if I compile PHP 5.2.8 with standard c-
client suplied with linux.

If I copy ext/imap/php_imap.c from 5.2.6 into 5.2.8 I can compile php 
without problems

There are some old bug reports about this problem resolved years ago 
with "fixed in cvs". So I suspect you reverted your php_imap.c in 
5.2.8 to state where it was not fixec.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-12-16 18:31 UTC]
Are you sure you don't have linkage.h file from some other build than that you compiled yourself? And did you use --with-kerberos in your php configure line?
 [2008-12-16 19:01 UTC] naox at o2 dot pl
Yes, I use '--with-kerberos' on my configure. And also

That has files from compiled imap-2007d - files are placed as 
instructed at
all of these files comes from imap-2007d...
 [2008-12-17 02:47 UTC]
So does that linkage.h contain auth_gss ?
 [2008-12-18 01:58 UTC] naox at o2 dot pl
linkage.h in c-client does not contain auth_gss. Also compiling 
wihtout '--with-kerberos' makes no diffrence
 [2008-12-19 01:36 UTC]
So obviously you have now messed up your system somehow. Please 
cleanup all (and I mean ALL) headers and libraries from your system, 
recompile and reconfigure PHP and it will work.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Dec 05 10:01:26 2023 UTC