[Dovecot] Compiling Error with Dovecot 1.0.7 and Sieve 1.0.4

Stephan Bosch stephan at rename-it.nl
Sun Apr 10 00:07:16 EEST 2011

Op 8-4-2011 20:07, Jay Welch schreef:
> Hi,
> I am having compiling issues with Sieve and I am not sure what the 
> error is stating.
> [root at iosmail dovecot-sieve-1.0.4]# make
> make  all-recursive
> make[1]: Entering directory `/home/jayw/Desktop/dovecot-sieve-1.0.4'
> Making all in src
> make[2]: Entering directory `/home/jayw/Desktop/dovecot-sieve-1.0.4/src'
> Making all in libsieve
> make[3]: Entering directory 
> `/home/jayw/Desktop/dovecot-sieve-1.0.4/src/libsieve'
> /bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H 
> -I. -I../..  -I/usr/src/dovecot/dovecot-1.0.7 
> -I/usr/src/dovecot/dovecot-1.0.7/src/lib -I../../src   @CFLAGS@ -MT 
> addr.lo -MD -MP -MF .deps/addr.Tpo -c -o addr.lo addr.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. 
> -I/usr/src/dovecot/dovecot-1.0.7 
> -I/usr/src/dovecot/dovecot-1.0.7/src/lib -I../../src @CFLAGS@ -MT 
> addr.lo -MD -MP -MF .deps/addr.Tpo -c addr.c  -fPIC -DPIC -o .libs/addr.o
> gcc: @CFLAGS@: No such file or directory
> make[3]: *** [addr.lo] Error 1
> make[3]: Leaving directory 
> `/home/jayw/Desktop/dovecot-sieve-1.0.4/src/libsieve'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/jayw/Desktop/dovecot-sieve-1.0.4/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/jayw/Desktop/dovecot-sieve-1.0.4'
> make: *** [all] Error 2
> Also, I did not originally have the source files and I had to download 
> them for *dovecot-config*. Not sure if that makes a difference or not.

Why are you compiling these ancient relics? We're at Dovecot v2.0 these 
days. :)

Also, I don't see much to go on here. Apparently, @CFLAGS@ is not 
properly substituted, but I cannot tell you why.

My advice: try a (much) newer version.



More information about the dovecot mailing list