[dovecot] Using on AIX

Adam Lackorzynski adam at os.inf.tu-dresden.de
Mon Apr 21 21:54:34 EEST 2003


Hi,

I'm trying to install dovecot-0.99.9-test6 with gcc-3.2.2 under AIX (4.3.3) and
found some problems.

First, I need to define _XOPEN_SOURCE_EXTENDED to 1 in src/lib/fdpass.c
and src/auth/mycrypt.c or undefine it to compile successfully.

When I define _XOPEN_SOURCE_EXTENDED to 1, I get the following error
while connecting:

dovecot: Apr 21 17:56:44 Info: Dovecot starting up
imap-login: Apr 21 17:57:19 Fatal: fd_send(5) failed: Bad file number
dovecot: Apr 21 17:57:19 Error: child 39504 (login) returned error 89

This happens after a successful authentication (i.e. wrong authentications are
correctly denied).
Something similar happens if I define _XOPEN_SOURCE to 500 in both
files.

When I undefine the _XOPEN_SOURCE_EXTENDEDs without modifying the
original _XOPEN_SOURCE defines, it seems to come further:

imap-login: Apr 21 18:24:23 Info: Login: xxx [xxx.xxx.xxx.xxx]
imap(xxx): Apr 21 18:24:23 Panic: file mail-index-data.c: line 439 (mail_index_data_append): assertion failed: ((size & (MEM_ALIGN_SIZE-1)) == 0)
dovecot: Apr 21 18:24:23 Error: child 95800 (imap) killed with signal 6

but this doesn't work either.


Anything other I could try?




Thanks,
Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/



More information about the dovecot mailing list