#20915 [Fbk->Opn]: Problems Compiling PHP with Cyrus imap

From: Date: Tue, 10 Dec 2002 14:21:04 +0000
Subject: #20915 [Fbk->Opn]: Problems Compiling PHP with Cyrus imap
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-27259@lists.php.net to get a copy of this message
ID: 20915 User updated by: koce@gmx.net Reported By: koce@gmx.net -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: Debian 2.2 PHP Version: 4.2.3 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2002-12-09 23:22:00] sniper@php.net What cyrus version are you trying to compile with? ------------------------------------------------------------------------ [2002-12-09 20:40:58] koce@gmx.net 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] iliaa@php.net 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] koce@gmx.net 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

« previous php.bugs (#27259) next »