[Dovecot] Error Building v2.2

Nikolaos Milas nmilas at noa.gr
Tue Mar 26 14:03:19 EET 2013


On 26/3/2013 1:35 μμ, Christian Wiese wrote:

> try to call 'autoreconf -vfi';)

That's pure magic - autoreconf did the trick (on CentOS 6)!

I, a poor man trying to build these rocket-science apps, could not do it 
without your magic...

Yet, it did not work on CentOS 5:

autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
aclocal:configure.ac:294: warning: macro `AM_ICONV' not found in library
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
aclocal:configure.ac:294: warning: macro `AM_ICONV' not found in library
autoreconf: running: /usr/bin/autoconf --force
configure.ac:294: error: possibly undefined macro: AM_ICONV
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

Any ideas?

Also, on CentOS 6, much later down the compilation, I got another error:

...
./../../sieve-generator.h:78: error: expected specifier-qualifier-list 
before 'ARRAY_DEFINE'
cmd-vacation.c: In function 'ext_vacation_operation_execute':
cmd-vacation.c:696: warning: implicit declaration of function 'ARRAY_DEFINE'
cmd-vacation.c:696: error: 'norm_addresses' undeclared (first use in 
this function)
cmd-vacation.c:696: error: (Each undeclared identifier is reported only once
cmd-vacation.c:696: error: for each function it appears in.)
cmd-vacation.c:696: error: expected expression before 'const'
cmd-vacation.c:712: warning: type defaults to 'int' in declaration of 
'type name'
cmd-vacation.c:712: error: size of array 'type name' is negative
cmd-vacation.c:726: warning: type defaults to 'int' in declaration of 
'type name'
cmd-vacation.c:727: warning: type defaults to 'int' in declaration of 
'type name'
make[5]: *** [cmd-vacation.lo] Error 1
make[5]: Leaving directory 
`/home/dovebuilder/rpmbuild/BUILD/dovecot-2.2.0/dovecot-2.1-pigeonhole-0.3.3/src/lib-sieve/plugins/vacation'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory 
`/home/dovebuilder/rpmbuild/BUILD/dovecot-2.2.0/dovecot-2.1-pigeonhole-0.3.3/src/lib-sieve/plugins'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/home/dovebuilder/rpmbuild/BUILD/dovecot-2.2.0/dovecot-2.1-pigeonhole-0.3.3/src/lib-sieve'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/dovebuilder/rpmbuild/BUILD/dovecot-2.2.0/dovecot-2.1-pigeonhole-0.3.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/dovebuilder/rpmbuild/BUILD/dovecot-2.2.0/dovecot-2.1-pigeonhole-0.3.3'

Could you shed some light on this as well? Perhaps pigeonhole 2.1-0.3.3 
is not compatible with 2.2 ? Any suggestions?

Thanks and Regards,
Nick


More information about the dovecot mailing list