[Dovecot] Compile Metadata for 2.2.9
Denny Fuchs
linuxmail at 4lin.net
Fri Mar 14 18:51:14 UTC 2014
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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://dovecot.org/pipermail/dovecot/attachments/20140314/e245e79d/attachment.sig>
More information about the dovecot
mailing list