[Dovecot] v1.1.2 release candidate

Chris Wakelin c.d.wakelin at reading.ac.uk
Mon Jul 21 16:48:12 EEST 2008


Timo Sirainen wrote:
> On Mon, 2008-07-21 at 10:14 +0100, Chris Wakelin wrote:
>>> 	+ zlib plugin supports now bzip2 also.
>> This breaks for me on Solaris 8 and gcc 3.3.2
>>
>> In file included from istream-bzlib.c:8:
>> /usr/include/bzlib.h:170: error: parse error before "FILE"
>> /usr/include/bzlib.h:198: error: parse error before "FILE"
> 
> This should help: http://hg.dovecot.org/dovecot-1.1/rev/b6ab2e6835e4
> 
>> In file included from istream-bzlib.c:19:
>> istream-zlib.c: In function `i_stream_zlib_close':
>> istream-zlib.c:38: warning: implicit declaration of function `BZ2_bzclose'
> 
> Well, these then..
> 
>> and similar for line 198. Solaris 10/gcc 3.4.3 seems OK so perhaps the 
>> Solaris 8 bzip2 library is too old (appears to be "bzip2/libbzip2 
>> version 0.9.0c")?
> 
> Yes, I guess they didn't have those BZ2 prefixes. Probably not worth the
> trouble to support the old library, so:
> http://hg.dovecot.org/dovecot-1.1/rev/d46b9e8dcf13
> 

That fixes it, of course (so does removing the BZ2_ prefixes from the 
functions together with the stdio.h include). I'm left with just (most 
of) the compile errors I mentioned in 
http://www.dovecot.org/list/dovecot/2008-June/031350.html
plus

> mailbox-list.c: In function `mailbox_list_get_permissions':
> mailbox-list.c:286: warning: unsigned int format, mode_t arg (arg 4)

Presumably these don't matter?

Best Wishes,
Chris

-- 
--+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
Christopher Wakelin,                           c.d.wakelin at reading.ac.uk
IT Services Centre, The University of Reading,  Tel: +44 (0)118 378 8439
Whiteknights, Reading, RG6 2AF, UK              Fax: +44 (0)118 975 3094


More information about the dovecot mailing list