[Dovecot] Compile error sieve plugin for dovecot2
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
On Sun, 2010-06-27 at 23:38 +0200, Christian Kivalo wrote:
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
If you use latest hg pigeonhole, you need to use latest hg dovecot because of some API changes.
Timo Sirainen <tss@iki.fi> wrote:
On Sun, 2010-06-27 at 23:38 +0200, Christian Kivalo wrote:
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
If you use latest hg pigeonhole, you need to use latest hg dovecot because of some API changes.
Thanks.
Did hg clone http://hg.dovecot.org/dovecot-2.0
./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc
--with-ssl=openssl
gives error:
checking for dlopen in -ldl... yes
./configure: line 20564: syntax error near unexpected token SSL,' ./configure: line 20564:
PKG_CHECK_MODULES(SSL, openssl)'
is there a sieve plugin download compatible with dovecot2-0.beta6 available?
Christian Kivalo <valo@valo.at> wrote:
Timo Sirainen <tss@iki.fi> wrote:
On Sun, 2010-06-27 at 23:38 +0200, Christian Kivalo wrote:
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
If you use latest hg pigeonhole, you need to use latest hg dovecot because of some API changes.
Thanks.
Did hg clone http://hg.dovecot.org/dovecot-2.0
./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-ssl=openssl
gives error:
checking for dlopen in -ldl... yes ./configure: line 20564: syntax error near unexpected token
SSL,' ./configure: line 20564:
PKG_CHECK_MODULES(SSL, openssl)'is there a sieve plugin download compatible with dovecot2-0.beta6 available?
problem solved, my fault.
error was with pkg-config beeing not installed on new system.
after installation of pkg-config didnt rerun autogen.sh
dovecot-2.0 compiles cleanly sieve plugin also compiled cleanly
time for some tests
participants (2)
-
Christian Kivalo
-
Timo Sirainen