OK, I'm new to this list and to the majordomo suite of programs.
I finally got it going, after turning my grey hair greyer.
Consider the following:
>From the Makefile:
W_MAJORDOMO_CF=/etc/majordomo.cf
WRAPPER_FLAGS = -DBIN=\"${W_BIN}\" -DPATH=\"PATH=${W_PATH}\" \
-DHOME=\"HOME=${W_HOME}\" -DSHELL=\"SHELL=${W_SHELL}\" \
-DMAJORDOMO_CF=\"MAJORDOMO_CF=${W_MAJORDOMO_CF}\"
Notice that is has "/etc/majordomo.cf" as the configuration file. When
installing the software, the sample.cf is copied into the home directory
as majordomo.cf. That file is obviously incorrect, since the good one is
in /etc. The problem is that wrapper appears to be setting the MAJORDOMO_CF
environment variable wrong, since the following line sets the WRONG config
file.
$cf = $ENV{"MAJORDOMO_CF"} || "/etc/majordomo.cf";
I know that it is setting the wrong path because if I symbolic link
the majordomo.cf file to /etc/majordomo.cf, things start to work.
What is wrapper doing wrong? Did I do something wrong?
Thanks for any pointers.
MB
--
System Administrator - FT/MS - Madison WI. <URL:http://www.ftms.com/>
e-mail: brown@ftms.com
phone: (608) 273-8262 fax: (608) 273-8719 voice-mail: (800) 426-6488 ext 6293
Visit - <URL:http://www.cdsnet.net/vidiot/> (Your link to Star Trek and UPN)
Follow-Ups:
|
|