
Hmm - i'm no build/compilation expert (barry?), but it looks like the PREFIX and PYTHON macros are not being defined. I'd suspect a missing step in the build process - i expect that one of the build gurus can pinpoint where. In the src/Makefile, are there some lines that look like:
COMMON_FLAGS= -DPREFIX="\"$(prefix)\""
-DPYTHON="\"$(PYTHON)\""
and doe the common.o target line look like:
common.o: $(srcdir)/common.c $(srcdir)/common.h $(CC) -c -I. $(COMMON_FLAGS) $(CFLAGS) $<
?
Ken Manheimer klm@python.org 703 620-8990 x268 (orporation for National Research |nitiatives
# If you appreciate Python, consider joining the PSA! #
# <http://www.python.org/psa/>. #
On Wed, 2 Dec 1998, Victoriano Giralt wrote:
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
Mailman-Users maillist - Mailman-Users@python.org http://www.python.org/mailman/listinfo/mailman-users