Bug #15059: compile fails when I add cyrus support
| From: | shillier at cbnco dot com | Date: | Tue, 15 Jan 2002 22:18:28 +0000 |
| Subject: | Bug #15059: compile fails when I add cyrus support | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-77173@lists.php.net to get a copy of this message | ||
From: shillier@cbnco.com
Operating system: SuSE Linux7.2 linux-2.4.9
PHP version: 4.1.1
PHP Bug Type: *Compile Issues
Bug description: compile fails when I add cyrus support
Hi,
Vanilla php-4.1.1 src tree,
here's my command sequence:
# ./configure --with-zlib --enable-calendar --with-mcal=/usr --with-pgsql
--enable-trans-sid --enable-sysvshm --with-xml --with-imap-ssl --with-imap
--with-cyrus=/usr/cyrus
<configure script runs fine, with no errors>
# make all
Output:
<...snip>
Making all in cyrus
make[2]: Entering directory `/tmp/php-4.1.1/ext/cyrus'
make[3]: Entering directory `/tmp/php-4.1.1/ext/cyrus'
gcc -I. -I/tmp/php-4.1.1/ext/cyrus -I/tmp/php-4.1.1/main -I/tmp/php-4.1.1
-I/tmp/php-4.1.1/Zend -I/usr/include/imap -I/usr/include/mcal
-I/tmp/php-4.1.1/ext/mysql/libmysql -I/tmp/php-4.1.1/ext/xml/expat
-I/tmp/php-4.1.1/TSRM -g -O2 -c cyrus.c && touch cyrus.lo
cyrus.c: In function `zif_cyrus_authenticate':
cyrus.c:271: warning: assignment makes pointer from integer without a
cast
cyrus.c:275: warning: assignment makes pointer from integer without a
cast
cyrus.c:293: warning: comparison between pointer and integer
cyrus.c:302: warning: comparison between pointer and integer
cyrus.c: In function `zif_cyrus_query':
cyrus.c:467: void value not ignored as it ought to be
make[3]: *** [cyrus.lo] Error 1
make[3]: Leaving directory `/tmp/php-4.1.1/ext/cyrus'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/php-4.1.1/ext/cyrus'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/php-4.1.1/ext'
make: *** [all-recursive] Error 1
</snip...>
And that's after I corrected a type-o on line 89 and 90 of
$builddir/ext/cyrus/cyrus.c
This type-o also prevented a successful compile. I'm curious why I can't
get this thing to work. What's broken? I've looked at the source code on
the lines indicated but I can't find anything wrong. Can someone please
help?
--
Edit bug report at: http://bugs.php.net/?id=15059&edit=1