Subject: Re: sendmail install from build.sh - no submit.cf
To: Andrew Brown <email@example.com>
From: Martin Weber <Ephaeton@gmx.net>
Date: 03/31/2003 20:44:08
On Mon, Mar 31, 2003 at 01:20:48PM -0500, Andrew Brown wrote:
> gah! that submit.cf file gets built wrong. argh!
> oh. i see. the make process gets confused because there's a
> submit.cf in the *source* directory, so it removes that one and then
> totally botches rebuilding it. hrm.
> go to /usr/share/sendmail/cf, remove the submit.cf you have there (if
> any), and type "make submit.cf" again. it should be fine.
Actually, I did not do make submit.cf but m4 submit.mc > submit.cf in
/usr/share/sendmail/cf, and the result is:
VERSIONID(Id: submit.mc,v 184.108.40.206 2002/12/29 03:54:34 ca Exp)
Now when I do make submit.cf the result is:
# make submit.cf
rm -f /usr/src/gnu/dist/sendmail/cf/cf/submit.cf
(cd /usr/share/sendmail/cf/../cf && m4 /usr/share/sendmail/cf/../m4/cf.m4 /usr/share/sendmail/cf//usr/src/gnu/dist/sendmail/cf/cf/submit.mc > /usr/share/sendmail/cf//usr/src/gnu/dist/sendmail/cf/cf/submit.cf)
cannot create /usr/share/sendmail/cf//usr/src/gnu/dist/sendmail/cf/cf/submit.cf: directory nonexistent
*** Error code 2
make: stopped in /usr/share/sendmail/cf
then a second make submit.cf works fine and produces a usable submit.cf
(at least from what I can tell on the first sight).
Having m4 and make delivering different results is surprising. Until now,
I've handled sendmail by creating my .mc files and letting m4 do the work.
that should work for submit.mc, too, imho.
I'll file the pr for etcupdate, too.