[Dovecot] Compile error sieve plugin for dovecot2

Christian Kivalo valo at valo.at
Mon Jun 28 00:38:19 EEST 2010


Hello,

I'm trying to compile the sieve plugin for dovecot2

Dovecot2-beta6 is allready running and working.

i did a hg clone http://hg.renamie-it.nl/dovecot-2.0-pigeonhole and ran the
autogen.sh script as mentioned in the INSTALL file

configure options:
/configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc
--with-dovecot=/usr/lib/dovecot/ --with-managesieve=no

compiling gives an error after a while:

/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../..  -I/usr/include/dovecot   -DMODULEDIR=\""/usr/lib/dovecot"\"  
-std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations
-Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast
-Wstrict-aliasing=2  -MT sieve-actions.lo -MD -MP -MF .deps/sieve-actions.Tpo -c
-o sieve-actions.lo sieve-actions.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/dovecot
-DMODULEDIR=\"/usr/lib/dovecot\" -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-function-cast -Wstrict-aliasing=2 -MT sieve-actions.lo -MD -MP -MF
deps/sieve-actions.Tpo -c sieve-actions.c  -fPIC -DPIC -o .libs/sieve-actions.o
sieve-actions.c: In function 'act_store_mailbox_open':
sieve-actions.c:338: error: storage size of 'save_ctx' isn't known
sieve-actions.c:355: warning: implicit declaration of function
'mail_deliver_save_open'
sieve-actions.c:338: warning: unused variable 'save_ctx'
make[4]: *** [sieve-actions.lo] Fehler 1
make[4]: Leaving directory
`/usr/src/dovecot/dovecot-2.0-pigeonhole/src/lib-sieve'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory
`/usr/src/dovecot/dovecot-2.0-pigeonhole/src/lib-sieve'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/usr/src/dovecot/dovecot-2.0-pigeonhole/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/src/dovecot/dovecot-2.0-pigeonhole'
make: *** [all] Fehler 2

am i missing something? further information can be provided. dovecot2 was
configured with prefix/sysconfdir/localstatedir as above

it doesnt make any differences if i change --with-dovecot to the local sources
directory

thanks in advance
Christian Kivalo




More information about the dovecot mailing list