[Dovecot] Problems with Dovecot + imaptest
Hi everyone:
I´m trying to install imaptest on my server with Solaris 10, however i´m found in this moment with some instalations problems. Anyone knows what libraries need have installed ?
./configure --with-dovecot=/opt/setup/dovecot-1.2.10 make
Error:
make all-recursive
make[1]: Entering directory /opt/setup/imaptest-20100630' Making all in src make[2]: Entering directory
/opt/setup/imaptest-20100630/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -MT checkpoint.o -MD -MP -MF
".deps/checkpoint.Tpo" -c -o checkpoint.o checkpoint.c;
then mv -f ".deps/checkpoint.Tpo" ".deps/checkpoint.Po"; else
rm -f ".deps/checkpoint.Tpo"; exit 1; fi
checkpoint.c:3:17: lib.h: No such file or directory
checkpoint.c:4:17: str.h: No such file or directory
checkpoint.c:5:19: array.h: No such file or directory
checkpoint.c:6:24: mail-types.h: No such file or directory
In file included from checkpoint.c:7:
settings.h:4:21: network.h: No such file or directory
In file included from checkpoint.c:7:
settings.h:40: error: syntax error before "ARRAY_TYPE"
settings.h:40: warning: no semicolon at end of struct or union
settings.h:46: error: syntax error before "random_states"
settings.h:46: warning: data definition has no type or storage class
settings.h:47: error: syntax error before "no_tracking"
settings.h:47: warning: data definition has no type or storage class
settings.h:51: error: syntax error before '}' token
In file included from checkpoint.c:8:
mailbox.h:4:29: seq-range-array.h: No such file or directory
In file included from checkpoint.c:8:
mailbox.h:13: error: syntax error before "struct"
mailbox.h:13: warning: data definition has no type or storage class
mailbox.h:18: error: syntax error before "uoff_t"
mailbox.h:18: warning: no semicolon at end of struct or union
mailbox.h:22: error: syntax error before "sent_date"
mailbox.h:22: warning: data definition has no type or storage class
mailbox.h:25: error: syntax error before "headers"
mailbox.h:25: warning: data definition has no type or storage class
mailbox.h:28: error: syntax error before "const"
mailbox.h:28: warning: data definition has no type or storage class
mailbox.h:32: error: syntax error before "uint32_t"
mailbox.h:32: warning: no semicolon at end of struct or union
mailbox.h:37: error: syntax error before "ref0_timeout"
mailbox.h:37: warning: data definition has no type or storage class
mailbox.h:39: error: syntax error before "internaldate"
mailbox.h:39: warning: data definition has no type or storage class
mailbox.h:48: error: syntax error before ':' token
mailbox.h:69: error: syntax error before "uint64_t"
mailbox.h:69: warning: no semicolon at end of struct or union
mailbox.h:72: error: syntax error before '*' token
mailbox.h:72: warning: data definition has no type or storage class
mailbox.h:81: error: syntax error before '}' token
mailbox.h:82: error: syntax error before "struct"
mailbox.h:82: warning: data definition has no type or storage class
mailbox.h:100: error: syntax error before "struct"
mailbox.h:100: warning: data definition has no type or storage class
mailbox.h:107: error: syntax error before "uint64_t"
mailbox.h:107: warning: no semicolon at end of struct or union
mailbox.h:110: error: syntax error before "struct"
mailbox.h:110: warning: data definition has no type or storage class
mailbox.h:112: warning: parameter names (without types) in function
declaration
mailbox.h:112: warning: data definition has no type or storage class
mailbox.h:114: error: syntax error before "messages"
mailbox.h:114: warning: data definition has no type or storage class
mailbox.h:137: error: syntax error before "time_t"
mailbox.h:137: warning: no semicolon at end of struct or union
mailbox.h:140: error: syntax error before "struct"
mailbox.h:140: warning: data definition has no type or storage class
mailbox.h:141: error: syntax error before "struct"
mailbox.h:141: warning: data definition has no type or storage class
mailbox.h:144: error: syntax error before "expunged_uids"
mailbox.h:144: warning: data definition has no type or storage class
mailbox.h:150: error: syntax error before ':' token
mailbox.h:151: error: syntax error before ':' token
mailbox.h:152: error: syntax error before ':' token
mailbox.h:153: error: syntax error before ':' token
mailbox.h:154: error: syntax error before ':' token
mailbox.h:163: error: syntax error before "uint64_t"
mailbox.h:163: warning: no semicolon at end of struct or union
mailbox.h:168: error: syntax error before "keywords"
mailbox.h:168: warning: data definition has no type or storage class
mailbox.h:171: warning: parameter names (without types) in function
declaration
mailbox.h:171: warning: data definition has no type or storage class
mailbox.h:173: error: syntax error before "messages"
mailbox.h:173: warning: data definition has no type or storage class
mailbox.h:177: error: syntax error before ':' token
mailbox.h:178: error: syntax error before ':' token
mailbox.h:191: error: syntax error before "mailbox_view_save_offline_cache"
mailbox.h:191: warning: data definition has no type or storage class
mailbox.h:196: error: syntax error before "mailbox_view_keyword_find"
mailbox.h:197: warning: data definition has no type or storage class
mailbox.h:210: warning: parameter has incomplete type
mailbox.h:212: error: syntax error before '*' token
mailbox.h:214: error: syntax error before '*' token
mailbox.h:219: error: syntax error before "uint32_t"
mailbox.h:221: error: syntax error before "uint32_t"
mailbox.h:228: error: syntax error before "mailbox_global_get_sent_date"
mailbox.h:229: error: syntax error before "time_t"
mailbox.h:229: warning: data definition has no type or storage class
mailbox.h:230: error: syntax error before "mailbox_global_get_subject_utf8"
mailbox.h:232: warning: data definition has no type or storage class
In file included from client.h:4,
from checkpoint.c:9:
client-state.h:73: warning: parameter has incomplete type
client-state.h:78: error: syntax error before "do_rand"
client-state.h:78: warning: data definition has no type or storage class
client-state.h:79: error: syntax error before "do_rand_again"
client-state.h:79: warning: data definition has no type or storage class
client-state.h:81: error: syntax error before "bool"
client-state.h:95: warning: parameter has incomplete type
client-state.h:97: error: syntax error before "client_get_random_seq_range"
client-state.h:98: error: syntax error before "ARRAY_TYPE"
client-state.h:99: error: syntax error before "unsigned"
client-state.h:103: warning: parameter has incomplete type
In file included from checkpoint.c:9:
client.h:27: error: NULL' undeclared here (not in a function) client.h:27: error: initializer element is not constant client.h:27: error: (near initialization for
cap_names[4].name')
client.h:27: error: initializer element is not constant
client.h:27: error: (near initialization for `cap_names[4]')
client.h:42: error: syntax error before "size_t"
client.h:42: warning: no semicolon at end of struct or union
client.h:54: error: syntax error before "append_offset"
client.h:54: warning: data definition has no type or storage class
client.h:55: error: syntax error before "literal_left"
client.h:55: warning: data definition has no type or storage class
client.h:63: error: syntax error before "struct"
client.h:63: warning: data definition has no type or storage class
client.h:69: error: syntax error before "highest_untagged_modseq"
client.h:69: warning: data definition has no type or storage class
client.h:78: error: syntax error before "last_io"
client.h:78: warning: data definition has no type or storage class
client.h:81: error: syntax error before ':' token
client.h:82: error: syntax error before ':' token
client.h:83: error: syntax error before ':' token
client.h:84: error: syntax error before ':' token
client.h:85: error: syntax error before ':' token
client.h:86: error: syntax error before ':' token
client.h:87: error: syntax error before ':' token
client.h:88: error: syntax error before ':' token
client.h:90: error: syntax error before "struct"
client.h:90: warning: data definition has no type or storage class
client.h:92: error: conflicting types for 'clients_count'
settings.h:42: error: previous declaration of 'clients_count' was here
client.h:94: error: syntax error before "clients"
client.h:94: warning: data definition has no type or storage class
client.h:95: error: syntax error before "stalled"
client.h:95: warning: data definition has no type or storage class
client.h:98: error: syntax error before "client_unref"
client.h:98: error: syntax error before "bool"
client.h:98: warning: data definition has no type or storage class
client.h:114: error: syntax error before "ATTR_FORMAT"
client.h:114: warning: data definition has no type or storage class
client.h:116: error: syntax error before "ATTR_FORMAT"
client.h:116: warning: data definition has no type or storage class
client.h:118: error: syntax error before "ATTR_FORMAT"
client.h:118: warning: data definition has no type or storage class
checkpoint.c:22: error: syntax error before "ARRAY_DEFINE"
checkpoint.c:22: warning: no semicolon at end of struct or union
checkpoint.c:23: error: syntax error before "unsigned"
checkpoint.c:23: warning: data definition has no type or storage class
checkpoint.c:24: error: syntax error before '*' token
checkpoint.c:24: warning: data definition has no type or storage class
checkpoint.c:30: error: syntax error before ':' token
checkpoint.c:31: error: syntax error before ':' token
checkpoint.c: In function keyword_map_update': checkpoint.c:41: error: dereferencing pointer to incomplete type checkpoint.c:42: error: dereferencing pointer to incomplete type checkpoint.c:42: warning: assignment makes pointer from integer without a cast checkpoint.c:43: error: dereferencing pointer to incomplete type checkpoint.c:43: warning: assignment makes pointer from integer without a cast checkpoint.c:50: error: dereferencing pointer to incomplete type checkpoint.c:53: error: dereferencing pointer to incomplete type checkpoint.c:56: error: dereferencing pointer to incomplete type checkpoint.c:58: error: dereferencing pointer to incomplete type checkpoint.c:59: error: dereferencing pointer to incomplete type checkpoint.c:59: warning: assignment makes pointer from integer without a cast checkpoint.c: At top level: checkpoint.c:65: error: syntax error before '*' token checkpoint.c: In function
keywords_remap':
checkpoint.c:71: error: dest' undeclared (first use in this function) checkpoint.c:71: error: (Each undeclared identifier is reported only once checkpoint.c:71: error: for each function it appears in.) checkpoint.c:71: error:
dest_size' undeclared (first use in this function)
checkpoint.c:73: error: ctx' undeclared (first use in this function) checkpoint.c:73: warning: assignment makes pointer from integer without a cast checkpoint.c:75: error:
src' undeclared (first use in this function)
checkpoint.c: At top level:
checkpoint.c:82: error: syntax error before '*' token
checkpoint.c: In function checkpoint_keywords_to_str': checkpoint.c:85: error:
string_t' undeclared (first use in this function)
checkpoint.c:85: error: str' undeclared (first use in this function) checkpoint.c:88: error:
ctx' undeclared (first use in this function)
checkpoint.c:88: warning: assignment makes pointer from integer without
a cast
checkpoint.c:94: error: bitmask' undeclared (first use in this function) checkpoint.c:100: warning: return makes pointer from integer without a cast checkpoint.c: In function
checkpoint_update':
checkpoint.c:105: error: dereferencing pointer to incomplete type
checkpoint.c:107: error: syntax error before '*' token
checkpoint.c:108: error: uint8_t' undeclared (first use in this function) checkpoint.c:108: error:
keywords_remapped' undeclared (first use in
this function)
checkpoint.c:109: error: storage size of 'this_flags' isn't known
checkpoint.c:109: error: storage size of 'other_flags' isn't known
checkpoint.c:114: error: dereferencing pointer to incomplete type
checkpoint.c:114: warning: assignment makes pointer from integer without
a cast
checkpoint.c:115: error: dereferencing pointer to incomplete type
checkpoint.c:116: error: dereferencing pointer to incomplete type
checkpoint.c:116: error: TRUE' undeclared (first use in this function) checkpoint.c:119: error: dereferencing pointer to incomplete type checkpoint.c:119: error: dereferencing pointer to incomplete type checkpoint.c:122: error: dereferencing pointer to incomplete type checkpoint.c:124: error: dereferencing pointer to incomplete type checkpoint.c:125: error: dereferencing pointer to incomplete type checkpoint.c:127: error: dereferencing pointer to incomplete type checkpoint.c:128: error: dereferencing pointer to incomplete type checkpoint.c:129: error: dereferencing pointer to incomplete type checkpoint.c:129: error: dereferencing pointer to incomplete type checkpoint.c:130: error: dereferencing pointer to incomplete type checkpoint.c:131: error: dereferencing pointer to incomplete type checkpoint.c:132: error: dereferencing pointer to incomplete type checkpoint.c:134: error: dereferencing pointer to incomplete type checkpoint.c:134: error: dereferencing pointer to incomplete type checkpoint.c:135: error: dereferencing pointer to incomplete type checkpoint.c:138: error: dereferencing pointer to incomplete type checkpoint.c:138: warning: assignment makes pointer from integer without a cast checkpoint.c:139: error: dereferencing pointer to incomplete type checkpoint.c:147: error: dereferencing pointer to incomplete type checkpoint.c:148: error: dereferencing pointer to incomplete type checkpoint.c:149: error: dereferencing pointer to incomplete type checkpoint.c:150: error: dereferencing pointer to incomplete type checkpoint.c:153: error: dereferencing pointer to incomplete type checkpoint.c:154: error: dereferencing pointer to incomplete type checkpoint.c:158: error: invalid use of undefined type
struct
message_metadata_dynamic'
checkpoint.c:158: error: dereferencing pointer to incomplete type
checkpoint.c:160: error: dereferencing pointer to incomplete type
checkpoint.c:161: error: dereferencing pointer to incomplete type
checkpoint.c:161: error: invalid use of undefined type struct message_metadata_dynamic' checkpoint.c:161: error: dereferencing pointer to incomplete type checkpoint.c:162: error: dereferencing pointer to incomplete type checkpoint.c:162: error: invalid use of undefined type
struct
message_metadata_dynamic'
checkpoint.c:162: error: dereferencing pointer to incomplete type
checkpoint.c:163: error: dereferencing pointer to incomplete type
checkpoint.c:167: error: dereferencing pointer to incomplete type
checkpoint.c:168: error: invalid use of undefined type struct message_metadata_dynamic' checkpoint.c:168: error: dereferencing pointer to incomplete type checkpoint.c:169: error: dereferencing pointer to incomplete type checkpoint.c:173: error: invalid use of undefined type
struct
message_metadata_dynamic'
checkpoint.c:173: error: dereferencing pointer to incomplete type
checkpoint.c:176: error: invalid use of undefined type struct message_metadata_dynamic' checkpoint.c:176: error: dereferencing pointer to incomplete type checkpoint.c:178: error: dereferencing pointer to incomplete type checkpoint.c:179: error: dereferencing pointer to incomplete type checkpoint.c:181: error: dereferencing pointer to incomplete type checkpoint.c:181: error: invalid use of undefined type
struct
message_metadata_dynamic'
checkpoint.c:181: error: dereferencing pointer to incomplete type
checkpoint.c:182: error: dereferencing pointer to incomplete type
checkpoint.c:185: error: dereferencing pointer to incomplete type
checkpoint.c:190: error: invalid use of undefined type struct message_metadata_dynamic' checkpoint.c:190: error: dereferencing pointer to incomplete type checkpoint.c:190: error:
MAIL_RECENT' undeclared (first use in this
function)
checkpoint.c:191: error: dereferencing pointer to incomplete type
checkpoint.c:192: error: dereferencing pointer to incomplete type
checkpoint.c:193: error: dereferencing pointer to incomplete type
checkpoint.c:198: error: dereferencing pointer to incomplete type
checkpoint.c:199: error: dereferencing pointer to incomplete type
checkpoint.c:203: error: invalid use of undefined type struct message_metadata_dynamic' checkpoint.c:203: error: dereferencing pointer to incomplete type checkpoint.c:204: error: dereferencing pointer to incomplete type checkpoint.c:206: error: dereferencing pointer to incomplete type checkpoint.c:209: error: dereferencing pointer to incomplete type checkpoint.c:210: error: type of formal parameter 1 is incomplete checkpoint.c:211: error: type of formal parameter 1 is incomplete checkpoint.c:213: error: dereferencing pointer to incomplete type checkpoint.c:215: error: dereferencing pointer to incomplete type checkpoint.c:218: error: dereferencing pointer to incomplete type checkpoint.c:220: error: dereferencing pointer to incomplete type checkpoint.c: In function
checkpoint_check_missing_recent':
checkpoint.c:231: error: dereferencing pointer to incomplete type
checkpoint.c:232: error: dereferencing pointer to incomplete type
checkpoint.c:237: error: dereferencing pointer to incomplete type
checkpoint.c:238: error: dereferencing pointer to incomplete type
checkpoint.c:239: error: dereferencing pointer to incomplete type
checkpoint.c:241: error: dereferencing pointer to incomplete type
checkpoint.c:241: error: MAIL_RECENT' undeclared (first use in this function) checkpoint.c:243: error: dereferencing pointer to incomplete type checkpoint.c: In function
checkpoint_send_state_cmd':
checkpoint.c:254: warning: assignment makes pointer from integer without
a cast
checkpoint.c:256: error: dereferencing pointer to incomplete type
checkpoint.c:260: error: dereferencing pointer to incomplete type
checkpoint.c:261: error: dereferencing pointer to incomplete type
checkpoint.c:263: error: dereferencing pointer to incomplete type
checkpoint.c: In function checkpoint_neg': checkpoint.c:269: error: storage size of 'ctx' isn't known checkpoint.c:274: error:
bool' undeclared (first use in this function)
checkpoint.c:274: error: syntax error before "orig_dont_track_recent"
checkpoint.c:276: error: dereferencing pointer to incomplete type
checkpoint.c:277: error: dereferencing pointer to incomplete type
checkpoint.c:280: warning: assignment makes pointer from integer without
a cast
checkpoint.c:282: error: dereferencing pointer to incomplete type
checkpoint.c:286: error: dereferencing pointer to incomplete type
checkpoint.c:288: error: dereferencing pointer to incomplete type
checkpoint.c:291: error: dereferencing pointer to incomplete type
checkpoint.c:291: error: TRUE' undeclared (first use in this function) checkpoint.c:294: error: dereferencing pointer to incomplete type checkpoint.c:298: error: dereferencing pointer to incomplete type checkpoint.c:300: error: dereferencing pointer to incomplete type checkpoint.c:307: error: dereferencing pointer to incomplete type checkpoint.c:310: error: dereferencing pointer to incomplete type checkpoint.c:311: error: dereferencing pointer to incomplete type checkpoint.c:313: error: dereferencing pointer to incomplete type checkpoint.c:315: error: dereferencing pointer to incomplete type checkpoint.c:317: error: dereferencing pointer to incomplete type checkpoint.c:325: error: syntax error before "struct" checkpoint.c:327: error:
uint32_t' undeclared (first use in this function)
checkpoint.c:333: error: dereferencing pointer to incomplete type
checkpoint.c:338: error: FALSE' undeclared (first use in this function) checkpoint.c:344: error: dereferencing pointer to incomplete type checkpoint.c:349: error: dereferencing pointer to incomplete type checkpoint.c:349: error: dereferencing pointer to incomplete type checkpoint.c:355: error: dereferencing pointer to incomplete type checkpoint.c:360: error: dereferencing pointer to incomplete type checkpoint.c:370: error: invalid use of undefined type
struct settings'
checkpoint.c:370: error: dereferencing pointer to incomplete type
checkpoint.c:377: error: dereferencing pointer to incomplete type
checkpoint.c:378: error: dereferencing pointer to incomplete type
checkpoint.c:380: error: dereferencing pointer to incomplete type
checkpoint.c:381: error: dereferencing pointer to incomplete type
checkpoint.c:383: error: dereferencing pointer to incomplete type
checkpoint.c:387: error: dereferencing pointer to incomplete type
checkpoint.c:387: error: orig_dont_track_recent' undeclared (first use in this function) checkpoint.c:390: error: dereferencing pointer to incomplete type checkpoint.c: In function
clients_checkpoint':
checkpoint.c:398: error: dereferencing pointer to incomplete type
checkpoint.c:401: error: dereferencing pointer to incomplete type
checkpoint.c:401: error: syntax error before "struct"
checkpoint.c:403: warning: assignment makes pointer from integer without
a cast
checkpoint.c:405: error: dereferencing pointer to incomplete type
checkpoint.c:408: error: dereferencing pointer to incomplete type
checkpoint.c:409: error: dereferencing pointer to incomplete type
checkpoint.c:410: error: dereferencing pointer to incomplete type
checkpoint.c:411: error: dereferencing pointer to incomplete type
checkpoint.c:414: error: dereferencing pointer to incomplete type
checkpoint.c:415: error: dereferencing pointer to incomplete type
checkpoint.c: At top level:
mailbox.h:71: error: storage size of mail_flags' isn't known make[2]: *** [checkpoint.o] Error 1 make[2]: Leaving directory
/opt/setup/imaptest-20100630/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/setup/imaptest-20100630'
make: *** [all] Error 2
On Wed, 2010-07-14 at 10:22 -0500, Wilberth Perez wrote:
Hi everyone:
I´m trying to install imaptest on my server with Solaris 10, however i´m found in this moment with some instalations problems. Anyone knows what libraries need have installed ?
./configure --with-dovecot=/opt/setup/dovecot-1.2.10
Does /opt/setup/dovecot-1.2.10 contain Dovecot's sources?
Anyway, imaptest nowadays requires v2.0's sources (oops, the wiki is wrong, fixing now).
Hi Timo:
Yes, My Path /opt/setup/dovecot-1.2.10 contains Dovecot's sources.
So, I can´t use imaptest with dovecot 1.210 ?
Cheers .
wilberth.
El 14/07/2010 10:43 a.m., Timo Sirainen escribió:
On Wed, 2010-07-14 at 10:22 -0500, Wilberth Perez wrote:
Hi everyone:
I´m trying to install imaptest on my server with Solaris 10, however i´m found in this moment with some instalations problems. Anyone knows what libraries need have installed ?
./configure --with-dovecot=/opt/setup/dovecot-1.2.10
Does /opt/setup/dovecot-1.2.10 contain Dovecot's sources?
Anyway, imaptest nowadays requires v2.0's sources (oops, the wiki is wrong, fixing now).
participants (2)
-
Timo Sirainen
-
Wilberth Perez