[Dovecot] sieve-cvs build failing @ 'make'
-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160
hi,
i've dovecot-cvs up on osx. logging in with virtual users is working. so far so good.
i'm attempting to build sieve support now.
after:
% cd /usr/ports/dovecot/dovecot-sieve
% glibtoolize -f -c
% autoreconf -i -f
configure.in: installing `./install-sh'
configure.in: installing `./missing'
src/Makefile.am: installing `./depcomp'
configure.in: installing `./ylwrap'
Makefile.am: installing `./INSTALL'
Makefile.am: installing `./COPYING'
a:
% ./configure \
--prefix=/usr/local/dovecot \
...
--disable-static --enable-shared \
--with-dovecot=/usr/ports/dovecot/dovecot-cvs
% make
fails @:
... gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/ports/dovecot/dovecot-cvs then mv -f ".deps/sieve-cmu.Tpo" ".deps/sieve-cmu.Plo"; else rm -f
- -I/usr/ports/dovecot/dovecot-cvs/src/lib
- -I/usr/ports/dovecot/dovecot-cvs/src/lib-dict
- -I/usr/ports/dovecot/dovecot-cvs/src/lib-mail
- -I/usr/ports/dovecot/dovecot-cvs/src/lib-storage
- -I/usr/ports/dovecot/dovecot-cvs/src/deliver
- -I/usr/local/berkeley-db/include -I/usr/local/cyrus-sasl/include
- -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations
- -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast
- -I/usr/local/ssl/include -MT map.lo -MD -MP -MF .deps/map.Tpo -c map.c
- -fno-common -DPIC -o .libs/map.o if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
- -I. -I.. -I/usr/ports/dovecot/dovecot-cvs
- -I/usr/ports/dovecot/dovecot-cvs/src/lib
- -I/usr/ports/dovecot/dovecot-cvs/src/lib-dict
- -I/usr/ports/dovecot/dovecot-cvs/src/lib-mail
- -I/usr/ports/dovecot/dovecot-cvs/src/lib-storage
- -I/usr/ports/dovecot/dovecot-cvs/src/deliver
- -I/usr/local/berkeley-db/include -I/usr/local/cyrus-sasl/include
- -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations
- -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast
- -I/usr/local/ssl/include -MT sieve-cmu.lo -MD -MP -MF ".deps/sieve-cmu.Tpo" -c -o sieve-cmu.lo sieve-cmu.c; \
".deps/sieve-cmu.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/ports/dovecot/dovecot-cvs
- -I/usr/ports/dovecot/dovecot-cvs/src/lib
- -I/usr/ports/dovecot/dovecot-cvs/src/lib-dict
- -I/usr/ports/dovecot/dovecot-cvs/src/lib-mail
- -I/usr/ports/dovecot/dovecot-cvs/src/lib-storage
- -I/usr/ports/dovecot/dovecot-cvs/src/deliver
- -I/usr/local/berkeley-db/include -I/usr/local/cyrus-sasl/include
- -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations
- -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast
- -I/usr/local/ssl/include -MT sieve-cmu.lo -MD -MP -MF .deps/sieve-cmu.Tpo -c sieve-cmu.c -fno-common -DPIC -o .libs/sieve-cmu.o sieve-cmu.c: In function 'get_flags': sieve-cmu.c:181: error: 'array_t' undeclared (first use in this function) sieve-cmu.c:181: error: (Each undeclared identifier is reported only once sieve-cmu.c:181: error: for each function it appears in.) sieve-cmu.c:181: error: parse error before 'union' sieve-cmu.c:181: warning: unused variable 'v_modifiable' sieve-cmu.c:181: warning: unused variable 'v' sieve-cmu.c:178: warning: unused parameter 'sieve_flags' sieve-cmu.c:179: warning: unused parameter 'flags_r' sieve-cmu.c:179: warning: unused parameter 'keywords_r' sieve-cmu.c: At top level: sieve-cmu.c:181: warning: type defaults to 'int' in declaration of 'keywords' sieve-cmu.c:181: warning: data definition has no type or storage class sieve-cmu.c:185: warning: type defaults to 'int' in declaration of 'flags_r' sieve-cmu.c:185: warning: data definition has no type or storage class sieve-cmu.c:187: error: parse error before 'void' sieve-cmu.c:187: warning: type defaults to 'int' in declaration of '_array_tmp' sieve-cmu.c:187: warning: initialization makes integer from pointer without a cast sieve-cmu.c:187: warning: data definition has no type or storage class sieve-cmu.c:187: error: parse error before '&' token sieve-cmu.c:193: error: parse error before '&' token sieve-cmu.c:209: warning: type defaults to 'int' in declaration of 'name' sieve-cmu.c:209: error: conflicting types for 'name' sieve-cmu.c:182: error: previous declaration of 'name' was here sieve-cmu.c:209: warning: initialization makes integer from pointer without a cast sieve-cmu.c:209: warning: data definition has no type or storage class sieve-cmu.c:210: error: parse error before 'void' sieve-cmu.c:210: error: parse error before '&' token sieve-cmu.c:212: warning: type defaults to 'int' in declaration of 'keywords_r' sieve-cmu.c:212: error: request for member 'arr' in something not a structure or union sieve-cmu.c:213: error: request for member 'v' in something not a structure or union sieve-cmu.c:213: error: request for member 'arr' in something not a structure or union sieve-cmu.c:213: warning: type defaults to 'int' in declaration of 'type name' sieve-cmu.c:213: warning: cast from function call of type 'const void *' to non-matching type 'int' sieve-cmu.c:213: warning: pointer/integer type mismatch in conditional expression sieve-cmu.c:213: error: initializer element is not constant sieve-cmu.c:213: warning: data definition has no type or storage class sieve-cmu.c:214: error: parse error before '}' token make[3]: *** [sieve-cmu.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
/"
\ / ASCII Ribbon Campaign
X against HTML email, vCards
/ \ & micro$oft attachments
[GPG] OpenMacNews at gmail dot com fingerprint: 50C9 1C46 2F8F DE42 2EDB D460 95F7 DDBD 3671 08C6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin)
iEYEAREDAAYFAkTpGRwACgkQlffdvTZxCMaAaQCeJVgg9SIx2iezvPwtHGZVghQE h4wAniYsJU//3a010k0bO0p9me8RHIGz =6Dh0 -----END PGP SIGNATURE-----
On Sun, 2006-08-20 at 19:23 -0700, Richard wrote:
sieve-cmu.c: In function 'get_flags': sieve-cmu.c:181: error: 'array_t' undeclared (first use in this function)
Don't use Dovecot's CVS HEAD, use branch_1_0 instead. I know HEAD has some bugs, and also dovecot-sieve doesn't compile with it as you can see.
-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160
Timo Sirainen wrote, On 8/23/06 6:44 AM:
On Sun, 2006-08-20 at 19:23 -0700, Richard wrote:
sieve-cmu.c: In function 'get_flags': sieve-cmu.c:181: error: 'array_t' undeclared (first use in this function)
Don't use Dovecot's CVS HEAD, use branch_1_0 instead. I know HEAD has some bugs, and also dovecot-sieve doesn't compile with it as you can see.
with branch_1_0 & sieve-cvs, now, all's, seemingly, well:
% ls -al /usr/local/dovecot-plugins/lda/*sieve* -rwxr-xr-x 1 root wheel 969 Aug 23 07:39 /usr/local/dovecot-plugins/lda/lib90_cmusieve_plugin.la -rwxr-xr-x 1 root wheel 258168 Aug 23 07:39 /usr/local/dovecot-plugins/lda/lib90_cmusieve_plugin.so
thanks!
richard
/"
\ / ASCII Ribbon Campaign
X against HTML email, vCards
/ \ & micro$oft attachments
[GPG] OpenMacNews at gmail dot com fingerprint: 50C9 1C46 2F8F DE42 2EDB D460 95F7 DDBD 3671 08C6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin)
iEYEAREDAAYFAkTsaSQACgkQlffdvTZxCMacpACfe0ZM8Y/Fe+hT39H4C1Fxebg3 gyQAn1oIoffPFiOeUe7iUbrvtqMqzXHE =Wxyl -----END PGP SIGNATURE-----
Timo Sirainen wrote:
On Sun, 2006-08-20 at 19:23 -0700, Richard wrote:
sieve-cmu.c: In function 'get_flags': sieve-cmu.c:181: error: 'array_t' undeclared (first use in this function)
Don't use Dovecot's CVS HEAD, use branch_1_0 instead. I know HEAD has some bugs, and also dovecot-sieve doesn't compile with it as you can see.
For some unknown reason, I can't retrieve dovecot-sieve (branch_1_0) from CVS. I use these commands:
cvs -d :pserver:anonymous@dovecot.org:/home/cvs login cvs -d :pserver:anonymous@dovecot.org:/home/cvs co -r branch_1_0 dovecot-sieve
and get this output on the screen:
cvs checkout: Updating dovecot-sieve cvs checkout: Updating dovecot-sieve/src cvs checkout: Updating dovecot-sieve/src/libsieve
but no files! Am I doing something wrong?
On 2006-08-24 09:00:43 +0200, Jef Driesen wrote:
Timo Sirainen wrote:
On Sun, 2006-08-20 at 19:23 -0700, Richard wrote:
sieve-cmu.c: In function 'get_flags': sieve-cmu.c:181: error: 'array_t' undeclared (first use in this function) Don't use Dovecot's CVS HEAD, use branch_1_0 instead. I know HEAD has some bugs, and also dovecot-sieve doesn't compile with it as you can see.
For some unknown reason, I can't retrieve dovecot-sieve (branch_1_0) from CVS. I use these commands:
cvs -d :pserver:anonymous@dovecot.org:/home/cvs login cvs -d :pserver:anonymous@dovecot.org:/home/cvs co -r branch_1_0 dovecot-sieve
timo referred to the dovecot
cvs -d :pserver:anonymous@dovecot.org:/home/cvs co -r branch_1_0 dovecot cvs -d :pserver:anonymous@dovecot.org:/home/cvs co dovecot-sieve
-- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
participants (4)
-
Jef Driesen
-
Marcus Rueckert
-
Richard
-
Timo Sirainen