LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   missing m4 includes for sendmail.mc ?!? (http://www.linuxquestions.org/questions/fedora-35/missing-m4-includes-for-sendmail-mc-122454/)

Peff 12-03-2003 07:05 PM

missing m4 includes for sendmail.mc ?!?
 
I installed Fedora and wish to use the standard sendmail as my MTA. This of course required some tweaking of sendmail.mc BUT when I run

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

I get this message:

m4: cannot open /usr/share/sendmail-cf/m4/cf.m4: No such file or directory

sure 'nuff this file does not exist. Why would the standard install not include this and how to fix it?

I got fetchmail, procmail set up and sendmail is the last piece of the puzzle before firing up mutt...

thanks

Peff

Capt_Caveman 12-04-2003 12:07 AM

I think m4 is for some reason included as part of the developer packages and not part of the standard install. Why I don't know. It's the same thing with gcc. It should be on one of your installation CDs. Just install the rpm and you should be set.

Peff 12-04-2003 01:45 AM

Will do. Thanks for the advice

Peff

tt826 12-04-2003 01:18 PM

1) Locate where your m4 directory and look for the cf.m4 file

2) Type in pwd to get the whole path (remember the path)

3) Go to where your sendmail.mc resides open it up via vi etc.....

4) Change the path you found where it was located:

include(`/usr/share/sendmail-cf/m4/cf.m4 ')dnl


C-ya

snarbles 02-14-2004 12:12 PM

Actually your problem may be that the rpm sendmail-cf was not installed.

It will place the cf.m4 in the proper directory.

/usr/share/sendmail-cf/m4/cf.m4


All times are GMT -5. The time now is 10:30 AM.