Subject: Why cant tutorial be in *understandable* terms?
To: None <netbsd-help@netbsd.org>
From: Mark R. Nathan <mark@nathan.net>
List: netbsd-help
Date: 07/07/2000 02:45:11
--============_-1249159203==_ma============
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
So I admit to being a newbie to the UNIX platform and appreciate the
complexities of the way this OS works. What kills me is that 9 times
out of 10 and simple explanation or description is more like a novel
then a help section.
for instance I am trying to configure sendmail. I have installed
8.8.8 from the pkg on the ftp.netbsd.org site. Already compiled, it
installed the files to the appropriate dir. According to my readings
I need to now compile the .cf file using M4 so I go to sendmail.org
to read up and learn. First though, I open and view the README file
at the root of my sendmail folder. First thing they claim to do
after configuring and/or creating my mailserver.mc doc is this:
"m4 ${CFDIR}/m4/cf.m4 config.mc > config.cf
where ${CFDIR} is the root of the cf directory and config.mc is the
name of your configuration file. If you are running a version of M4
that understands the __file__ builtin (versions of GNU m4 >= 0.75 do
this, but the versions distributed with 4.4BSD and derivatives do not)
or the -I flag (ditto), then ${CFDIR} can be in an arbitrary directory.
For "traditional" versions, ${CFDIR} ***MUST*** be "..", or you MUST
use -D_CF_DIR_=/path/to/cf/dir/ -- note the trailing slash! "
so I do this:
m4 ${/usr/pkg/share/sendmail/cf} /m4/cf.m4 miraboo.com.mc > miraboo.com.mc
(miraboo.com.mc was the file I tweaked for my mailserver)
The results to this was "Illegal variable name"
I have read this over and over and over again. I can't make out what
I did wrong or how to make it work.
Would someone kindly clue me in on this? If the syntax is different,
I sure wish the NetBSD website would fill in the gaps.
Thanks for your help!
Mark Nathan
--
=======================================================================
-----------------------------------------------------------------------
Mark R. Nathan http://www.miraboomusic.com
Miraboo Group mailto:president@miraboomusic.com
President mailto:mark@nathan.net
--============_-1249159203==_ma============
Content-Type: text/html; charset="us-ascii"
<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { margin-top: 0 ; margin-bottom: 0 }
--></style><title>Why cant tutorial be in *understandable*
terms?</title></head><body>
<div>So I admit to being a newbie to the UNIX platform and appreciate
the complexities of the way this OS works. What kills me is
that 9 times out of 10 and simple explanation or description is more
like a novel then a help section.</div>
<div><br></div>
<div>for instance I am trying to configure sendmail. I have
installed 8.8.8 from the pkg on the ftp.netbsd.org site.
Already compiled, it installed the files to the appropriate
dir. According to my readings I need to now compile the .cf file
using M4 so I go to sendmail.org to read up and learn. First
though, I open and view the README file at the root of my
sendmail folder. First thing they claim to do after configuring
and/or creating my mailserver.mc doc is this:</div>
<div><br></div>
<div><font color="#000000">"m4 ${CFDIR}/m4/cf.m4 config.mc >
config.cf<br>
<br>
where ${CFDIR} is the root of the cf directory and config.mc is
the<br>
name of your configuration file. If you are running a version
of M4<br>
that understands the __file__ builtin (versions of GNU m4 >= 0.75
do<br>
this, but the versions distributed with 4.4BSD and derivatives do
not)<br>
or the -I flag (ditto), then ${CFDIR} can be in an arbitrary
directory.<br>
For "traditional" versions, ${CFDIR} ***MUST*** be
"..", or you MUST</font></div>
<div><font color="#000000">use -D_CF_DIR_=/path/to/cf/dir/ -- note
the trailing slash! "</font></div>
<div><font color="#000000"><br></font></div>
<div><font color="#000000">so I do this:</font></div>
<div><font color="#000000"><br></font></div>
<div><font color="#000000">m4 ${/usr/pkg/share/sendmail/cf} /m4/cf.m4
miraboo.com.mc > miraboo.com.mc</font></div>
<div><font color="#000000"><br></font></div>
<div><font color="#000000">(miraboo.com.mc was the file I tweaked for
my mailserver)</font></div>
<div><font color="#000000"><br></font></div>
<div><font color="#000000">The results to this was "Illegal
variable name"</font></div>
<div><font color="#000000"><br></font></div>
<div><font color="#000000">I have read this over and over and over
again. I can't make out what I did wrong or how to make it
work.</font></div>
<div><font color="#000000"><br></font></div>
<div><font color="#000000">Would someone kindly clue me in on
this? If the syntax is different, I sure wish the NetBSD
website would fill in the gaps.</font></div>
<div><font color="#000000"><br></font></div>
<div><font color="#000000">Thanks for your help!</font></div>
<div><font color="#000000"><br></font></div>
<div><font color="#000000">Mark Nathan</font></div>
<div><font color="#000000"><br></font></div>
<div><font color="#000000"><br></font></div>
<div><font face="Courier New" size="+2"
color="#000000"><br></font></div>
<div>-- <br>
<br>
<br>
<br>
=========================================<span
></span>==============================<br>
-----------------------------------------<span
></span>------------------------------<br>
Mark R.
Nathan <span
></span
> <span
></span> http://www.miraboomusic.com<br>
Miraboo
Group <span
></span>
mailto:president@miraboomusic.com <br>
President <span
></span
> <span
></span
> <span
></span> mailto:mark@nathan.net</div>
</body>
</html>
--============_-1249159203==_ma============--