From owner-freebsd-questions@FreeBSD.ORG Wed May 4 01:54:46 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D405716A4CE for ; Wed, 4 May 2005 01:54:45 +0000 (GMT) Received: from tco2.iaminsane.net (dsl017-004-081.ser1.dsl.speakeasy.net [69.17.4.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23F1143D39 for ; Wed, 4 May 2005 01:54:45 +0000 (GMT) (envelope-from rem@thecompanyonline.com) Received: from [127.0.0.1] (c-69-180-84-68.hsd1.fl.comcast.net [69.180.84.68]) (authenticated bits=0) by tco2.iaminsane.net (8.12.10/8.12.10) with ESMTP id j441bb9W022057; Tue, 3 May 2005 21:37:41 -0400 (EDT) (envelope-from rem@thecompanyonline.com) Message-ID: <42782B51.9030603@thecompanyonline.com> Date: Tue, 03 May 2005 21:54:25 -0400 From: Richard McIntyre User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: awc@candhsoftware.com References: <427804CE.2000107@thecompanyonline.com> <1115162311.692.29.camel@misato.candhsoftware.com> <42780E88.90706@thecompanyonline.com> In-Reply-To: <42780E88.90706@thecompanyonline.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Sendmail with sasl2 build fails. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 May 2005 01:54:46 -0000 Richard Mcintyre wrote: > Andy W. Clements wrote: > >> 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... >>> >>> 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 >>> >>> >>> 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 >> >> >> >> > Actually I have just installed (using diskettes over the network) > last night. I am sure that doesn't mean that the src that was > downloaded is 100% up todate. I am running a cvsup on src now, > hopefully that will correct my problem. > > PS - Yes the libsmutil.a file was created when running the make in > libsmutil. > > Thanks, > ~Richard McIntyre Okay, I ran a cvsup for src-all and did the same thing and it still fails with the same error... make: don't know how to make /usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a. Stop Any other suggesttions? Thanks in advance... ~REM