[Dovecot] v1.1.beta1 released: sieve plugin

Luigi Rosa lrosa at hypertrek.info
Sun Sep 23 17:48:24 EEST 2007


Timo Sirainen said the following on 09/23/07 15:55:
> http://dovecot.org/releases/1.1/beta/dovecot-1.1.beta1.tar.gz
> http://dovecot.org/releases/1.1/beta/dovecot-1.1.beta1.tar.gz.sig

Did you tested it with sieve-plugin-1.0.2?

I have a problema on my linuxbox
Linux mail.hypertrek.info 2.6.22.5-76.fc7 #1 SMP Thu Aug 30 13:08:59 EDT 2007 
x86_64 x86_64 x86_64 GNU/Linux


Under dovecot 1.1b1 sourcedir I executed:

./configure --with-shadow --with-pam --with-ssl=openssl --disable-ipv6 
--sysconfdir=/etc --localstatedir=/var

make



Then under dovecot-sieve-1.0.2 sourcedir I executed

./configure --with-dovecot=../dovecot-1.1.beta1

make


The compilation process gave first some warnings:



  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/src/dovecot-1.1.beta1 
-I/usr/src/dovecot-1.1.beta1/src/lib -I../../src -std=gnu99 -g -O2 -Wall -W 
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts 
-Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -I/usr/kerberos/include 
-DENABLE_REGEX -MT addr-lex.lo -MD -MP -MF .deps/addr-lex.Tpo -c addr-lex.c 
-fPIC -DPIC -o .libs/addr-lex.o
<stdout>:1654: warning: no previous prototype for 'addrget_lineno'
<stdout>:1663: warning: no previous prototype for 'addrget_in'
<stdout>:1671: warning: no previous prototype for 'addrget_out'
<stdout>:1679: warning: no previous prototype for 'addrget_leng'
<stdout>:1688: warning: no previous prototype for 'addrget_text'
<stdout>:1697: warning: no previous prototype for 'addrset_lineno'
<stdout>:1709: warning: no previous prototype for 'addrset_in'
<stdout>:1714: warning: no previous prototype for 'addrset_out'
<stdout>:1719: warning: no previous prototype for 'addrget_debug'
<stdout>:1724: warning: no previous prototype for 'addrset_debug'
<stdout>:1758: warning: no previous prototype for 'addrlex_destroy'
  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/src/dovecot-1.1.beta1 
-I/usr/src/dovecot-1.1.beta1/src/lib -I../../src -std=gnu99 -g -O2 -Wall -W 
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts 
-Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -I/usr/kerberos/include 
-DENABLE_REGEX -MT addr-lex.lo -MD -MP -MF .deps/addr-lex.Tpo -c addr-lex.c -o 
addr-lex.o >/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. 
-I../..  -I/usr/src/dovecot-1.1.beta1 -I/usr/src/dovecot-1.1.beta1/src/lib 
-I../../src   -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes 
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 
-Wbad-function-cast -Wstrict-aliasing=2 -I/usr/kerberos/include  -DENABLE_REGEX 
-MT sieve-lex.lo -MD -MP -MF ".deps/sieve-lex.Tpo" -c -o sieve-lex.lo sieve-lex.c; \
         then mv -f ".deps/sieve-lex.Tpo" ".deps/sieve-lex.Plo"; else rm -f 
".deps/sieve-lex.Tpo"; exit 1; fi
  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/src/dovecot-1.1.beta1 
-I/usr/src/dovecot-1.1.beta1/src/lib -I../../src -std=gnu99 -g -O2 -Wall -W 
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts 
-Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -I/usr/kerberos/include 
-DENABLE_REGEX -MT sieve-lex.lo -MD -MP -MF .deps/sieve-lex.Tpo -c sieve-lex.c 
-fPIC -DPIC -o .libs/sieve-lex.o
<stdout>:2106: warning: no previous prototype for 'yyget_lineno'
<stdout>:2115: warning: no previous prototype for 'yyget_in'
<stdout>:2123: warning: no previous prototype for 'yyget_out'
<stdout>:2131: warning: no previous prototype for 'yyget_leng'
<stdout>:2140: warning: no previous prototype for 'yyget_text'
<stdout>:2149: warning: no previous prototype for 'yyset_lineno'
<stdout>:2161: warning: no previous prototype for 'yyset_in'
<stdout>:2166: warning: no previous prototype for 'yyset_out'
<stdout>:2171: warning: no previous prototype for 'yyget_debug'
<stdout>:2176: warning: no previous prototype for 'yyset_debug'
<stdout>:2213: warning: no previous prototype for 'yylex_destroy'



Then after few steps an error:


  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/src/dovecot-1.1.beta1 
-I/usr/src/dovecot-1.1.beta1/src/lib -I../../src -std=gnu99 -g -O2 -Wall -W 
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts 
-Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -I/usr/kerberos/include 
-DENABLE_REGEX -MT comparator.lo -MD -MP -MF .deps/comparator.Tpo -c 
comparator.c  -fPIC -DPIC -o .libs/comparator.o
comparator.c:150: error: expected ';', ',' or ')' before '__attr_unused__'
comparator.c:217: error: expected ';', ',' or ')' before '__attr_unused__'
comparator.c:225: error: expected ';', ',' or ')' before '__attr_unused__'
comparator.c:239: error: expected ';', ',' or ')' before '__attr_unused__'
comparator.c:259: error: expected ';', ',' or ')' before '__attr_unused__'
comparator.c: In function 'lookup_comp':
comparator.c:392: error: 'octet_contains' undeclared (first use in this function)
comparator.c:392: error: (Each undeclared identifier is reported only once
comparator.c:392: error: for each function it appears in.)
comparator.c:395: error: 'octet_matches' undeclared (first use in this function)
comparator.c:399: error: 'octet_regex' undeclared (first use in this function)
comparator.c:415: error: 'ascii_casemap_contains' undeclared (first use in this 
function)
comparator.c:418: error: 'ascii_casemap_matches' undeclared (first use in this 
function)
make[3]: *** [comparator.lo] Error 1
make[3]: Leaving directory `/usr/src/dovecot-sieve-1.0.2/src/libsieve'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/dovecot-sieve-1.0.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/dovecot-sieve-1.0.2'
make: *** [all] Error 2





Ciao,
luigi

-- 
/
+--[Luigi Rosa]--
\

(1) Everything depends.
(2) Nothing is always.
(3) Everything is sometimes.


More information about the dovecot mailing list