ID:               46839
 User updated by:  naox at o2 dot pl
 Reported By:      naox at o2 dot pl
-Status:           Feedback
+Status:           Open
 Bug Type:         IMAP related
 Operating System: linux centos 5
 PHP Version:      5.2.8
 New Comment:

linkage.h in c-client does not contain auth_gss. Also compiling 
wihtout '--with-kerberos' makes no diffrence


Previous Comments:
------------------------------------------------------------------------

[2008-12-17 02:47:01] j...@php.net

So does that linkage.h contain auth_gss ?

------------------------------------------------------------------------

[2008-12-16 19:01:16] naox at o2 dot pl

Yes, I use '--with-kerberos' on my configure. And also
'--with-imap=/root/c-client-my'

That has files from compiled imap-2007d - files are placed as 
instructed at
http://pl.php.net/manual/en/imap.setup.php
all of these files comes from imap-2007d...

------------------------------------------------------------------------

[2008-12-16 18:31:09] j...@php.net

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-12 00:38:44] naox at o2 dot pl

Description:
------------
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 
'zm_startup_imap':
/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 
'zif_imap_rfc822_parse_adrlist':
/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.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=46839&edit=1

Reply via email to