[Dovecot] Problem Compiling Dovecot-LDA

Timothy White dovecot.user at weirdo.bur.st
Thu Jun 8 05:54:18 EEST 2006


I'm trying to setup Dovecot-LDA. I grab dovecot beta8 and compiled it
with the following options.

$ ./configure --without-deliver --with-mysql
$ make
# make install

It builds fine, and I have it running fine now.

I then tried to build dovecot-lda from cvs, with the following.
$ ./configure --with-dovecot=../dovecot-1.0.beta8/
$ make
and it then fails with the following

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
/home/tim/src/dovecot-1.0.beta8/src/lib/liblib.a
libsieve.a(script.o)(.text+0xa23): In function `sieve_script_load':
/home/tim/src/dovecot-lda/src/libsieve/script.c:435: undefined
reference to `map_refresh'
libsieve.a(script.o)(.text+0xaf0): In function `sieve_script_unload':
/home/tim/src/dovecot-lda/src/libsieve/script.c:462: undefined
reference to `map_free'
libsieve.a(sieve.o)(.text+0x1e6e): In function `verify_flag':
/home/tim/src/dovecot-lda/src/libsieve/sieve.y:951: undefined
reference to `imparse_isatom'
collect2: ld returned 1 exit status
make[2]: *** [sievec] Error 1
make[2]: Leaving directory `/home/tim/src/dovecot-lda/src/libsieve'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tim/src/dovecot-lda/src'
make: *** [all-recursive] Error 1

Any ideas as to what is wrong?
Grepping the src files for map_refresh, map_free, and imparse_isatom
only show references in dovecot-lda, in src/imparse.c and src/map.c.
It seems to be a problem with src/libsieve when trying to build the
sieve stuff. But I'm not sure.

Thanks

Tim
-- 
Linux Counter user #273956


More information about the dovecot mailing list