On p, ápr 19, 2013 at 00:41:26 +0300, Timo Sirainen wrote:
http://dovecot.org/releases/2.2/dovecot-2.2.1.tar.gz http://dovecot.org/releases/2.2/dovecot-2.2.1.tar.gz.sig [...]
On OpenBSD 5.2-stable:
$ ./configure --disable-static --with-statedir=/var/dovecot --sysconfdir=/etc --localstatedir=/var
--mandir='${prefix}/man' --with-ssldir=/etc/ssl
--with-notify=kqueue --with-ioloop=kqueue --with-ssl=openssl
--without-pam --without-shadow --without-nss --without-vpopmail --with-pgsql
--with-solr --with-zlib --with-storages=maildir --with-pic
--with-libiconv-prefix=/usr/local/ &&
make
[...] /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -I/usr/local//include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/include -fstack-protector -MT net.lo -MD -MP -MF .deps/net.Tpo -c -o net.lo net.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -I/usr/local//include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/include -fstack-protector -MT net.lo -MD -MP -MF .deps/net.Tpo -c net.c -fPIC -DPIC -o .libs/net.o net.c: In function 'net_getunixcred': net.c:731: error: storage size of 'ucred' isn't known net.c:731: warning: unused variable 'ucred' *** Error code 1
Stop in /home/daniell/dovecot/dovecot-2.2.1/src/lib (line 883 of Makefile). *** Error code 1
Stop in /home/daniell/dovecot/dovecot-2.2.1/src/lib (line 645 of Makefile). *** Error code 1
Stop in /home/daniell/dovecot/dovecot-2.2.1/src (line 390 of Makefile). *** Error code 1
Stop in /home/daniell/dovecot/dovecot-2.2.1 (line 517 of Makefile). *** Error code 1
Stop in /home/daniell/dovecot/dovecot-2.2.1 (line 350 of Makefile). ----------------------------------8<----------------------------------
Somehow configure didn't define HAVE_STRUCT_SOCKPEERCRED to 1 in config.h, but I can not untangle the autoconf magic right now.
Daniel
-- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F