[Dovecot] Sieve compilation error
Stephan Bosch
stephan at rename-it.nl
Thu Nov 19 11:48:42 EET 2009
Oli Schacher wrote:
> Hi list
>
> Trying to get sieve for 1.2 running (dovecot sieve, not cmusieve)
>
> I'm running on centos 5.4 64bit, dovecot rpms installed from
> http://atrpms.net/dist/el5/dovecot/ ( dovecot-1.2.7-0_102.el5.x86_64.rpm
> and dovecot-devel-1.2.7-0_102.el5.x86_64.rpm )
>
> I pulled the sieve sources ( hg clone
> http://hg.rename-it.nl/dovecot-1.2-sieve )
> autogen.sh
> ./configure --with-dovecot=/usr/include/dovecot/
>
--with-dovecot points to the directory containing the dovecot-config
file. In the default dovecot makefile this is installed in
$prefix/lib/dovecot. In your case it is apparently installed in the
include/dovecot directory which confuses Sieve's configure script,
thinking it is compiling against the sources in stead of the headers only.
In Dovecot Sieve's configure.in:
if test -d "$dovecotdir/src"; then
# compiling against sources
have_dovecot_libs=yes
else
# compiling against installed headers
echo "WARNING: Cannot build Sieve commandline tools without the compiled"
echo " Dovecot sources. Compiling against headers will only
build"
echo " the Sieve plugin."
have_dovecot_libs=no
fi
The directory src exists in your include/dovecot, causing your problem.
>
> Any hints?
Adjusting configure.in should help.
Timo: perhaps we can make the autodetection more robust, what do you
think? :)
Regards,
Stephan
More information about the dovecot
mailing list