Great Circle Associates Majordomo-Users
(January 1995)
 

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

Subject: Re: problems compiling
From: "John P. Rouillard" <rouilj @ cs . umb . edu>
Date: Fri, 13 Jan 1995 10:22:49 -0500
To: Tom Wright <wright @ ov . com>
Cc: majordomo-users @ greatcircle . com
In-reply-to: Your message of "Thu, 12 Jan 1995 15:31:24 PST." <199501122331.PAA11364@spanky.ov.com>




Sunos 4.1.3 is not POSIX, use the bsd setup.

In message <199501122331.PAA11364@spanky.ov.com>,
Tom Wright writes:
>  I am having problems compiling majordomo 1.93 on a SunOS
>4.1.3 Sparc 2. I am using perl 4.036 and sendmail 8.6.4.
>Here are the messages:
>
>cc -DBIN=\"/tools/majordomo.new\" -DPATH=\"PATH=/bin:/usr/bin:/usr/ucb\"
>-DHOME=\"HOME=/tools/majordomo.new\" -DSHELL=\"SHELL=/bin/csh\"
>-DMAJORDOMO_CF=\"MAJORDOMO_CF=/tools/majordomo.new/majordomo.cf\"
>-DPOSIX_UID=54 -DPOSIX_GID=54 -DSETGROUP -o wrapper wrapper.c
>"wrapper.c", line 65: warning: illegal combination of pointer and integer, o
>p !=
>"wrapper.c", line 99: warning: illegal combination of pointer and integer, o
>p =
>"wrapper.c", line 99: warning: shortening &(constant) may lose significance
>"wrapper.c", line 100: auto variable groups has size 0
>"wrapper.c", line 100: no automatic aggregate initialization
>"wrapper.c", line 100: illegal lhs of assignment operator
>"wrapper.c", line 100: warning: illegal combination of pointer and integer, 
>op =
>"wrapper.c", line 100: illegal lhs of assignment operator
>make: *** [wrapper] Error 1
>
>
>I have edited my Makefile as follows:
>
>
># This is where "wrapper" looks for the programs it's supposed to run.
>W_BIN=/tools/majordomo.new
>
># This is the environment that (along with LOGNAME and USER inherited from t
>he
># 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_HOME=${W_BIN}
>W_SHELL=/bin/csh
>W_MAJORDOMO_CF=$(W_BIN)/majordomo.cf
>
># Use these settings for BSD-based systems, including SunOS 4.x.  If you're
># using a POSIX-compliant system (including SysV and BSDI), comment these
># settings out, and uncomment the POSIX settings below.
>W_USER=daemon
>W_GROUP=majordom
>W_CHOWN=${W_USER}.${W_GROUP}
>W_CHMOD=6755
>WRAPPER_FLAGS = -DBIN=\"${W_BIN}\" -DPATH=\"PATH=${W_PATH}\"    \
>        -DHOME=\"HOME=${W_HOME}\" -DSHELL=\"SHELL=${W_SHELL}\"  \
>        -DMAJORDOMO_CF=\"MAJORDOMO_CF=${W_MAJORDOMO_CF}\"
>
>
>
>Any ideas?? Thanks a lot!
>
>
>Tom Wright
>OpenVision Technologies
>wright@ov.com


References:
Indexed By Date Previous: RE: Cannot exec '/usr/local/etc/smrsh'
From: "Liam Ward" <Liam.Ward@Teltec.DCU.IE>
Next: Subscribing 100 People
From: carlos@vacuum.org (Carlos Toro)
Indexed By Thread Previous: problems compiling
From: Tom Wright <wright@ov.com>
Next: Approving Messages
From: Thomas Leavitt <leavitt@webcom.com>

Google
 
Search Internet Search www.greatcircle.com