From owner-freebsd-questions@FreeBSD.ORG Wed Aug 29 22:05:35 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 0676916A418 for ; Wed, 29 Aug 2007 22:05:35 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 73CE613C474 for ; Wed, 29 Aug 2007 22:05:34 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (dialup181.ach.sch.gr [81.186.70.181]) (authenticated bits=128) by igloo.linux.gr (8.14.1/8.14.1/Debian-8) with ESMTP id l7TM5G10024122 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 30 Aug 2007 01:05:26 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l7TM5AxV002056; Thu, 30 Aug 2007 01:05:11 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l7TM5A4I002055; Thu, 30 Aug 2007 01:05:10 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 30 Aug 2007 01:05:09 +0300 From: Giorgos Keramidas To: Brad Davison Message-ID: <20070829220509.GB1641@kobe.laptop> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.863, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.54, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No 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 22:05:35 -0000 On 2007-08-29 18:02, brad davison wrote: > Hello. > I am a new FreeBSD user (almost converted from Linux). My company is > switching over mail servers from an (expensive and old) Red Hat server > to FreeBSD 6.2. Yippie! Welcome to the FreeBSD side of the world :-) :-) > 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. You need the security/cyrus-sasl2 port, not sasl2-saslauthd. > 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 You haven't provided enough context for us to find out what is going on. In the future, if you bump against similar errors, it may be useful to keep a full log of the build commands that failed, i.e. by running thm inside script(1): % script Script started, output file is typescript % make buildworld buildkernel [ snip output ] % exit exit Script done, output file is typescript % Then you can attach the file 'typescript', or filter the file through col(1) to convert it to plain ASCII text and insert its contents in an email. > > after doing a 'find / -name libsmutil.a' > libsmutil.a exists at: /usr/obj/usr/src/lib/libsmutil/libsmutil.a The libsmutil.a library builds fine here with the following in my `make.conf' file: SENDMAIL_CFLAGS= -I/usr/local/include -DSASL=2 SENDMAIL_LDFLAGS= -L/usr/local/lib SENDMAIL_LDADD= -lsasl2 Can you show us what your `make.conf' looks like, and describe how you tried to build Sendmail? - Giorgos