From owner-freebsd-stable@FreeBSD.ORG Fri Aug 1 23:57:24 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5698937B401; Fri, 1 Aug 2003 23:57:24 -0700 (PDT) Received: from smtp01.syd.iprimus.net.au (smtp01.syd.iprimus.net.au [210.50.30.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id C79E443F75; Fri, 1 Aug 2003 23:57:23 -0700 (PDT) (envelope-from tim@robbins.dropbear.id.au) Received: from mail.robbins.dropbear.id.au (210.50.217.206) by smtp01.syd.iprimus.net.au (7.0.018) id 3F146D0A00443C54; Sat, 2 Aug 2003 16:57:22 +1000 Received: by mail.robbins.dropbear.id.au (Postfix, from userid 1000) id D06D1C975; Sat, 2 Aug 2003 16:56:43 +1000 (EST) Date: Sat, 2 Aug 2003 16:56:43 +1000 From: Tim Robbins To: Scott Sewall Message-ID: <20030802065643.GA40761@dilbert.robbins.dropbear.id.au> References: <3F2B25E7.2090701@redlinenetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F2B25E7.2090701@redlinenetworks.com> User-Agent: Mutt/1.4.1i cc: billf@freebsd.org cc: freebsd-stable@freebsd.org Subject: Re: ethereal-0.9.13: make install fails X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Aug 2003 06:57:24 -0000 On Fri, Aug 01, 2003 at 07:45:59PM -0700, Scott Sewall wrote: > > The make install of the latest ethereal port fails. > > I'm running FreeBSD 4.6.2-RELEASE-p10. > > Any ideas? [...] > /bin/sh ./mkinstalldirs /usr/X11R6/bin > sed: 1: "s,^.*/,,;;s/$//": invalid command code ; [...] The problem is caused by the redundant semicolon separating the 's' commands in the sed command string -- only one semicolon is necessary, and versions of FreeBSD before 4.7 didn't accept any more than one. Try updating src/usr.bin/sed to RELENG_4_7, RELENG_4_8 or RELENG_4 (depending on how much risk you're willing to take), or modify the mkinstalldirs script to avoid generating redundant semicolons. Otherwise, you could apply this patch to src/usr.bin/sed/compile.c by hand: http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/sed/compile.c.diff?r1=1.21&r2=1.22 You shouldn't have to do any of these things, though. I think the ethereal port or one of the GNU auto* tools is at fault here. Tim