Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

./Build sendmail.cf error

Status
Not open for further replies.

datadan

IS-IT--Management
Jul 22, 2002
283
US
While in
/opt/Src/sendmail-8.12.10/sendmail

I tried to build a sendmail.cf from an edited sendmail.mc file:
[root@mail sendmail]# ./Build sendmail.cf
Configuration: pfx=, os=Linux, rel=2.4.19, rbase=2, rroot=2.4, arch=i686, sfx=, variant=optimized
Making in /opt/Src/sendmail-8.12.10/obj.Linux.2.4.19.i686/sendmail
make: *** No rule to make target `sendmail.cf'. Stop.

I got the above error ----> What can I do to fix it?

Thanks,

 
Unless I'm misunderstanding your question, you should be using the m4 macro compiler to build sendmail.cf from sendmail.mc. Here is an example of how to do that:

m4 /etc/mail/sendmail.cf < /etc/mail/sendmail.mc

the path may be different on your machine.

 
RhythmAce,

I have always used the ./Build it is more direct and unless I misunderstood when I first learned, m4 used the components of the m4 compiler.

Trying the m4 compiler doesn't work either. When that command is performed it seems like the entire sendmail.cf file flows on the screen, but upon review no changes happened (using diff /etc/mail/sendmail.cf.old /etc/mail/sendmail.new)

Any other ideas?

Thanks,
 
Don't I feel dumb!

I was in: /opt/Src/sendmail-8.12.10/sendmail
and should have been in:
/opt/Src/sendmail-8.12.10/cf/cf

All is well.

Thanks,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top