[Dovecot] com_err.h (was: Re: How long to 1.0?)

Linus Nordberg linus at nordberg.se
Tue Jan 10 21:42:06 EET 2006


Timo Sirainen <tss at iki.fi> wrote
Tue, 10 Jan 2006 15:58:16 +0200:

|  > if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I/usr/src/dovecot/dovecot 
|  > -I/usr/src/dovecot/dovecot/src/lib -I../../src   -std=gnu99 -g -O2 -Wall -W 
|  > -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts 
|  > -Wformat=2 -Wbad-function-cast -I/usr/kerberos/include  -MT addr.o -MD -MP -MF 
|  > ".deps/addr.Tpo" -c -o addr.o addr.c; \
|  > then mv -f ".deps/addr.Tpo" ".deps/addr.Po"; else rm -f ".deps/addr.Tpo"; exit 1; fi
|  > In file included from sieve_interface.h:37,
|  >                   from script.h:31,
|  >                   from addr.y:34:
|  > sieve_err.h:10:21: error: com_err.h: No such file or directory
|  
|  Ah. This is because lda-config.h never gets included, so the com_err.h
|  location check doesn't work. The included <config.h> is for Dovecot's
|  config.h. Hmm..

Ouch, my bad.  Shouldn't have altered the default like that.

I guess parts of dovecot-lda (the libsieve stuff?) need config.h from
dovecot?  If there isn't a merge of dovecot and dovecot-lda happening
soon perhaps dovecot-lda could be an optional SUBDIR of dovecot?

-- 
Linus



More information about the dovecot mailing list