Hi Everyone,
I currently have a working version of 1.93 on this system. The system is a
Sparc Ultra 1 running solaris 2.5.1, with the recommended patch level. I am
using the newest version of perl. Downloaded last week.
I am trying to do the install as root.
Here is the error I get.
# make install
Testing for perl (/usr/local/bin/perl)...
Configuring scripts...
chown: :600: No such file or directory
Hmmm, if /usr/local/test/majordomo-1.94 doesn't have an owner and group of
600 600, do a
chown 600 :600 /usr/local/test/majordomo-1.94
(as root.)
drwxr-x--- 2 600 1 512 Oct 27 23:10
/usr/local/test/majordomo-1.94
chown: :600: No such file or directory
make: *** [install-scripts] Error 1
So, then I did what it said.
# ls -al /usr/local/test/
total 6
drwxr-xr-x 3 majordom majordom 512 Oct 27 23:10 .
drwxr-xr-x 19 root other 512 Oct 27 23:08 ..
drwxr-x--- 3 majordom other 512 Oct 27 23:10 majordomo-1.94
# chown 600:600 /usr/local/test/majordomo-1.94/
I then ran make install again, and got this error.
# make install
Testing for perl (/usr/local/bin/perl)...
Configuring scripts...
chown: :600: No such file or directory
Hmmm, if /usr/local/test/majordomo-1.94 doesn't have an owner and group of
600 600, do a
chown 600 :600 /usr/local/test/majordomo-1.94
(as root.)
drwxr-x--- 3 600 600 512 Oct 27 23:10
/usr/local/test/majordomo-1.94
Copying tools to /usr/local/test/majordomo-1.94/bin
chown: :600: No such file or directory
chown: :600: No such file or directory
chown: :600: No such file or directory
make: *** [install-scripts] Error 1
#
I have a local user called majordom UID 600, and a group called majordom GID
600. This works fine for the 1.93 install.
Here is the relevant portion of my makefile.
more Makefile
#$Modified: Sun Oct 20 15:22:53 1996 by cwilson $
#
# /sources/cvsrepos/majordomo/Makefile,v
# 1.50
# 1996/10/20 13:23:18
# /sources/cvsrepos/majordomo/Makefile,v 1.50 1996/10/20 13:23:18 cwilson Exp
#
# This is the Makefile for Majordomo.
#
#------------- Configure these items ----------------#
#
# Where is Perl located?
PERL = /usr/local/bin/perl
#
# If your default 'chown' doesn't support the USER.GROUP syntax,
# specify one that does here.
CHOWN = chown
#
# The location of Majordomo. Wrapper looks here for programs to run.
W_HOME = /usr/local/test/majordomo-$(VERSION)
#
# Where do you want the manual pages installed? By default, this is
# $(W_HOME)/man/man[18]
#
W_MAN = $(W_HOME)/man
MAN1 = $(W_HOME)/man/man1
MAN8 = $(W_HOME)/man/man8
# What permissions does wrapper need?
# (6755 = -rwsr-s-r-x, 4755 = -rwsr-xr-x)
# *** This gets reset below if this is a POSIX system ***
W_CHMOD = 6755
# This is the environment that (along with LOGNAME and USER inherited from the
# parent process, and without the leading "W_" in the variable names) gets
# passed to processes run by "wrapper"
W_PATH = /bin:/usr/bin:/usr/ucb
W_BIN = $(W_HOME)
W_SHELL = /bin/csh
W_MAJORDOMO_CF = $(W_BIN)/majordomo.cf
# Which user and group will majordomo be running under?
# Everything under $W_HOME needs to be writable by this user and/or group.
# majordomo on my system
#
W_USER = 600
#
# daemon on my system
#
W_GROUP = 600
#
# You might need to change : to .
#
W_CHOWN = $(W_USER):$(W_GROUP)
# If installing wrapper 'shared', define what the suffix of wrapper is.
# (I'd like to hear if anybody is using MJ this way)
# ARCHCMD=`arch`
# ARCHCMD=`uname -m`
#------------- POSIX SECTION -----------------------------
# If you're running on a POSIX complient system:
# Sun Solaris,
# SGI Irix 5 and 6,
# Dec Ultrix MIPS,
# BSDI,
# Linux
# make sure the following are uncommented.
# (Sun SunOS, SGI Irix 4, and HP DomainOS are NOT POSIX!!)
#
WRAPPER_CHOWN = root
WRAPPER_CHMOD = 4755
POSIX = -DPOSIX_UID=$(W_USER) -DPOSIX_GID=$(W_GROUP)
# Define this if the majordomo programs should *also* be run in the same
# group as your MTA, usually sendmail. This is rarely needed, but some
# MTAs require certain group memberships before allowing the message sender
# to be set arbitrarily.
#
# MAIL_GID = numeric_gid_of_MTA
Finally, the wrapper compiles fine.
My thanks for any comments or suggestions,
Allen
-_=+\|`~[{]};:'",<.>/?-_=+\|`~[{]};:'",<.>/?-_=+\|`~[{]};:'",<.>/?-_=+\|`~[
Allen Dale Hutchison http://www.netlab.indiana.edu/~hutchiso
UCS Network Lab Coordinator mailto:hutchiso@netlab.indiana.edu
PGP Key Finger: hutchiso@stone51.netlab.indiana.edu 812-855-1878
-_=+\|`~[{]};:'",<.>/?-_=+\|`~[{]};:'",<.>/?-_=+\|`~[{]};:'",<.>/?-_=+\|`~[
Follow-Ups:
|
|