Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jan 2003 13:24:43 +0100
From:      "Didier Wiroth" <didier.wiroth@mcesr.etat.lu>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   make world because of sendmail
Message-ID:  <000401c2b259$ee276d70$952b6e94@lucifer>

next in thread | raw e-mail | index | archive | help
Hy,
(from a *NIX newbie)
I've been playing a bit around with freebsd! This a thing that happened a
few times to me:
When I did a "make world" it fails because of the sendmail configuration
files! This happened to me when:
1) I simply had sendmail_enable="YES" in rc.conf
or
2) when I modified a few sendmail config files, which is the problem/case
right NOW!!

The sample below is the output after having modified /etc/make.conf by
changing these two lines:
SENDMAIL_MC=/etc/mail/test.somewhere.com.mc
SENDMAIL_SUBMIT_MC=/etc/mail/test.somewhere.com.submit.mc

And creating & customizing:
/etc/mail/test.somewhere.com.cf
and
/etc/mail/test.somewhere.com.submit.cf


This is why it "make world" I assume, but why? What do I have to do, so that
"make world" succeeds? What to I have to modify?

The exact command I used was: make world DESTDIR=/usr/local/jail/

And the output was:

(cd /usr/src/etc/sendmail &&  m4
-D_CF_DIR_=/usr/src/etc/sendmail/../../contrib/sendmail/cf/
/usr/src/etc/sendmail/../../contrib/sendmail/cf/m4/cf.m4
/etc/mail/test.somewhere.com.submit.mc) >
/etc/mail/test.somewhere.com.submit.cf
chmod 444 /etc/mail/test.somewhere.com.submit.cf
make: don't know how to make /etc/mail/foo.cf. Stop
*** Error code 2

Stop in /usr/src/etc.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

When I comment the 2 lines in /etc/make.conf it even fails and the output
is:
(cd /usr/src/etc/sendmail &&  m4
-D_CF_DIR_=/usr/src/etc/sendmail/../../contrib/sendmail/cf/
/usr/src/etc/sendmail/../../contrib/sendmail/cf/m4/cf.m4 freebsd.mc) >
freebsd.cf
chmod 444 freebsd.cf
make: don't know how to make /etc/mail/foo.cf. Stop
*** Error code 2

Stop in /usr/src/etc.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

What is the problem? What happens exactly?

Many thanks
Didier



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000401c2b259$ee276d70$952b6e94>