[Dovecot] dovecot-1.0.rc15 with quota-rewrite on FreeBSD

Timo Sirainen tss at iki.fi
Sun Dec 3 14:02:44 UTC 2006


On Tue, 2006-11-28 at 10:42 -0500, Félix Langelier wrote:
> Hello,
> 
> I tried to compile dovecot rc15 from the sources with the quota-rewrite patch (http://dovecot.org/patches/1.0/quota-rewrite.diff) on FreeBSD 6.1, but the compilation stop with the following errors.
> 
> I am not very good in coding, so if you could fix the patch for FreeBSD it will be great.
> 
> Making all in trash
> if /usr/local/bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I../../..  -I../../../src/lib  -I../../../src/lib-mail  -I../../../src/lib-storage  -I../../../src/plugins/quota    -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT trash-plugin.lo -MD -MP -MF ".deps/trash-plugin.Tpo" -c -o trash-plugin.lo trash-plugin.c;  then mv -f ".deps/trash-plugin.Tpo" ".deps/trash-plugin.Plo"; else rm -f ".deps/trash-plugin.Tpo"; exit 1; fi
> mkdir .libs
>  gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/lib -I../../../src/lib-mail -I../../../src/lib-storage -I../../../src/plugins/quota -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT trash-plugin.lo -MD -MP -MF .deps/trash-plugin.Tpo -c trash-plugin.c  -fPIC -DPIC -o .libs/trash-plugin.o
> trash-plugin.c:103: warning: "struct quota_root_transaction_context" declared inside parameter list
..

Yes, the quota-rewrite breaks the trash plugin. If you don't need it,
you can just ignore this since pretty much everything else has already
been compiled. Just do make install and it should work..

I'll update the patch to mention this also.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20061203/aa28bd92/attachment-0001.pgp 


More information about the dovecot mailing list