Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 May 2005 16:18:31 -0700
From:      "Andy W. Clements" <awc@candhsoftware.com>
To:        Richard Mcintyre <rem@thecompanyonline.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Sendmail with sasl2 build fails.
Message-ID:  <1115162311.692.29.camel@misato.candhsoftware.com>
In-Reply-To: <427804CE.2000107@thecompanyonline.com>
References:  <427804CE.2000107@thecompanyonline.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2005-05-03 at 19:10 -0400, Richard Mcintyre wrote:
> I have installed cyrus-sasl2-saslauthd from ports.
>
> I then added the following to /etc/make.conf:
> # SASL (cyrus-sasl v2) sendmail build flags...
> SENDMAIL_CFLAGS+= -I/usr/local/include -DSASL=2
> SENDMAIL_LDFLAGS+= -L/usr/local/lib
> SENDMAIL_LDADD+= -lsasl2
> # Adding to enable alternate port (smtps) for sendmail...
> SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL
>

I just went through this same process, however my flags are different
than yours:

SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2

But I don't think that is what is causing the error below....continue:

> All return the same problem at the make on /usr/src/usr.sbin/sendmail...
> <SNIP>
> cc -O -pipe  -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src 
> -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB 
> -DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS 
> -D_FFR_TLS_1 -I/usr/local/include -DSASL=2 -D_FFR_SMTP_SSL  -c 
> /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/version.c
> make: don't know how to make 
> /usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a. Stop
> </SNIP>
> 
> Can anyone help out? Thanks in advance...
> ~REM
> 

I have read somewhere that your source needs to be prestine in order for
the compile to work correctly.  I pulled the source directly from cvsup
just before attempting this manuver and it worked out all right.  When
did you last retrieve the source?

I did it on the same build as you:

zeppo:awc# uname -a
FreeBSD zeppo.candhsoftware.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri
Nov  5 04:19:18 UTC 2004
root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

Does the make at the end of libsmutil show the libsmutil.a file being
created?

--Andy


-- 
Andy Clements
Chief Engineer
C & H Software L.L.C.
awc@candhsoftware.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1115162311.692.29.camel>