From owner-freebsd-questions@FreeBSD.ORG Fri Aug 31 18:37:38 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 C3CFE16A41A for ; Fri, 31 Aug 2007 18:37:38 +0000 (UTC) (envelope-from demonichandextensions@hotmail.com) Received: from bay0-omc2-s35.bay0.hotmail.com (bay0-omc2-s35.bay0.hotmail.com [65.54.246.171]) by mx1.freebsd.org (Postfix) with ESMTP id AC5A113C442 for ; Fri, 31 Aug 2007 18:37:38 +0000 (UTC) (envelope-from demonichandextensions@hotmail.com) Received: from hotmail.com ([64.4.38.49]) by bay0-omc2-s35.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Fri, 31 Aug 2007 11:29:52 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 31 Aug 2007 11:29:51 -0700 Message-ID: Received: from 64.4.38.200 by by116fd.bay116.hotmail.msn.com with HTTP; Fri, 31 Aug 2007 18:29:47 GMT X-Originating-IP: [67.59.9.34] X-Originating-Email: [demonichandextensions@hotmail.com] X-Sender: demonichandextensions@hotmail.com In-Reply-To: <20070830204042.GA27241@kobe.laptop> From: "brad davison" Cc: freebsd-questions@freebsd.org Date: Fri, 31 Aug 2007 18:29:47 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 31 Aug 2007 18:29:51.0740 (UTC) FILETIME=[EB6CA3C0:01C7EBFC] Subject: Re: Cannot rebuild Sendmail (with sasl2) **FIXED** 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, 31 Aug 2007 18:37:38 -0000 I would like to send a heartfelt 'THANK YOU' to everyone who contributed info to this thread. I had to use bits a pieces of everyone's input to make it finally do what I wanted it to do.. which it finally does! in the end.. what my ultimate problem was.. was the /usr/obj directory. I must not have cleaned it out entirely. so what i did was: # chflags -R noschg /usr/obj/usr # rm -rf /usr/obj/usr # cd /usr/src # make cleandir # make cleandir # cd /usr/src/lib/libsmutil # make cleandir # make cleandir && make obj && make # cd /usr/src/lib/libsm # make cleandir # make cleandir && make obj && make # cd /usr/src/usr.sbin/sendmail # make cleandir # make cleandir && make obj && make && make install with this in my make.conf: PERL_VER=5.8.8 PERL_VERSION=5.8.8 SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 I did have to modify what I had in my make.conf because it had -DSASL=2 instead of just -DSASL so I hope this helps another FBSD lowbie. I am gaining lots of respect for this Good Software. I will probably be putting FBSD in where I have other linux installations as the hardware gets replaced. THANK YOU AGAIN EVERYONE FOR YOUR HELP! 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 250-DSN 250-ETRN 250-AUTH PLAIN LOGIN ******** WOOOO HOOOOOOOO *********** 250-STARTTLS 250-DELIVERBY 250 HELP >From: Giorgos Keramidas >To: brad davison >CC: freebsd-questions@freebsd.org >Subject: Re: Cannot rebuild Sendmail (with sasl2) >Date: Thu, 30 Aug 2007 23:40:43 +0300 > >On 2007-08-30 17:48, brad davison >wrote: > > Thank you for your help. > > > > We seem to be further now. Running the 'make cleandir' twice seems to >have > > gotten us past that hangup. Now the buildworld and buildkernel and > > installkernel all worked. > > > > It seems, however, that the -DSASL=2 did not take, because now, when I > > reboot (or restart sendmail) I get: > > > > Warning: Option: AuthMechanisms requires SASL support (-DSASL) > > > > Also, building Sendmail from /usr/src/usr.sbin/sendmail gives the old >error > > message > > ...................................... > > cc -O2 -fno-strict-aliasing -pipe > > [...] > > -std=iso9899:1990 -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 > > .................................................... > >That's because to 'reuse' the existing object code (compiled during the >last buildworld and stored in /usr/obj) you have to set in your shell's >environment the MAKEOBJDIRPREFIX variable. > >If you run buildworld with csh as your shell, this would be: > > csh# setenv MAKEOBJDIRPREFIX /usr/obj > >If you are using /bin/sh use: > > # export MAKEOBJDIRPREFIX=/usr/obj > >Then you should try: > > # cd /usr/src/usr.sbin/sendmail > # make cleandir && make cleandir > # make obj depend all > > > If you are (but the buildworld did finish successfully including the > > sendmail piece, which did have the -DSASL=2 in the make.conf.) > >I don't know why your buildworld seems to have picked the wrong settings >from make.conf. Are you *sure* you run a clean build? This would >require: > > 1. Removing /usr/obj > > 2. Running "make cleandir cleandir" in /usr/src > > 3. Checking /etc/make.conf > > 4. Running "buildworld buildkernel" > > 5. Installing everything, following the instructions > from /usr/src/UPDATING > _________________________________________________________________ Booking a flight? Know when to buy with airfare predictions on MSN Travel. http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001