[Dovecot] Problem compile dovecot-sieve under Debian
Dominique Feyer
dfeyer at net4all.ch
Fri Jun 16 19:53:14 EEST 2006
I get the source from CVS:
# cvs -d :pserver:anonymous at dovecot.org:/home/cvs co dovecot-sieve
Edit configure.in to change
- AC_CONFIG_HEADERS([dsieve-config.h])
+ AC_CONFIG_HEADERS(dsieve-config.h)
Launch autogen.sh, and I have some errors:
configure.in: 4: `automake requires `AM_CONFIG_HEADER', not
`AC_CONFIG_HEADER'
configure.in: 11: automake requires `AM_PROG_LEX', not `AC_PROG_LEX'
automake: src/libsieve/Makefile.am: not supported: source file
`../map.c' is in subdirectory
automake: src/libsieve/Makefile.am: not supported: source file
`../imparse.c' is in subdirectory
automake: src/libsieve/Makefile.am: lex source seen but `AC_DECL_YYTEXT'
not in `configure.in'
If i try to build:
# ./configure --with-dovecot=../dovecot-1.0.beta9
No error:
...
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/libsieve/Makefile
config.status: creating stamp.h
config.status: creating dsieve-config.h
config.status: dsieve-config.h is unchanged
# make
gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-function-cast -o sievec sievec.o
libsieve.a /usr/src/dovecot-1.0.beta9/src/lib/liblib.a
libsieve.a(script.o)(.text+0xa23): In function `sieve_script_load':
/usr/src/dovecot-sieve/src/libsieve/script.c:435: undefined reference to
`map_refresh'
libsieve.a(script.o)(.text+0xaf0): In function `sieve_script_unload':
/usr/src/dovecot-sieve/src/libsieve/script.c:462: undefined reference to
`map_free'
libsieve.a(sieve.o)(.text+0x1e6e): In function `verify_flag':
/usr/src/dovecot-sieve/src/libsieve/sieve.y:951: undefined reference to
`imparse_isatom'
collect2: ld returned 1 exit status
make[3]: *** [sievec] Erreur 1
make[3]: Leaving directory `/usr/src/dovecot-sieve/src/libsieve'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/usr/src/dovecot-sieve/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/usr/src/dovecot-sieve'
make: *** [all-recursive-am] Erreur 2
I try to install cyrus-dev or cyrus21-dev with apt-get, but nothing
change, always the same error.
Does someone have success with plugin dovecot-sieve ?
Thanks
--
Dominique Feyer
Administrateur Système
Ch. de la Colline 5bis
CH-1007 Lausanne
dfeyer at net4all.ch
More information about the dovecot
mailing list