Hello, Timo.
On Sat, 2008-12-13 at 13:08 +0300, Proskurin Kirill wrote:
Heh - I solve it. To make it compile in FreeBSD you need to:
cd /usr/ports/mail/dovecot make extract mkdir work/dovecot-1.1.*/sys locate sysmacros.h cp /your/path/to/sysmacros.h work/dovecot-1.1.*/sys/ patch it as sayd at wiki.
And then all work well.
I don't really understand why that would be necessary. The sysmacros.h isn't required. In that case Dovecot's config.h shouldn't have HAVE_SYS_SYSMACROS_H defined, but you do for some reason. Why is the port doing that?
I'd rather say this is a bug in the FreeBSD ports. If you compiled Dovecot directly from sources you wouldn't have had this problem.
Well may be. But:
newmail# grep -R -i sysmacros work/dovecot-1.1.7/
work/dovecot-1.1.7/configure.in: sys/uio.h sys/sysmacros.h sys/resource.h sys/select.h libgen.h
work/dovecot-1.1.7/config.h:/* Define to 1 if you have the
work/dovecot-1.1.7/ChangeLog: And the missing sys/sysmacros.h include..
work/dovecot-1.1.7/src/lib/compat.h:#ifdef HAVE_SYS_SYSMACROS_H
work/dovecot-1.1.7/src/lib/compat.h:# include
md5 of sources from your site and from ports is same. I not a programmer at all and can`t help here.
-- Best regards, Proskurin Kirill