Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 1997 18:55:04 +0200
From:      Tor Egge <Tor.Egge@idi.ntnu.no>
To:        ATuretta@stylo.it
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Make world halts on sendmail config file.
Message-ID:  <199705271655.SAA18939@pat.idt.unit.no>
In-Reply-To: Your message of "Tue, 27 May 1997 17:32:33 %2B0200"
References:  <31EBCC36B676D01197E400801E032495021F4F@STYLOSERVER>

next in thread | previous in thread | raw e-mail | index | archive | help
> Can someone help me troubleshooting this?
> make world halts after building sendmail, while expanding its
> configuration files.
> 
> --------------- quoting from redirected output
> ===> usr.sbin/sendmail/cf/cf
> rm -f freefall.cf
> (cd /proxy/src/usr.sbin/sendmail/cf/cf && m4 ../m4/cf.m4 freefall.mc) >
> freefall.cf
> m4: eval: major botch.
> --------------- end quoting
> 
> The tree is RELENG_2_2 as of yesterday (updated with cvsup), freefall.mc
> is stamped with:
> 
> 	VERSIONID(`@(#)freefall.mc      $Revision: 1.8.2.4 $')
> 
> these are the last lines written to freefall.cf:
> 
> ######################################################################
> ######################################################################
> #####
> #####           SENDMAIL CONFIGURATION FILE
> #####
> ##### built by root@unix.stylo.it on Tue May 27 17:12:43 MET DST 1997
> ##### in /proxy/src/usr.sbin/sendmail/cf/cf
> ##### using ../ as configuration include directory
> 
> What can I do?

unix is a predefined macro in m4.

Change hostname, or apply the following diff:

------
Index: makeinfo.sh
===================================================================
RCS file: /home/ncvs/src/usr.sbin/sendmail/cf/sh/makeinfo.sh,v
retrieving revision 1.2
diff -u -r1.2 makeinfo.sh
--- makeinfo.sh	1996/11/26 03:41:39	1.2
+++ makeinfo.sh	1997/05/27 16:49:31
@@ -76,4 +76,4 @@
 echo '#####' built by $user@$host on `LC_TIME=C date`
 echo '#####' in `pwd` | sed 's/\/tmp_mnt//'
 echo '#####' using $1 as configuration include directory | sed 's/\/tmp_mnt//'
-echo "define(\`__HOST__', $host)dnl"
+echo "define(\`__HOST__', \`\`$host'')dnl"
------


- Tor Egge



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705271655.SAA18939>