spamass-milt-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Builing latest cvs fails on FreeBSD 5.3


From: Tony Shadwick
Subject: Re: Builing latest cvs fails on FreeBSD 5.3
Date: Wed, 8 Dec 2004 12:08:21 -0600 (CST)

mail# pkg_info | grep m4
m4-1.4.1            GNU m4
mail# pkg_info | grep autoconf
autoconf-2.59_2     Automatically configure source code on many Un*x
platforms
mail# pkg_info | grep automake
automake-1.4.6_1    GNU Standards-compliant Makefile generator (legacy
version
automake-1.9.3      GNU Standards-compliant Makefile generator (version
1.9)

So we have those components.  ./configure says...

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets ${MAKE}... yes
checking for g++... g++
checking for C++ compiler default output... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... none
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... none
checking for C compiler warning flags... -Wall
checking how to run the C++ preprocessor... g++ -E
configure: Scanning for include-file directories:
checking /usr/local/include... added
checking /usr/local/include... already added
checking /sw/local/include... no
checking /usr/gnu/include... no
checking /opt/gnu/include... no
checking /sw/gnu/include... no
checking /sw/include... no
checking /usr/freeware/include... no
checking /usr/pkg/include... no
checking /opt/sfw/include... no
configure: Scanning for library directories:
checking /usr/local/lib... yes
checking /usr/local/lib32... no
checking /usr/local/lib64... no
checking /usr/local/lib/64... no
checking /usr/local/lib... already added
checking /usr/local/lib32... no
checking /usr/local/lib64... no
checking /usr/local/lib/64... no
checking /sw/local/lib... no
checking /sw/local/lib32... no
checking /sw/local/lib64... no
checking /sw/local/lib/64... no
checking /sw/lib... no
checking /sw/lib32... no
checking /sw/lib64... no
checking /sw/lib/64... no
checking /usr/gnu/lib... no
checking /usr/gnu/lib32... no
checking /usr/gnu/lib64... no
checking /usr/gnu/lib/64... no
checking /opt/gnu/lib... no
checking /opt/gnu/lib32... no
checking /opt/gnu/lib64... no
checking /opt/gnu/lib/64... no
checking /sw/gnu/lib... no
checking /sw/gnu/lib32... no
checking /sw/gnu/lib64... no
checking /sw/gnu/lib/64... no
checking /usr/freeware/lib... no
checking /usr/freeware/lib32... no
checking /usr/freeware/lib64... no
checking /usr/freeware/lib/64... no
checking /usr/pkg/lib... no
checking /usr/pkg/lib32... no
checking /usr/pkg/lib64... no
checking /usr/pkg/lib/64... no
checking /opt/sfw/lib... no
checking /opt/sfw/lib32... no
checking /opt/sfw/lib64... no
checking /opt/sfw/lib/64... no
checking for spamc... /usr/local/bin/spamc
checking for nroff... nroff
checking for mdoc nroff macros... yes
checking build system type... i386-unknown-freebsd5.3
checking host system type... i386-unknown-freebsd5.3
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for cc_r... gcc
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for size_t... yes
checking if we must define _GNU_SOURCE... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking if malloc debugging is wanted... no
checking for vsyslog... yes
checking for vasprintf... yes
checking for vsnprintf... yes
checking for library containing gethostbyname... none required
checking for library containing connect... none required
checking for library containing inet_aton... none required
checking for strsep... yes
checking whether strsep is declared... yes
checking for mi_stop in -lmilter... yes
checking libmilter/mfapi.h usability... yes
checking libmilter/mfapi.h presence... yes
checking for libmilter/mfapi.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating contrib/spamass-milter.spec
config.status: creating spamass-milter.1
config.status: creating spamass-milter.man
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands

I saw nothing about sendmail configuration in there.

Latest attempt at make yeilds:

cd .  && CONFIG_FILES= CONFIG_HEADERS=config.h  /usr/local/bin/bash
./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
make  all-am
g++ -DHAVE_CONFIG_H -I. -I. -I.    -I/usr/local/include  -g -O2 -Wall
-D_THREAD_SAFE -pthread -c -o spamass-milter.o `test -f spamass-milter.cpp
|| echo './'`spamass-milter.cpp
spamass-milter.cpp: In function `int assassinate(SMFICTX*,
SpamAssassin*)':
spamass-milter.cpp:480: error: `SENDMAIL' undeclared (first use this
function)
spamass-milter.cpp:480: error: (Each undeclared identifier is reported
only once for each function it appears in.)
spamass-milter.cpp: In function `sfsistat mlfi_envrcpt(SMFICTX*, char**)':
spamass-milter.cpp:822: error: `SENDMAIL' undeclared (first use this
function)
*** Error code 1

Stop in /usr/local/src/spamass-milter-0.2.0.
*** Error code 1

Stop in /usr/local/src/spamass-milter-0.2.0.


Thoughts?

Tony Shadwick
Manager of Internet Services
Strategic Technology Group
314-872-3000 x105

On Tue, 7 Dec 2004, Dan Nelson wrote:

> In the last episode (Dec 07), Tony Shadwick said:
> > Just a head's up.  I'm building a new server here, and the latest cvs
> > fails to build:
> >
> > make  all-am
> > g++ -DHAVE_CONFIG_H -I. -I. -I.    -I/usr/local/include  -g -O2 -Wall
> > -D_THREAD_SAFE -pthread -c -o spamass-milter.o `test -f spamass-milter.cpp
> > || echo './'`spamass-milter.cpp
> > spamass-milter.cpp: In function `int assassinate(SMFICTX*,
> > SpamAssassin*)':
> > spamass-milter.cpp:480: error: `SENDMAIL' undeclared (first use this 
> > function)
>
> What's the output of configure?  You should see something like:
>
> checking for spamc... /usr/local/bin/spamc
> checking for sendmail... /usr/sbin/sendmail
> checking for nroff... nroff
>
> Also the fact that you hit line 480 is suspicious.  FreeBSD has
> asprintf, so it should have used the code on line 474 instead.  Try
> updating to autoconf-2.59_2 and automake-1.9.3 and rerun ./autogen.sh.
>
> --
>       Dan Nelson
>       address@hidden
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]