#46839 [Opn->Fbk]: cant compile 5.2.8 with imap c-client compiled manually
ID: 46839
Updated by: jani@php.net
Reported By: naox at o2 dot pl
-Status: Open
+Status: Feedback
Bug Type: IMAP related
Operating System: linux centos 5
PHP Version: 5.2.8
New Comment:
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?
Previous Comments:
------------------------------------------------------------------------
[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
Thread (6 messages)