From owner-freebsd-questions@FreeBSD.ORG Fri Oct 20 16:46:25 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 B117216A40F for ; Fri, 20 Oct 2006 16:46:25 +0000 (UTC) (envelope-from ggroth@gregs-garage.com) Received: from mail.gregs-garage.com (h-64-105-8-34.chcgilgm.covad.net [64.105.8.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9C9C43D55 for ; Fri, 20 Oct 2006 16:46:20 +0000 (GMT) (envelope-from ggroth@gregs-garage.com) Received: from [192.168.0.150] ([192.168.0.150]) (authenticated bits=0) by mail.gregs-garage.com (8.13.8/8.13.8) with ESMTP id k9KGkSP3012373 for ; Fri, 20 Oct 2006 11:46:28 -0500 (CDT) (envelope-from ggroth@gregs-garage.com) Message-ID: <4538FD5C.6010305@gregs-garage.com> Date: Fri, 20 Oct 2006 11:46:20 -0500 From: Greg Groth User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <45392E74.9000003@signull.com> In-Reply-To: <45392E74.9000003@signull.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: cyrus-sasl & sendmail compile error 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: Fri, 20 Oct 2006 16:46:25 -0000 Mike Spenard wrote: > Following this doc on sendmail-auth... > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html > > I go to recompile sendmail after > > # cd /usr/src/usr.sbin/sendmail > # make cleandir > # make obj > # make > # make install > > and I get... > cc: /usr/obj/usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a: > No such file or directory > cc: /usr/obj/usr/src/usr.sbin/sendmail/../../lib/libsm/libsm.a: No such > file or directory > *** Error code 1 > > Stop in /usr/src/usr.sbin/sendmail. > /etc/make.conf is as the document specifies.. > SENDMAIL_CFLAGS=-I/usr/local/include/sasl1 -DSASL > SENDMAIL_LDFLAGS=-L/usr/local/lib > SENDMAIL_LDADD=-lsasl > -- > > Mike Spenard rebuild world, and the needed pieces will be installed. Nice step by step how-to here: http://dfwlpiki.dfwlp.org/index.php/Installing_FreeBSD_6.1 There's faster ways around this, but if you haven't already run the buildworld process, more than likely you have a version of sendmail that needs to be patched anyway. Running the buildworld process will fix both issues. Greg Groth