[Mailman-Users] Fatal make error on Solaris 10/SPARC

Mark Sapiro msapiro at value.net
Fri Jul 21 17:47:23 CEST 2006


Thomas Stocker wrote:


>checking for syslog... (cached) no
>checking for syslog in -lbsd... no
>checking for syslog in -lsocket... yes


>checking for syslog.h... (cached) no


>gcc -c -I. -DPREFIX="\"/usr/local/mailman\"" 
> -DPYTHON="\"/usr/local/bin/python\""  -DHELPFUL -g -O2 -g 
>-O2 -DHAVE_SYSLOG=1 -Duid_t=int -Dgid_t=int 
>-DGETGROUPS_T=int -lsocket ./common.c
>common.c: In function `fatal':
>common.c:84: error: `LOG_CONS' undeclared (first use in 
>this function)
>common.c:84: error: (Each undeclared identifier is 
>reported only once
>common.c:84: error: for each function it appears in.)
>common.c:84: error: `LOG_MAIL' undeclared (first use in 
>this function)
>common.c:85: error: `LOG_ERR' undeclared (first use in 
>this function)
>*** Error code 1
>make: Fatal error: Command failed for target `common.o'
>Current working directory /usr/local/src/mailman-2.1.8/src


LOG_CONS, LOG_MAIL and LOG_ERR should be defined in <syslog.h> which is
included from /usr/local/src/mailman-2.1.8/src/common.h when
HAVE_SYSLOG is defined. I am no configure expert, but configure seems
to have found a useable syslog in -lsocket, although its test snippet
only checks LOG_DEBUG.


-- 
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan




More information about the Mailman-Users mailing list