Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Aug 2003 08:23:27 -0500 (CDT)
From:      David Fleck <david.fleck@mchsi.com>
To:        Tim Robbins <tjr@freebsd.org>
Cc:        billf@freebsd.org
Subject:   Re: ethereal-0.9.13: make install fails
Message-ID:  <20030802080938.Q1144@grond.sourballs.org>
In-Reply-To: <20030802065643.GA40761@dilbert.robbins.dropbear.id.au>
References:  <3F2B25E7.2090701@redlinenetworks.com> <20030802065643.GA40761@dilbert.robbins.dropbear.id.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2 Aug 2003, Tim Robbins wrote:

> 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,

The redundant semicolon is caused by an empty variable in the Makefile:

 78: transform =

[...]

 1897:       f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \

'transform' expands to nothing, hence the redundant semicolon.
this also happens at line 1906.

I edited out one of the semicolons when I installed and it seems to be OK.


> 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.

Agreed.

--

David Fleck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030802080938.Q1144>