Great Circle Associates Majordomo-Users
(August 1996)

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: More on that file error.
From: Dave Wolfe <dwolfe @ risc . sps . mot . com>
Date: Mon, 19 Aug 1996 15:33:00 -0500 (CDT)
To: chrisj @ polaristel . net (Christopher Josephes)
Cc: Majordomo-users @ greatcircle . com
In-reply-to: <> from "Christopher Josephes" at Aug 19, 96 03:08:41 pm
Reply-to: Dave Wolfe <david_wolfe @ risc . sps . mot . com>

[ Christopher Josephes writes: ]
> > From: Dave Wolfe <>
> > 
> > Sounds to me like you and Mj aren't looking at the same file if 'perl
> > -cw' doesn't get errors but Mj does when eval'ing it. Check
> > your Makefile to see how you configured Mj or run 'strings wrapper' and
> > look for MAJORDOMO_CF.
> Uh-oh. MAJORDOMO_CF turned out to be nothing. But dosn't the majordomo
> script try and find the path of the ".cf" file as well? The one
> line that sets the "$cf" variable sets it to either the value of
> MAJORDOMO_CF, or defaults to "/etc/" (where the actual
> file is in my case).

If the MAJORDOMO_CF environment variable isn't set, majordomo defaults
to '/etc/', but you had to do some inventive editing on the
Makefile to get MAJORDOMO_CF actually set to a null string. I think you
need to try again on configuring/building/installing wrapper. Or if
you're comfortable running the Perl debugger, you could make a stab at
seeing exactly where majordomo thinks its .cf file is (you have to have
a copy of perl in the same directory as wrapper):

./wrapper perl -d majordomo testlist
main::(majordomo:26):   $cf = $ENV{"MAJORDOMO_CF"} || "/etc/"; 
  DB<1> s
main::(majordomo:27):   while ($ARGV[0]) {      # parse for config file or default list
  DB<1> p $cf
  DB<2> q

 Dave Wolfe    *Not a spokesman for Motorola*
 Motorola MMTG  6501 Wm. Cannon Dr. W. OE112  Austin  TX  78735-8598

Indexed By Date Previous: Re: New subscribes
From: nunez@sol (Steven Nunez)
Next: Re: New subscribes
From: Jason L Tibbitts III <>
Indexed By Thread Previous: Re: More on that file error.
From: "Christopher Josephes" <>
Next: Re: More on that file error.
From: "Christopher Josephes" <>

Search Internet Search