I've installed the latest majordomo rpm, and gone through the HOWTO until the 
testing section (running wrapper config-test as a normal user). I get an error 
"Can't locate majordomo_version.pl in @INC"

The FAQ is less than helpful:

> Majordomo adds "$homedir" from the majordomo.cf file to the @INC array
> before it goes looking for "majordomo.pl".  Since it's not finding it,
> I'd guess you have one of two problems:
> 1) $homedir is set improperly (or not set at all; there is no default)
> in your majordomo.cf file.

$homedir is set through the following script, which all looks correct; the home 
directory is /usr/lib/majordomo

if ( defined $ENV{"HOME"}) {
     $homedir = $ENV{"HOME"};
} else {
     $homedir = "/usr/lib/majordomo";
}

> 2) majordomo.pl is not in $homedir, or is not readable.

It is in /usr/lib/majordomo, and its permissions are -rwxr-xr-x, it UID is majordomo 
and it GID is majordomo.

> 3) Note that the new majordomo.cf file checks to see if the environment
> variable $HOME is set first, and uses that for $homedir. Since the
> wrapper always sets HOME to the correct directory, you get a nice
> default, unless you are running a previously built wrapper, in which
> case you may get the wrong directory.

How do I find out what the environment value $HOME is: and how do I/should I change 
it?

> 4) I had the same problem when I installed majordomo (1.62).
> My Problem was a missing ";" in the majordomo.cf file - just in the line
> before setting homedir ....

I'm no perl expert, but there is a ";" in the line before

Can anyone help?

Edwin Humphries,
Ironstone Technology Pty Ltd
[EMAIL PROTECTED]
www.ironstone.com.au
Phone: 02 4233 2285
Fax: 02 4233 2299
Mobile: 0419 233 051

Edwin Humphries,
Ironstone Technology Pty Ltd
[EMAIL PROTECTED]
www.ironstone.com.au
Phone: 02 4233 2285
Fax: 02 4233 2299
Mobile: 0419 233 051
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to