Subject: Re: "make install" lossage, redux
To: None <current-users@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: current-users
Date: 12/25/1999 04:00:55
>> [...stuff about make install and installing on a clean disk...]

Well, I spoke too soon.  Again. :-/

"make DESTDIR=/mnt distribution" in /usr/src/etc failed:

	install -c -o root -g wheel -m 600  hosts.equiv /mnt/etc
	install -c -o root -g wheel -m 644 aliases /mnt/etc
	/usr/libexec/sendmail/sendmail -O AliasFile=/mnt/etc/aliases -bi
	/etc/sendmail.cf: line 0: cannot open: No such file or directory
	*** Error code 72
	
	Stop.

This failure is hardly surprising; the machine I'm doing the make on
does not (nor should it) have any sort of email set up on it.

Shouldn't that be something more like

	chroot /mnt /usr/libexec/sendmail/sendmail -O AliasFile=/etc/aliases -bi

rather than assuming that just because sendmail is being installed in
the tree being created, it's installed and working in the system the
make is being run on?  (Actually, since /mnt/etc/sendmail.cf doesn't
exist either at this point, even the chroot version would fail
similarly.)

					der Mouse

			       mouse@rodents.montreal.qc.ca
		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B