Subject: Re: "make install" lossage, redux
To: Bill Sommerfeld <>
From: Ignatios Souvatzis <>
List: current-users
Date: 12/29/1999 13:51:20
On Tue, Dec 28, 1999 at 10:46:04AM -0500, Bill Sommerfeld wrote:
> Hubert Feyrer <> writes:
> > How about:
> >         $DESTDIR/usr/libexec/sendmail/sendmail \
> >                 -O AliasFile=$DESTDIR/etc/aliases \
> >                 -C $DESTDIR/etc/ \
> >                 -bi
> This still won't work for cross-compiles, including cross-version
> cross-compiles, since the sendmail in $DESTDIR is a sendmail for the
> compile's target, not the host.
> Moreover, using the host's sendmail is not guaranteed to work
> (regardless of byte order issues) because the db format could may
> change from version to version.
> I think the best bet is to not attempt to do this at build time, but
> have it done as part of the install process, probably on the first
> boot of the system..  

I suspect the most sane method would be to touch the .db file in a way that
it is out-of-date wrt. the source version, and let sendmail rebuild it at its
first use.