Re: Cyrus 2.4 install

2010-10-22 Thread Bron Gondwana
On Fri, Oct 22, 2010 at 11:01:43AM +0200, JC Putter wrote:
> hi i am busy trying to upgrade to cyrus 2.4, however after running make i get 
> the following error, not to sure what is missing.
> /root/cyrus-imapd-2.4.2/imap/mailbox.c:653: undefined reference to `crc32_buf'
> libimap.a(mailbox.o): In function `mailbox_cacherecord':

Ooh.  You're missing zlib.

I strongly recommending installing zlib.  I had intented to add a
built-in implementation of the crc32 stuff, but I'm actually tempted
to make zlib required.  It gives you compress support as well.

The reason you're getting this error is that some monkey (hi) forgot
to add that API to the non-zlib case.

Regards,

Bron.

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Cyrus 2.4 install

2010-10-22 Thread JC Putter
hi i am busy trying to upgrade to cyrus 2.4, however after running make i get 
the following error, not to sure what is missing.

please can someone help me.

thank you.


### Making all in /root/cyrus-imapd-2.4.2/man
make[1]: Entering directory `/root/cyrus-imapd-2.4.2/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/cyrus-imapd-2.4.2/man'
### Making all in /root/cyrus-imapd-2.4.2/com_err/et
make[1]: Entering directory `/root/cyrus-imapd-2.4.2/com_err/et'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/cyrus-imapd-2.4.2/com_err/et'
### Making all in /root/cyrus-imapd-2.4.2/lib
make[1]: Entering directory `/root/cyrus-imapd-2.4.2/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/cyrus-imapd-2.4.2/lib'
### Making all in /root/cyrus-imapd-2.4.2/sieve
make[1]: Entering directory `/root/cyrus-imapd-2.4.2/sieve'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/cyrus-imapd-2.4.2/sieve'
### Making all in /root/cyrus-imapd-2.4.2/master
make[1]: Entering directory `/root/cyrus-imapd-2.4.2/master'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/cyrus-imapd-2.4.2/master'
### Making all in /root/cyrus-imapd-2.4.2/imap
make[1]: Entering directory `/root/cyrus-imapd-2.4.2/imap'
gcc  -o imapd \
 ../master/service.o pushstats.o imapd.o proxy.o imap_proxy.o index.o 
mutex_fake.o \
libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a  -lsasl2  -ldl  
-lresolv-ldb-4.3   ../com_err/et/libcom_err.a -lwrap -lnsl
libimap.a(mailbox.o): In function `cache_append_record':
/root/cyrus-imapd-2.4.2/imap/mailbox.c:653: undefined reference to `crc32_buf'
libimap.a(mailbox.o): In function `mailbox_cacherecord':
/root/cyrus-imapd-2.4.2/imap/mailbox.c:627: undefined reference to `crc32_buf'
libimap.a(upgrade_index.o): In function `update_record_from_cache':
/root/cyrus-imapd-2.4.2/imap/upgrade_index.c:110: undefined reference to 
`crc32_buf'
collect2: ld returned 1 exit status
make[1]: *** [imapd] Error 1
make[1]: Leaving directory `/root/cyrus-imapd-2.4.2/imap'
make: *** [all] Error 1

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/