[Dovecot] configure error
Andreas Kossack
Andreas.Kossack at TU-Cottbus.De
Tue Sep 14 11:46:20 EEST 2010
Hi Timo, hi all,
>> It seems, that the last changes in "src/lib/fdpass.c" are the reason.
>
> The compiler error message would have been useful to know.
There aren't any compiler error messages, in the "config.log" I can see
the return value "1" from "conftest":
configure:19746: xlc -q64 -o conftest -O -I./src/lib ./src/lib/fdpass.c -DBUGGY_
CMSG_MACROS -I/usr/local/include -I/usr/local/openssl/include -I/usr/local/OpenL
DAP/include -bexpall -brtl -b64 -L/usr/local/lib64 -L/usr/local/openssl/lib64 -L
/usr/local/OpenLDAP/lib64 conftest.c -lldap -llber -lssl -lcrypto -lrt >&5
./src/lib/fdpass.c:
conftest.c:
configure:19746: $? = 0
configure:19746: ./conftest
configure:19746: $? = 1
configure: program exited with status 1
configure: failed program was:
...
configure:19769: result: no
configure:19786: error: fd passing is required for Dovecot to work
> What if you change these to:
>
>> > cmsg_data = CMSG_DATA(cmsg);
>> > *(int *)cmsg_data = send_fd;
>
> *((int *)cmsg_data) = send_fd;
>
>> > cmsg_data = CMSG_DATA(cmsg);
>> > *fd = *(int *)cmsg_data;
>
> *fd = *((int *)cmsg_data);
>
> Does that make xlc happy?
Unfortunately not. :-(
The return code is always "1".
--
Mit freundlichen Grüßen
A. Kossack
_______________________________________________________________________________
Andreas Kossack Andreas.Kossack at TU-Cottbus.De
BTU Cottbus, Brandenburg, Germany, Walther-Pauer-Str.2, 03046 Cottbus
http://wwwca.telesec.de/cgi-bin/caservice/Common/InstallRoot/DT-Root-CA-2.der
_______________________________________________________________________________
Diese Nachricht wurde aus 100% wiederverwerteten Elektronen erstellt.
_______________________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6731 bytes
Desc: S/MIME Cryptographic Signature
Url : http://dovecot.org/pipermail/dovecot/attachments/20100914/f6c6baec/attachment.bin
More information about the dovecot
mailing list