Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

m4 ? | 35 comments | Create New Account
Click here to return to the 'm4 ?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
m4 ?
Authored by: cuddapah on Dec 22, '02 12:24:05AM

% m4 ../m4/cf.m4 > /tmp/

When I try to use m4 as in above, I get error msg:

m4: Command not found.

if I go to m4 directory and use cf.m4 > /tmp/ it gives a msg:

./cf.m4: line 1: syntax error near unexpected token `divert(-1)'

Can anyone pls help.

Thanx !

[ Reply to This | # ]
m4 ?
Authored by: trippingbilly on Jan 27, '03 04:49:52PM

I had this problem with m4 as well and have been unable to find a solution. Please help!

[ Reply to This | # ]
m4 ?
Authored by: ykreutzer on Feb 13, '03 01:13:52AM

I am receiving this same error. Do I not have m4 installed on my system? How do I add it? Can anyone please advise?

[ Reply to This | # ]
m4 ?
Authored by: bluehz on Feb 13, '03 10:01:53AM

On my machine - m4 is located initially at /usr/bin ... although in my case I also have it at /sw/bin - which takes precedence. So when I type "which m4" (to tellme where my m4 executable is) I get" /sw/bin/m4

In your case your path variable may not have /usr/bin in it or /sw/bin in it or for that matter you may nothave Fink installed at all (thats where the /sw comes from). Try using the full command:


and see if that helps any.

[ Reply to This | # ]