Great Circle Associates Majordomo-Users
(April 2000)
 

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

Subject: Re: Help /w install?
From: Dan Liston <dliston @ netscape . com>
Organization: iPlanet E-Commerce Solutions, A Sun Netscape Alliance
Date: Fri, 28 Apr 2000 15:17:19 -0500
To: Paul <paul @ moonlink . net>
Cc: "Todd A. Lyons" <todd @ mrball . net>, "Dr. Tom Pierce" <rs0thp @ rohmhaas . com>, majordomo-users <majordomo-users @ greatcircle . com>
References: <000001bfb0c4$80f3c080$0d3afea9@duke>

The line below is identical to the line in my Makefile Paul.
I do not recall trying to run this on redhat 5.2 though.  I
have however, successfully installed 1.94.4 on 6.0, 6.1, and
6.2.  My current configuration has a link to perl in /bin from
/usr/bin, not that it should matter, and cc is linked to gcc 
in /usr/bin.

Perhaps it is in the order you followed the install steps.

1. create a majordom user and group in /etc/passwd and /etc/group.
1a. add "Tmajordom" to /etc/sendmail.cf
note1: only 8 characters allowed in redhat 5.2
2. make note of the uid.gid of this user, and the $HOME directory
3. locate your perl and gcc tools, you need this in the next step
4. edit Makefile
4a. PERL = /usr/bin/perl
4b. CC = /usr/bin/gcc
4c. W_HOME = /opt/majordomo # <$HOME from above in step 2>
4d. MAN = $(W_HOME)/man # /usr/man or /usr/local/man
4e. W_USER  = 400 # what I used, use your info from step 2
4f. W_GROUP = 400 # what I used, use your info from step 2
4g. The following defaults are fine;
FILE_MODE = 644
EXEC_MODE = 755
HOME_MODE = 751
4h. Linux is POSIX so these are fine too;
WRAPPER_OWNER = root
WRAPPER_GROUP = $(W_GROUP)
WRAPPER_MODE = 4755
POSIX = -DPOSIX_UID=$(W_USER) -DPOSIX_GID=$(W_GROUP)
TMPDIR = /var/tmp
5. copy sample.cf to majordomo.cf
5a. edit majordomo.cf. I only list lines needing changes
$whereami = "example.com"; # change to your domain
$whoami_owner = "owner-majordomo\@$whereami";
     $homedir = "/opt/majordomo"; # same as 4c.
$digest_work_dir = "$homedir/digests"; # note plural
$sendmail_command = "/usr/sbin/sendmail";
$max_which_hits = 1; # for security purposes
$TMPDIR = $ENV{'TMPDIR'} || "/var/tmp"; # same as 4h.
note5a: You may want to set $log to /var/log/majordomo
note6: Make sure you are the root user in bash or sh shell
6. make wrapper # is this where your process dies now?
7. make install
8. make install-wrapper
9. edit /etc/aliases to add/modify;
majordomo: "|/opt/majordomo/wrapper majordomo"
owner-majordomo: postmaster,
majordomo-owner: owner-majordomo

10. If you got past steps 6, 7, and 8 (#perl problem#)
cd <directory in 4.c and 5.a> then ./wrapper config-test
Once this comes back successful, it is majordomo admin
as usual. :)  If everything up to step 6 is done, and
you still can't "make" anything, try the rpm file that
I sent you off-list.  I remember the rpm needs some
tweeks post install, like a link to /etc/smrsh/wrapper.

Dan Liston

Paul wrote:
> 
> >Paul,
> >Try this:
> >perl -e 'print "hello world\n"'
> >If this works, your perl is fine.
> >Dan Liston
> 
> Hi Dan, perl is working. Do you see anything in the line below that would
> indicate where this problem might lie?
> 
> >I'm trying to install v 1.94.4 under RH5.2 I have edited the files as
> >instructed in the docs. The compile fails:
> >Can't open perl script "-e" : no such file or driectory
> >This appears to refer to line #142 in the makefile
> 
> Here's the failing line #142:
> 
>  @cd $(TMP); $(PERL) -p -i -e 's@^#!\S+perl.*@#!$(PERL)@'  $(TOOLS)
> $(BINBIN) $(BIN)
> 
> Paul Delaney
>  kb2shu@linux.kb2shu.ampr.org
>  kb2shu@kb2shu.#sca.ca.usa.noam
>  paul@moonlink.net
>  www.moonlink.net/~paul


References:
Indexed By Date Previous: weird mail loop problem
From: Brian Beaver <beaverb@nexus.dmsc.k12.ar.us>
Next: Re: Performance...
From: Michael Donohue <webmaster@bard.net>
Indexed By Thread Previous: Re: Help /w install?
From: "Paul" <paul@moonlink.net>
Next: Re: Help /w install?
From: Dan Liston <dliston@netscape.com>

Google
 
Search Internet Search www.greatcircle.com