From owner-freebsd-questions@FreeBSD.ORG Wed Aug 29 18:28:26 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8973B16A418 for ; Wed, 29 Aug 2007 18:28:26 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out4.apple.com (mail-out4.apple.com [17.254.13.23]) by mx1.freebsd.org (Postfix) with ESMTP id 71C7D13C47E for ; Wed, 29 Aug 2007 18:28:24 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay14.apple.com (relay14.apple.com [17.128.113.52]) by mail-out4.apple.com (Postfix) with ESMTP id 549741022E85; Wed, 29 Aug 2007 11:28:24 -0700 (PDT) Received: from relay14.apple.com (unknown [127.0.0.1]) by relay14.apple.com (Symantec Mail Security) with ESMTP id 3B9D82817A; Wed, 29 Aug 2007 11:28:24 -0700 (PDT) X-AuditID: 11807134-a2364bb0000066ad-6d-46d5bac8503b Received: from [17.214.13.96] (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay14.apple.com (Symantec Mail Security) with ESMTP id 1D17628630; Wed, 29 Aug 2007 11:28:24 -0700 (PDT) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Wed, 29 Aug 2007 11:28:23 -0700 To: brad davison X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== Cc: freebsd-questions@freebsd.org Subject: Re: Cannot rebuild Sendmail (with sasl2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Aug 2007 18:28:26 -0000 On Aug 29, 2007, at 11:02 AM, brad davison wrote: > I have gotten nearly everything configured and running smoothly > except for SMTP AUTH. > > Before I tried to build in the SASL2 stuff, I had done a full src- > all update via cvsup, and at that time, I was able to rebuild > sendmail, and rebuild the world. > > After installing the cyrus-sasl2-saslauthd port, I am now unable to > rebuild sendmail and/or The World. > > Whether I am rebuilding sendmail or the World, I get an error on > libsmutil.a. > Specifically : > > make: don't know how to make /usr/src/usr.sbin/sendmail/../../lib/ > libsmutil/libsmutil.a. Stop > > after doing a 'find / -name libsmutil.a' > libsmutil.a exists at: /usr/obj/usr/src/lib/libsmutil/libsmutil.a It's not quite clear how you are doing the rebuild of sendmail or the world with the Cyrus SASL stuff integrated; what commands you run and a bit more output (use script or nohup) would be helpful. This being said, when I was using sendmail+SMTP AUTH rather than Postfix, adding something like the following to /etc/make.conf would result in the "make buildworld" process giving one a SMTP AUTH capable sendmail: SENDMAIL_CFLAGS+= -DMILTER -DSTARTTLS -DHASURANDOMDEV SENDMAIL_CFLAGS+= -I/usr/local/ssl/include -I/usr/local/include - DSASL=2 SENDMAIL_LDFLAGS+= -L/usr/local/ssl/lib SENDMAIL_LDADD+= -lssl -lcrypto Note that this config predates OpenSSL being part of base, so you could probably remove the references to "-I/usr/local/ssl/include" and "-L/usr/local/ssl/lib" on a newer version of FreeBSD... -- -Chuck