Subject: Re: Updating to Netbsd 2.1 - Problems with Postfix
To: Christoph Dietzschold <cd@hoerbe.net>
From: Timo Schoeler <timo.schoeler@riscworks.net>
List: netbsd-help
Date: 11/11/2005 23:33:01
hi,
i filed a PR [1] on october 30th.
timo
[1] -- http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=31952
Christoph Dietzschold wrote:
> Hi,
>
> I updated from 2.0.2 to 2.1. After updating I had some Problems
> compiling Postfix and getting started Cyrus-Imap.
>
> ----------------------------------
>
> sys_defs.h:42:1: warning: "HAS_DB" redefined
> <command line>:14:1: warning: this is the location of the previous
> definition
> fsspace.c:50:25: sys/statvfs.h: No such file or directory
> fsspace.c: In function `fsspace':
> fsspace.c:90: error: storage size of `fsbuf' isn't known
> *** Error code 1
>
> Stop.
> make: stopped in
> /pkg_comp/obj/pkgsrc/mail/postfix/default/postfix-2.2.5/src/util
> *** Error code 1
>
> Stop.
> make: stopped in /pkg_comp/obj/pkgsrc/mail/postfix/default/postfix-2.2.5
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/mail/postfix
> ...
>
> ----------------------------------
>
> Here is an idea how to fix it:
>
> Cyrus update:
>
> The Update of DB4 causes an unreadable cyrus-database.
>
> mv /var/imap/db /var/imap/db_backup
> rm - /var/imap/db
> su cyrus
> /usr/pkg/cyrus/bin/reconstruct -r user.<username>
>
> Thats it
>
> Postfix Update:
>
> I was not able to find an patch, or patch it by my self.
>
> So i build a set of binary-packages on another system.
> pkg_add postfix-2.2.5.tar.gz will help. The postfix was built with
> mysql4 sasl and tls - Support ;)
>
> You will find a complete tarball of all dependencies in binary below:
>
> http://hoerbe.net/download/postfix_for_2_1.tgz
>
>
> Christoph Dietzschold
>
> --
> cd@hoerbe.net
> http://hoerbe.net