[Dovecot] Compile Metadata for 2.2.9
hi,
I use Debian Wheezy backports for Dovecot and I want to compile the latest metadata plugin, but it fails:
the metadata plugin was downloaded via: http://hg.dovecot.org/dovecot-metadata-plugin/archive/tip.tar.gz
root@build:~/dovecot-metadata-plugin-b6df1381bb79# ./configure --with-dovecot=/usr/lib/dovecot/ && make
[...]
/bin/bash ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/include/dovecot -g -O2 -MT imap-metadata-plugin.lo -MD -MP -MF .deps/imap-metadata-plugin.Tpo -c -o imap-metadata-plugin.lo imap-metadata-plugin.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/include/dovecot -g -O2 -MT imap-metadata-plugin.lo -MD -MP -MF .deps/imap-metadata-plugin.Tpo -c imap-metadata-plugin.c -fPIC -DPIC -o .libs/imap-metadata-plugin.o
imap-metadata-plugin.c:452:1: error: static declaration of 'cmd_getmetadata' follows non-static declaration
In file included from /usr/include/dovecot/imap-client.h:4:0,
from /usr/include/dovecot/imap-common.h:17,
from imap-metadata-plugin.c:21:
/usr/include/dovecot/imap-commands.h:110:6: note: previous declaration of 'cmd_getmetadata' was here
imap-metadata-plugin.c:743:1: error: static declaration of 'cmd_setmetadata' follows non-static declaration
In file included from /usr/include/dovecot/imap-client.h:4:0,
from /usr/include/dovecot/imap-common.h:17,
from imap-metadata-plugin.c:21:
/usr/include/dovecot/imap-commands.h:111:6: note: previous declaration of 'cmd_setmetadata' was here
make[2]: *** [imap-metadata-plugin.lo] Error 1
make[2]: Leaving directory /root/dovecot-metadata-plugin-b6df1381bb79/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/root/dovecot-metadata-plugin-b6df1381bb79'
make: *** [all] Error 2
I tried also hg clone ..., but got the same ...
Do I need Dovecot 2.2.10 to compile successful ?
cu denny
Denny Fuchs:
Do I need Dovecot 2.2.10 to compile successful ?
if depends on your needs. dovecot support IMAP METADATA Extension (RFC
5464) out of the box.
at least I do not need a separate source package anymore.
I have this with dovecot-2.2.12:
--- snip imap_metadata = yes mail_attribute_dict = file:Maildir/dovecot-metadata --- snap
together with "mail_location = maildir:~/Maildir" dovecot create it's operational files at the usual location. works perfect with my horde ...
Andreas
hi,
Am 14.03.2014 um 21:49 schrieb Andreas Schulze sca@andreasschulze.de:
if depends on your needs. dovecot support IMAP METADATA Extension (RFC 5464) out of the box. at least I do not need a separate source package anymore.
I want to test a Kolab setup, first for private use, later also in the university
I have this with dovecot-2.2.12:
--- snip imap_metadata = yes mail_attribute_dict = file:Maildir/dovecot-metadata --- snap
I thought, it is plugin, so I tried to find it on the disk ... but nothing found on the Debian (regular Wheezy packages)
cu denny
Denny Fuchs:
I want to test a Kolab setup, first for private use, later also in
the university same here but horde, not kolab
I thought, it is plugin, so I tried to find it on the disk ... but
nothing found on the Debian (regular Wheezy packages) I compile the source, no experience with Wheezy packages.
But I just checked I do not explicit enable metadata at compiletime. Support started in dovecot-2.2.(5-9)? and 2.2.10 did some fixes. It's simply default and must be configured only.
Andreas
participants (2)
-
Andreas Schulze
-
Denny Fuchs