[Mailman-Users] problems with install

Jeremy Weathers jer at drab.org
Sat Feb 26 19:47:46 CET 2000


<alert name="neophyte" value="complete idiot">

Disclaimer: I am not a real unix admin, I don't even play one on TV - I'm
simply the web developer who was conned into "maintaining" the company's
MacOS X Server box. I have a _little_ Linux experience, and now some BSD
"experiences" as well.

I am having trouble with the installation and am hoping that either a)
someone else on this list has installed Mailman under MacOS X, or b) some
kind soul will guide me in the right direction.

History
I installed Python, untarred mailman source, created the mailman user and
group, and ran configure with the desired options*. On the first run of
make**, I got an error that PREFIX was not defined in src/common.c. I
overwrote the PREFIX define in src/common.c with mailman's home directory
and continued.

Problem
When I run make again, I get an error in src/cgi-wrapper.c. At this point,
I'm guessing that configure did not pass in the variables to the source
scripts as was planned. Here my ingenuity has failed me.

The error reported by make
cc -c -I. -DPREFIX="\"/Local/Users/mailman\""
-DPYTHON="\"/usr/local/bin/python\"" -DHELPFUL -g -O2 -DHAVE_STRERROR=1
-DHAVE_SETREGID=1 -DHAVE_SYSLOG=1 -DSTDC_HEADERS=1 -DHAVE_SYSLOG_H=1
-DGETGROUPS_T=gid_t -DHAVE_VSNPRINTF=1   ./common.c
cc -c -I. -DPREFIX="\"/Local/Users/mailman\""
-DPYTHON="\"/usr/local/bin/python\"" -DHELPFUL -g -O2 -DHAVE_STRERROR=1
-DHAVE_SETREGID=1 -DHAVE_SYSLOG=1 -DSTDC_HEADERS=1 -DHAVE_SYSLOG_H=1
-DGETGROUPS_T=gid_t -DHAVE_VSNPRINTF=1   ./vsnprintf.c
cc -DSCRIPT="\"admin\"" -I. -DCGI_GID=70 -g -O2 -DHAVE_STRERROR=1
-DHAVE_SETREGID=1 -DHAVE_SYSLOG=1 -DSTDC_HEADERS=1 -DHAVE_SYSLOG_H=1
-DGETGROUPS_T=gid_t -DHAVE_VSNPRINTF=1   common.o vsnprintf.o -o admin
./cgi-wrapper.c
./cgi-wrapper.c:31: `Mailman' undeclared here (not in a function)
./cgi-wrapper.c:31: parse error before `cgi'

Lines 29-31 of src/cgi-wrapper.c
/* passed in by configure */
#define SCRIPTNAME SCRIPT
#define LOG_IDENT "Mailman cgi-wrapper (" ## SCRIPT ## ")"

TIA,
Jeremy Weathers


* So far I think I only need to set $PREFIX - I think the rest is standard,
if not I'm sure I'll find out after a successful installation (one without
make errors). I used "./configure --prefix=/Local/Users/mailman".

** "make DIRSETGID=: install" as stated in README.BSD since this is a BSD
variant. I did set the g+s bit on the $PREFIX directory because configure
would complain otherwise.





More information about the Mailman-Users mailing list