From owner-freebsd-questions@FreeBSD.ORG Thu Mar 23 15:06:23 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 C95DB16A400 for ; Thu, 23 Mar 2006 15:06:23 +0000 (UTC) (envelope-from dave.list@pixelhammer.com) Received: from ecluster4.tls.net (ecluster4.tls.net [65.196.224.134]) by mx1.FreeBSD.org (Postfix) with SMTP id 4087D43D48 for ; Thu, 23 Mar 2006 15:06:23 +0000 (GMT) (envelope-from dave.list@pixelhammer.com) Received: (qmail 81680 invoked by uid 89); 23 Mar 2006 15:06:22 -0000 Received: from 64-184-8-175.bb.hrtc.net (HELO ?192.168.0.102?) (ldg%tls.net@64.184.8.175) by auth-ecluster4.tls.net with SMTP; 23 Mar 2006 15:06:22 -0000 Message-ID: <4422B95F.8070504@pixelhammer.com> Date: Thu, 23 Mar 2006 10:06:07 -0500 From: DAve User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20060322215534.8C53243D48@mx1.FreeBSD.org> In-Reply-To: <20060322215534.8C53243D48@mx1.FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Sendmail patch 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: Thu, 23 Mar 2006 15:06:24 -0000 Steve Bertrand wrote: >>> bash-2.05b# uname -a >>> FreeBSD web6.tls.net 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE >> #0: Mon Feb >>> 23 >>> 20:45:55 GMT 2004 >>> root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 >>> >>> I did, >>> bash-2.05b# cvsup standard-supfile >>> bash-2.05b# cd /usr/src >>> bash-2.05b# patch < /path/to/patch >>> bash-2.05b# cd /usr/src/lib/libsm >>> bash-2.05b# make obj && make depend && make >>> >>> and I get this, >>> bash-2.05b# make >>> "/usr/src/lib/libsm/Makefile", line 11: Malformed conditional >>> (${MK_INET6_SUPPORT} != "no") >> "/usr/src/lib/libsm/Makefile", line 13: >>> if-less endif "/usr/src/lib/libsm/Makefile", line 13: Need >> an operator >>> make: fatal errors encountered -- cannot continue >>> >>> I used the patch for 4.11 and 5.3 >>> >>> Anyone got any ideas? >>> >>> DAve >> That's two servers with the same error. My 4.X server did >> just fine, as did my 5.4 servers. All my toasters run qmail, >> so of eleven servers, these two are all I have left to do. >> >> The Makefile looks fine, I'm missing something obvious here. >> Google comes up empty handed. > > I don't know if it will help or not, but following is the entire > /usr/src/lib/libsm/Makefile from: The issue is make fails on the test at line 13 which is the test for INET6. I can comment out the test and the next makefile fails for the same reason, on other tests. Your Makefile reads, .if !defined(NO_INET6) CFLAGS+=-DNETINET6 .endif My Makefile reads, .if ${MK_INET6_SUPPORT} != "no" CFLAGS+=-DNETINET6 .endif My 4.8 Makfile does not have the INET6 test. I've never seen this before, kinda odd. Maybe it's because I updated source, but I am only building sendmail. I had to update my source because the supplied patch fails against FBSD 5.2.1. If I gotta build world or something silly to fix this I'd just as soon start over with 5.4 or another MTA. It just really seems like a simple make issue to me. DAve > > imap# uname -a > FreeBSD imap.eagle.ca 6.0-RELEASE-p5 FreeBSD 6.0-RELEASE-p5 #0: Wed Mar > 8 09:39:13 EST 2006 > > > --- start file --- > > # $FreeBSD: src/lib/libsm/Makefile,v 1.9 2005/06/07 04:18:25 gshapiro > Exp $ > > SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail > .PATH: ${SENDMAIL_DIR}/libsm > > CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. > CFLAGS+=-DNEWDB -DNIS -DMAP_REGEX -DNOT_SENDMAIL > > .if !defined(NO_INET6) > CFLAGS+=-DNETINET6 > .endif > > # User customizations to the sendmail build environment > CFLAGS+=${SENDMAIL_CFLAGS} > > LIB= sm > > > SRCS+= sm_os.h > > SRCS+= assert.c debug.c errstring.c exc.c heap.c match.c rpool.c \ > > strdup.c strerror.c strl.c clrerr.c fclose.c feof.c ferror.c \ > > fflush.c fget.c fpos.c findfp.c flags.c fopen.c fprintf.c \ > > fpurge.c fput.c fread.c fscanf.c fseek.c fvwrite.c fwalk.c \ > > fwrite.c get.c makebuf.c put.c refill.c rewind.c setvbuf.c \ > > smstdio.c snprintf.c sscanf.c stdio.c strio.c ungetc.c \ > > vasprintf.c vfprintf.c vfscanf.c vprintf.c vsnprintf.c \ > > wbuf.c wsetup.c string.c stringf.c \ > > xtrap.c strto.c test.c path.c strcasecmp.c strrevcmp.c \ > > signal.c clock.c config.c sem.c shm.c mbdb.c strexit.c cf.c > ldap.c \ > niprop.c mpeix.c > > CLEANFILES+=sm_os.h > > INTERNALLIB= > > sm_os.h: > ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h > > .include > > --- end file --- > >> DAve >> >> >> -- >> This message was checked by forty monkeys and found to not >> contain any SPAM whatsoever. >> >> Your monkeys may vary >> _______________________________________________ >> 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" >> > > _______________________________________________ > 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" > > -- This message was checked by forty monkeys and found to not contain any SPAM whatsoever. Your monkeys may vary