[Mailman-Users] Compilation problems

Victoriano Giralt vic at vgg.sci.uma.es
Wed Dec 2 12:14:52 CET 1998


I've just downloaded mailman-1.0b6 and tryed to compile it in a DEC AXP
with Digital Unix, and get the following errors while doing make:

With gcc:
gcc -DSCRIPT="\"admin\"" -I. -DCGI_GID=65534 -g -O2 -DHAVE_STRERROR=1
-DSTDC_HEADERS
=1 -DHAVE_SYSLOG_H=1 -DGETGROUPS_T=gid_t -DHAVE_VPRINTF=1  common.o -o
admin common.c
common.c:26: `PREFIX' undeclared here (not in a function)
common.c:26: parse error before string constant
common.c:27: `PREFIX' undeclared here (not in a function)
common.c:28: `PYTHON' undeclared here (not in a function)

With the system's cc:
cc -DSCRIPT="\"admin\"" -I. -DCGI_GID=65534 -O -DHAVE_STRERROR=1
-DSTDC_HEADERS=1 -D
HAVE_SYSLOG_H=1 -DGETGROUPS_T=gid_t -DHAVE_VPRINTF=1  common.o -o admin
common.c
cc: Error: common.c, line 26: Invalid declaration.
const char* scriptdir = SCRIPTDIR;
------------------------^
cc: Error: common.c, line 27: In the initializer for moduledir, "PREFIX"
is not decl
ared.
const char* moduledir = MODULEDIR;
------------------------^
cc: Error: common.c, line 28: In the initializer for python, "PYTHON" is
not declared.
char* python = PYTHON;
---------------^
cc: Error: common.c, line 155: In this statement, "scriptdir" is not
declared.
                strlen(scriptdir) +
-----------------------^

Any ideas. I'have tryed mailman in Linux and I'm very satisfied and would
like to use it as the University list server.

Victoriano Giralt
Systems Programmer
Central Computing Facility
University of Málaga
SPAIN





More information about the Mailman-Users mailing list