[Dovecot] How to install sieve

Carsten Laun-De Lellis carsten.laun-delellis at delellis.net
Mon Jul 19 23:31:45 EEST 2010


Hi all

I do have a problem. I have an installation on opensuse 11.2 with postfix,
amavis, spamassassin and dovecot 1.2.9 with a mysql authtentication
backend.

Everything works fine. I want now to install sieve, but i failed all the
time. I downloaded dovecot-1.2-sieve-0.1.17 and followed the installation
how-to. First when i tried to ./configure the installation i was always
asked for dovecot-config. I managed this problem with a symlink. But when
i try to run make i always got the following error message.


I would appreciate any help.

Kind regards,
Carsten Laun-De Lellis


../../sieve-result.h:143: error: expected declaration specifiers or â...â
before âboolâ
In file included from cmd-vacation.c:27:
../../sieve-message.h:18: warning: empty declaration
../../sieve-message.h:27: error: expected declaration specifiers before
âpool_tâ
In file included from cmd-vacation.c:29:
ext-vacation-common.h:13: error: storage class specified for parameter
âvacation_commandâ
ext-vacation-common.h:19: error: storage class specified for parameter
âvacation_operationâ
ext-vacation-common.h:23: error: storage class specified for parameter
âvacation_extensionâ
cmd-vacation.c:37: error: storage class specified for parameter
âvacation_days_tagâ
cmd-vacation.c:38: error: storage class specified for parameter
âvacation_subject_tagâ
cmd-vacation.c:39: error: storage class specified for parameter
âvacation_from_tagâ
cmd-vacation.c:40: error: storage class specified for parameter
âvacation_addresses_tagâ
cmd-vacation.c:41: error: storage class specified for parameter
âvacation_mime_tagâ
cmd-vacation.c:42: error: storage class specified for parameter
âvacation_handle_tagâ
cmd-vacation.c:53: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â
before âcmd_vacation_registeredâ
cmd-vacation.c:56: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â
before âcmd_vacation_pre_validateâ
cmd-vacation.c:58: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â
before âcmd_vacation_validateâ
cmd-vacation.c:60: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â
before âcmd_vacation_generateâ
cmd-vacation.c:63: error: parameter âvacation_commandâ is initialized
cmd-vacation.c:63: error: redefinition of parameter âvacation_commandâ
ext-vacation-common.h:13: note: previous definition of âvacation_commandâ
was here
cmd-vacation.c:66: error: âFALSEâ undeclared (first use in this function)
cmd-vacation.c:66: error: (Each undeclared identifier is reported only once
cmd-vacation.c:66: error: for each function it appears in.)
cmd-vacation.c:66: warning: excess elements in struct initializer
cmd-vacation.c:66: warning: (near initialization for âvacation_commandâ)
cmd-vacation.c:66: warning: excess elements in struct initializer
cmd-vacation.c:66: warning: (near initialization for âvacation_commandâ)
cmd-vacation.c:67: error: âcmd_vacation_registeredâ undeclared (first use
in this function)
cmd-vacation.c:67: warning: excess elements in struct initializer
cmd-vacation.c:67: warning: (near initialization for âvacation_commandâ)
cmd-vacation.c:68: error: âcmd_vacation_pre_validateâ undeclared (first
use in this function)
cmd-vacation.c:68: warning: excess elements in struct initializer
cmd-vacation.c:68: warning: (near initialization for âvacation_commandâ)
cmd-vacation.c:69: error: âcmd_vacation_validateâ undeclared (first use in
this function)
cmd-vacation.c:69: warning: excess elements in struct initializer
cmd-vacation.c:69: warning: (near initialization for âvacation_commandâ)
cmd-vacation.c:70: error: âcmd_vacation_generateâ undeclared (first use in
this function)
cmd-vacation.c:70: warning: excess elements in struct initializer
cmd-vacation.c:70: warning: (near initialization for âvacation_commandâ)
cmd-vacation.c:72: warning: excess elements in struct initializer
cmd-vacation.c:72: warning: (near initialization for âvacation_commandâ)
cmd-vacation.c:80: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â
before âcmd_vacation_validate_number_tagâ
cmd-vacation.c:83: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â
before âcmd_vacation_validate_string_tagâ
cmd-vacation.c:86: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â
before âcmd_vacation_validate_stringlist_tagâ
cmd-vacation.c:89: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â
before âcmd_vacation_validate_mime_tagâ
cmd-vacation.c:95: error: storage class specified for parameter
âvacation_days_tagâ
cmd-vacation.c:95: error: parameter âvacation_days_tagâ is initialized
cmd-vacation.c:95: error: redefinition of parameter âvacation_days_tagâ
cmd-vacation.c:37: note: previous definition of âvacation_days_tagâ was here
cmd-vacation.c:97: warning: excess elements in struct initializer
cmd-vacation.c:97: warning: (near initialization for âvacation_days_tagâ)
cmd-vacation.c:98: error: âcmd_vacation_validate_number_tagâ undeclared
(first use in this function)
cmd-vacation.c:98: warning: excess elements in struct initializer
cmd-vacation.c:98: warning: (near initialization for âvacation_days_tagâ)
cmd-vacation.c:99: warning: excess elements in struct initializer
cmd-vacation.c:99: warning: (near initialization for âvacation_days_tagâ)
cmd-vacation.c:99: warning: excess elements in struct initializer
cmd-vacation.c:99: warning: (near initialization for âvacation_days_tagâ)
cmd-vacation.c:99: warning: excess elements in struct initializer
cmd-vacation.c:99: warning: (near initialization for âvacation_days_tagâ)
cmd-vacation.c:102: error: storage class specified for parameter
âvacation_subject_tagâ
cmd-vacation.c:102: error: parameter âvacation_subject_tagâ is initialized
cmd-vacation.c:102: error: redefinition of parameter âvacation_subject_tagâ
cmd-vacation.c:38: note: previous definition of âvacation_subject_tagâ was
here
cmd-vacation.c:104: warning: excess elements in struct initializer
cmd-vacation.c:104: warning: (near initialization for âvacation_subject_tagâ)
cmd-vacation.c:105: error: âcmd_vacation_validate_string_tagâ undeclared
(first use in this function)
cmd-vacation.c:105: warning: excess elements in struct initializer
cmd-vacation.c:105: warning: (near initialization for âvacation_subject_tagâ)
cmd-vacation.c:106: warning: excess elements in struct initializer
cmd-vacation.c:106: warning: (near initialization for âvacation_subject_tagâ)
cmd-vacation.c:106: warning: excess elements in struct initializer
cmd-vacation.c:106: warning: (near initialization for âvacation_subject_tagâ)
cmd-vacation.c:107: warning: excess elements in struct initializer
cmd-vacation.c:107: warning: (near initialization for âvacation_subject_tagâ)
cmd-vacation.c:109: error: storage class specified for parameter
âvacation_from_tagâ
cmd-vacation.c:109: error: parameter âvacation_from_tagâ is initialized
cmd-vacation.c:109: error: redefinition of parameter âvacation_from_tagâ
cmd-vacation.c:39: note: previous definition of âvacation_from_tagâ was here
cmd-vacation.c:111: warning: excess elements in struct initializer
cmd-vacation.c:111: warning: (near initialization for âvacation_from_tagâ)
cmd-vacation.c:112: warning: excess elements in struct initializer
cmd-vacation.c:112: warning: (near initialization for âvacation_from_tagâ)
cmd-vacation.c:113: warning: excess elements in struct initializer
cmd-vacation.c:113: warning: (near initialization for âvacation_from_tagâ)
cmd-vacation.c:113: warning: excess elements in struct initializer
cmd-vacation.c:113: warning: (near initialization for âvacation_from_tagâ)
cmd-vacation.c:114: warning: excess elements in struct initializer
cmd-vacation.c:114: warning: (near initialization for âvacation_from_tagâ)
cmd-vacation.c:116: error: storage class specified for parameter
âvacation_addresses_tagâ
cmd-vacation.c:116: error: parameter âvacation_addresses_tagâ is initialized
cmd-vacation.c:116: error: redefinition of parameter âvacation_addresses_tagâ
cmd-vacation.c:40: note: previous definition of âvacation_addresses_tagâ
was here
cmd-vacation.c:118: warning: excess elements in struct initializer
cmd-vacation.c:118: warning: (near initialization for
âvacation_addresses_tagâ)
cmd-vacation.c:119: error: âcmd_vacation_validate_stringlist_tagâ
undeclared (first use in this function)
cmd-vacation.c:119: warning: excess elements in struct initializer
cmd-vacation.c:119: warning: (near initialization for
âvacation_addresses_tagâ)
cmd-vacation.c:120: warning: excess elements in struct initializer
cmd-vacation.c:120: warning: (near initialization for
âvacation_addresses_tagâ)
cmd-vacation.c:120: warning: excess elements in struct initializer
cmd-vacation.c:120: warning: (near initialization for
âvacation_addresses_tagâ)
cmd-vacation.c:121: warning: excess elements in struct initializer
cmd-vacation.c:121: warning: (near initialization for
âvacation_addresses_tagâ)
cmd-vacation.c:123: error: storage class specified for parameter
âvacation_mime_tagâ
cmd-vacation.c:123: error: parameter âvacation_mime_tagâ is initialized
cmd-vacation.c:123: error: redefinition of parameter âvacation_mime_tagâ
cmd-vacation.c:41: note: previous definition of âvacation_mime_tagâ was here
cmd-vacation.c:125: warning: excess elements in struct initializer
cmd-vacation.c:125: warning: (near initialization for âvacation_mime_tagâ)
cmd-vacation.c:126: error: âcmd_vacation_validate_mime_tagâ undeclared
(first use in this function)
cmd-vacation.c:126: warning: excess elements in struct initializer
cmd-vacation.c:126: warning: (near initialization for âvacation_mime_tagâ)
cmd-vacation.c:127: warning: excess elements in struct initializer
cmd-vacation.c:127: warning: (near initialization for âvacation_mime_tagâ)
cmd-vacation.c:127: warning: excess elements in struct initializer
cmd-vacation.c:127: warning: (near initialization for âvacation_mime_tagâ)
cmd-vacation.c:128: warning: excess elements in struct initializer
cmd-vacation.c:128: warning: (near initialization for âvacation_mime_tagâ)
cmd-vacation.c:130: error: storage class specified for parameter
âvacation_handle_tagâ
cmd-vacation.c:130: error: parameter âvacation_handle_tagâ is initialized
cmd-vacation.c:130: error: redefinition of parameter âvacation_handle_tagâ
cmd-vacation.c:42: note: previous definition of âvacation_handle_tagâ was
here
cmd-vacation.c:132: warning: excess elements in struct initializer
cmd-vacation.c:132: warning: (near initialization for âvacation_handle_tagâ)
cmd-vacation.c:133: warning: excess elements in struct initializer
cmd-vacation.c:133: warning: (near initialization for âvacation_handle_tagâ)
cmd-vacation.c:134: warning: excess elements in struct initializer
cmd-vacation.c:134: warning: (near initialization for âvacation_handle_tagâ)
cmd-vacation.c:134: warning: excess elements in struct initializer
cmd-vacation.c:134: warning: (near initialization for âvacation_handle_tagâ)
cmd-vacation.c:135: warning: excess elements in struct initializer
cmd-vacation.c:135: warning: (near initialization for âvacation_handle_tagâ)
cmd-vacation.c:139: warning: empty declaration
cmd-vacation.c:152: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âext_vacation_operation_dumpâ
cmd-vacation.c:155: error: expected declaration specifiers or â...â before
âsieve_size_tâ
cmd-vacation.c:155: error: storage class specified for parameter
âext_vacation_operation_executeâ
cmd-vacation.c:157: error: parameter âvacation_operationâ is initialized
cmd-vacation.c:157: error: redefinition of parameter âvacation_operationâ
ext-vacation-common.h:19: note: previous definition of
âvacation_operationâ was here
cmd-vacation.c:161: error: âext_vacation_operation_dumpâ undeclared (first
use in this function)
cmd-vacation.c:161: warning: excess elements in struct initializer
cmd-vacation.c:161: warning: (near initialization for âvacation_operationâ)
cmd-vacation.c:163: warning: excess elements in struct initializer
cmd-vacation.c:163: warning: (near initialization for âvacation_operationâ)
cmd-vacation.c:174: error: storage class specified for parameter
âact_vacation_check_duplicateâ
cmd-vacation.c:181: error: expected declaration specifiers or â...â before
âboolâ
cmd-vacation.c:181: error: storage class specified for parameter
âact_vacation_printâ
cmd-vacation.c:182: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âact_vacation_commitâ
cmd-vacation.c:188: error: parameter âact_vacationâ is initialized
cmd-vacation.c:191: warning: excess elements in struct initializer
cmd-vacation.c:191: warning: (near initialization for âact_vacationâ)
cmd-vacation.c:192: warning: excess elements in struct initializer
cmd-vacation.c:192: warning: (near initialization for âact_vacationâ)
cmd-vacation.c:193: warning: excess elements in struct initializer
cmd-vacation.c:193: warning: (near initialization for âact_vacationâ)
cmd-vacation.c:194: warning: excess elements in struct initializer
cmd-vacation.c:194: warning: (near initialization for âact_vacationâ)
cmd-vacation.c:195: warning: excess elements in struct initializer
cmd-vacation.c:195: warning: (near initialization for âact_vacationâ)
cmd-vacation.c:195: warning: excess elements in struct initializer
cmd-vacation.c:195: warning: (near initialization for âact_vacationâ)
cmd-vacation.c:196: error: âact_vacation_commitâ undeclared (first use in
this function)
cmd-vacation.c:196: warning: excess elements in struct initializer
cmd-vacation.c:196: warning: (near initialization for âact_vacationâ)
cmd-vacation.c:198: warning: excess elements in struct initializer
cmd-vacation.c:198: warning: (near initialization for âact_vacationâ)
cmd-vacation.c:205: error: expected specifier-qualifier-list before
âsieve_number_tâ
cmd-vacation.c:202: warning: empty declaration
cmd-vacation.c:219: error: expected specifier-qualifier-list before
âstring_tâ
cmd-vacation.c:218: warning: empty declaration
cmd-vacation.c:231: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âcmd_vacation_validate_number_tagâ
cmd-vacation.c:259: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âcmd_vacation_validate_string_tagâ
cmd-vacation.c:321: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âcmd_vacation_validate_stringlist_tagâ
cmd-vacation.c:344: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âcmd_vacation_validate_mime_tagâ
cmd-vacation.c:363: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âcmd_vacation_registeredâ
cmd-vacation.c:387: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âcmd_vacation_pre_validateâ
cmd-vacation.c:401: error: storage class specified for parameter
â_handle_empty_subjectâ
cmd-vacation.c:401: error: parameter â_handle_empty_subjectâ is initialized
cmd-vacation.c:402: error: storage class specified for parameter
â_handle_empty_fromâ
cmd-vacation.c:402: error: parameter â_handle_empty_fromâ is initialized
cmd-vacation.c:403: error: storage class specified for parameter
â_handle_mime_enabledâ
cmd-vacation.c:403: error: parameter â_handle_mime_enabledâ is initialized
cmd-vacation.c:404: error: storage class specified for parameter
â_handle_mime_disabledâ
cmd-vacation.c:404: error: parameter â_handle_mime_disabledâ is initialized
cmd-vacation.c:406: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âcmd_vacation_validateâ
cmd-vacation.c:459: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âcmd_vacation_generateâ
cmd-vacation.c:484: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âext_vacation_operation_dumpâ
cmd-vacation.c:544: error: expected declaration specifiers or â...â before
âsieve_size_tâ
cmd-vacation.c:545: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â{â token
cmd-vacation.c:715: error: expected â;â, â,â or â)â before âATTR_UNUSEDâ
cmd-vacation.c:734: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â{â token
cmd-vacation.c:754: error: expected â;â, â,â or â)â before âATTR_UNUSEDâ
cmd-vacation.c:775: error: storage class specified for parameter
â_list_headersâ
cmd-vacation.c:775: error: parameter â_list_headersâ is initialized
cmd-vacation.c:776: warning: initialization from incompatible pointer type
cmd-vacation.c:777: warning: excess elements in scalar initializer
cmd-vacation.c:777: warning: (near initialization for â_list_headersâ)
cmd-vacation.c:778: warning: excess elements in scalar initializer
cmd-vacation.c:778: warning: (near initialization for â_list_headersâ)
cmd-vacation.c:779: warning: excess elements in scalar initializer
cmd-vacation.c:779: warning: (near initialization for â_list_headersâ)
cmd-vacation.c:780: warning: excess elements in scalar initializer
cmd-vacation.c:780: warning: (near initialization for â_list_headersâ)
cmd-vacation.c:781: warning: excess elements in scalar initializer
cmd-vacation.c:781: warning: (near initialization for â_list_headersâ)
cmd-vacation.c:782: warning: excess elements in scalar initializer
cmd-vacation.c:782: warning: (near initialization for â_list_headersâ)
cmd-vacation.c:784: warning: excess elements in scalar initializer
cmd-vacation.c:784: warning: (near initialization for â_list_headersâ)
cmd-vacation.c:789: error: storage class specified for parameter
â_my_address_headersâ
cmd-vacation.c:789: error: parameter â_my_address_headersâ is initialized
cmd-vacation.c:790: warning: initialization from incompatible pointer type
cmd-vacation.c:791: warning: excess elements in scalar initializer
cmd-vacation.c:791: warning: (near initialization for â_my_address_headersâ)
cmd-vacation.c:792: warning: excess elements in scalar initializer
cmd-vacation.c:792: warning: (near initialization for â_my_address_headersâ)
cmd-vacation.c:793: warning: excess elements in scalar initializer
cmd-vacation.c:793: warning: (near initialization for â_my_address_headersâ)
cmd-vacation.c:794: warning: excess elements in scalar initializer
cmd-vacation.c:794: warning: (near initialization for â_my_address_headersâ)
cmd-vacation.c:795: warning: excess elements in scalar initializer
cmd-vacation.c:795: warning: (near initialization for â_my_address_headersâ)
cmd-vacation.c:797: warning: excess elements in scalar initializer
cmd-vacation.c:797: warning: (near initialization for â_my_address_headersâ)
cmd-vacation.c:799: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â_is_system_addressâ
cmd-vacation.c:819: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â_contains_my_addressâ
cmd-vacation.c:857: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â_contains_8bitâ
cmd-vacation.c:868: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âact_vacation_sendâ
cmd-vacation.c:975: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â{â token
cmd-vacation.c:987: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âact_vacation_commitâ
../../rfc2822.h:33: error: old-style parameter declarations in prototyped
function definition
cmd-vacation.c:1144: error: expected â{â at end of input
make[5]: *** [cmd-vacation.lo] Error 1
make[5]: Leaving directory
`/download/dovecot-1.2-sieve-0.1.17/src/lib-sieve/plugins/vacation'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/download/dovecot-1.2-sieve-0.1.17/src/lib-sieve/plugins'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/download/dovecot-1.2-sieve-0.1.17/src/lib-sieve'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/download/dovecot-1.2-sieve-0.1.17/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/download/dovecot-1.2-sieve-0.1.17'
make: *** [all] Error 2



Mit freundlichem Gruß

Carsten Laun-De Lellis
Dipl.-Ing. Elektrotechnik
Certified Information Systems Auditor (CISA)

Hauptstrasse 13
D-67705 Trippstadt

Phone:   +49 (6306) 992140
Mobile:  +49 (151) 27530865
email:   carsten.laun-delellis at delellis.net



More information about the dovecot mailing list