[Dovecot] sieve-cvs build failing @ 'make'

Richard openmacnews at gmail.com
Mon Aug 21 05:23:25 EEST 2006


-----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
- -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; \
then mv -f ".deps/sieve-cmu.Tpo" ".deps/sieve-cmu.Plo"; else rm -f
".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-----


More information about the dovecot mailing list