Subject: Re: "make install" lossage, redux
To: None <>
From: Bill Sommerfeld <>
List: current-users
Date: 12/28/1999 10:46:04
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..  

						- Bill