[Dovecot] Failute to compile of pigeonhole-0.4.2 with Dovecot 2.2.7

Andreas Kasenides andreas at cymail.eu
Tue Nov 26 16:27:14 EET 2013


On trying to compile pigeonhole-0.4.2 on Dovecot 2.2.7 on a CentOS 6.4 
machine
Linux xxx.xxx 2.6.32-358.14.1.el6.x86_64 #1 SMP Tue Jul 16 23:51:20 UTC 
2013 x86_64 x86_64 x86_64 GNU/Linux

with ./configure --with-dovecot=/usr/local/lib/dovecot
I get the following error:

............
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I../..  -I/usr/local/include/dovecot  -I../.. -I../../src/lib-sieve   
-std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations 
-Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast 
-fno-builtin-strftime -Wstrict-aliasing=2  -MT sieve-storage.lo -MD -MP 
-MF .deps/sieve-storage.Tpo -c -o sieve-storage.lo sieve-storage.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. 
-I/usr/local/include/dovecot -I../.. -I../../src/lib-sieve -std=gnu99 -g 
-O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith 
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime 
-Wstrict-aliasing=2 -MT sieve-storage.lo -MD -MP -MF 
.deps/sieve-storage.Tpo -c sieve-storage.c  -fPIC -DPIC -o 
.libs/sieve-storage.o
sieve-storage.c: In function 'sieve_storage_inbox_script_attribute_set':
sieve-storage.c:702: error: 
'MAILBOX_ATTRIBUTE_PREFIX_DOVECOT_PVT_SERVER' undeclared (first use in 
this function)
sieve-storage.c:702: error: (Each undeclared identifier is reported only 
once
sieve-storage.c:702: error: for each function it appears in.)
sieve-storage.c:702: error: expected ')' before string constant
sieve-storage.c:693: warning: unused parameter 'name'
sieve-storage.c: In function 
'sieve_storage_inbox_script_attribute_rename':
sieve-storage.c:718: error: 
'MAILBOX_ATTRIBUTE_PREFIX_DOVECOT_PVT_SERVER' undeclared (first use in 
this function)
sieve-storage.c:718: error: expected ')' before string constant
sieve-storage.c:720: error: expected ')' before string constant
sieve-storage.c:709: warning: unused parameter 'oldname'
sieve-storage.c:709: warning: unused parameter 'newname'
sieve-storage.c: In function 
'sieve_storage_inbox_script_attribute_unset':
sieve-storage.c:738: error: 
'MAILBOX_ATTRIBUTE_PREFIX_DOVECOT_PVT_SERVER' undeclared (first use in 
this function)
sieve-storage.c:738: error: expected ')' before string constant
sieve-storage.c:729: warning: unused parameter 'name'
make[3]: *** [sieve-storage.lo] Error 1
make[3]: Leaving directory 
`/root/dovecot-2.2-pigeonhole-0.4.2/src/lib-sievestorage'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/dovecot-2.2-pigeonhole-0.4.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/dovecot-2.2-pigeonhole-0.4.2'
make: *** [all] Error 2


Dovecot 2.2.7 compiles and runs fine. Any help appreciated.

Andreas



More information about the dovecot mailing list