From owner-freebsd-questions@FreeBSD.ORG Wed May 4 19:03:08 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 5DAAA16A4CE for ; Wed, 4 May 2005 19:03:08 +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 375B543D66 for ; Wed, 4 May 2005 19:03:07 +0000 (GMT) (envelope-from rem@thecompanyonline.com) Received: from [10.50.30.140] ([216.109.255.7]) (authenticated bits=0) by tco2.iaminsane.net (8.12.10/8.12.10) with ESMTP id j44IjZ9V040092 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 4 May 2005 14:45:38 -0400 (EDT) (envelope-from rem@thecompanyonline.com) Message-ID: <42791C3A.6060909@thecompanyonline.com> Date: Wed, 04 May 2005 15:02:18 -0400 From: Richard Mcintyre User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.7) Gecko/20050414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <427804CE.2000107@thecompanyonline.com> In-Reply-To: <427804CE.2000107@thecompanyonline.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Sendmail with sasl2 build fails. *FIX* 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 19:03:08 -0000 Richard Mcintyre wrote: > All, > > I've checked the mailing lists and it appears that this has been a > problem for other people in the past, but I can't seem to fix the > issue I'm having. > > 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 > > Then, I attempted to rebuild sendmail, I have tried both of the > following steps... > First I tried: > # cd /usr/src/usr.sbin/sendmail > # make clean > # make depend > # make > # make install > > When that failed I tried: > # cd /usr/src/lib/libsm > # make obj > # make depend > # make > # cd /usr/src/lib/libsmutil > # make obj > # make depend > # make > # cd /usr/src/usr.sbin/sendmail > # make obj > # make depend > # make > # make install > > Finally when that failed I tried: > # cd /usr/src/lib/libsm > # make clean > # cd /usr/src/lib/libsmutil > # make clean > # cd /usr/src/usr.sbin/sendmail > # make clean > # cd /usr/src/lib/libsm > # make obj > # make depend > # make > # cd /usr/src/lib/libsmutil > # make obj > # make depend > # make > # cd /usr/src/usr.sbin/sendmail > # make obj > # make depend > # make > # make install > > 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 > > > > tco1# uname -a > FreeBSD tco1.iaminsane.net 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Mon > May 2 22:32:50 EDT 2005 > rem@tco1.iaminsane.net:/usr/src/sys/i386/compile/TCO1.2005.05.02.001 > i386 > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" I followed some advice I found on the questions@freebsd.cz email list and after cvsup'ing my src I ran a 'make buildworld' in /usr/src. After the make buildworld finished I cd'd to /usr/src/usr.sbin/sendmail/ and did a make install and it installed just fine. ~REM