ID: 20915 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Compile Failure Operating System: Debian 2.2 PHP Version: 4.2.3 New Comment:
You need cyrus-imapd-2.1.11 for this extension to work. I've added a check for the version in CVS. You need the latest CVS snapshot for this to work though. Previous Comments: ------------------------------------------------------------------------ [2002-12-10 08:21:03] [EMAIL PROTECTED] Zagorka:~# imtest localhost 143 * OK Zagorka Cyrus IMAP4 v1.5.19 server ready using gcc 2.95.I also tried gcc 3.2 but with the same results. ------------------------------------------------------------------------ [2002-12-09 23:22:00] [EMAIL PROTECTED] What cyrus version are you trying to compile with? ------------------------------------------------------------------------ [2002-12-09 20:40:58] [EMAIL PROTECTED] Same thing: Zagorka:~/php4-200212100230# make /bin/sh libtool --silent --mode=compile gcc -Iext/cyrus/ -I/root/php4-200212100230/ext/cyrus/ -DPHP_ATOM_INC -I/root/php4-200212100230/include -I/root/php4-200212100230/main -I/root/php4-200212100230 -I/usr/local/apache/include -I/root/php4-200212100230/Zend -I/usr/local/include -I/usr/local/gettext/include -I/usr/local/mysql/include/mysql -I/root/php4-200212100230/ext/xml/expat -I/root/php4-200212100230/TSRM -g -O2 -prefer-pic -c /root/php4-200212100230/ext/cyrus/cyrus.c -o ext/cyrus/cyrus.lo /root/php4-200212100230/ext/cyrus/cyrus.c: In function `zif_cyrus_connect': /root/php4-200212100230/ext/cyrus/cyrus.c:152: too many arguments to function `imclient_connect' /root/php4-200212100230/ext/cyrus/cyrus.c: In function `zif_cyrus_authenticate': /root/php4-200212100230/ext/cyrus/cyrus.c:300: warning: comparison between pointer and integer /root/php4-200212100230/ext/cyrus/cyrus.c:309: warning: comparison between pointer and integer /root/php4-200212100230/ext/cyrus/cyrus.c:318: warning: passing arg 2 of `imclient_authenticate' from incompatible pointer type /root/php4-200212100230/ext/cyrus/cyrus.c:318: too many arguments to function `imclient_authenticate' make: *** [ext/cyrus/cyrus.lo] Error 1 ------------------------------------------------------------------------ [2002-12-09 20:26:27] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-12-09 20:13:37] [EMAIL PROTECTED] I am trying to compile PHP with cyrus imap support but with no success.I found the same problem in the bug report database.There the problem is listed as resolved within the newest releases, but I am still getting the same error messages: cyrus.c: In function `zm_startup_cyrus': cyrus.c:86: warning: passing arg 1 of `zend_register_list_destructors_ex' from incompatible pointer type cyrus.c: In function `zif_cyrus_connect': cyrus.c:152: too many arguments to function `imclient_connect' cyrus.c: In function `zif_cyrus_authenticate': cyrus.c:300: warning: comparison between pointer and integer cyrus.c:309: warning: comparison between pointer and integer cyrus.c:318: warning: passing arg 2 of `imclient_authenticate' from incompatible pointer type cyrus.c:318: too many arguments to function `imclient_authenticate' make[3]: *** [cyrus.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 Here is the command line that I use: ./configure --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache/bin/apxs --enable-inline-optimization --with-gettext=/usr/local/gettext --with-openssl=/usr/local --with-wddx --with-cyrus --with-imap-ssl=/usr/local --with-xml --with-mcrypt --with-png-dir=/usr --enable-ftp --with-mcal=/usr Here is the bug report ID that I was looking at earling in my efforts to resolve this. http://bugs.php.net/bug.php?id=15059 Regards, ka ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20915&edit=1