From owner-freebsd-ports@FreeBSD.ORG Thu Dec 22 05:25:00 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63ADF1065672; Thu, 22 Dec 2011 05:25:00 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id C32B78FC0C; Thu, 22 Dec 2011 05:24:58 +0000 (UTC) Received: by werb13 with SMTP id b13so5695517wer.13 for ; Wed, 21 Dec 2011 21:24:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=9DAcL2fUxaHmyYR2fP9zKxlLEOoR2Buk2YlGTgCdvZA=; b=tn+kPofbYhx8X0wAw2/yVi+iQeWLhz8DbVvTJMHyCrCXrOWtymrHlVRPwHOXuaOszB PhmO/8r1Yo2rGY+/yF9WjgP3aikkp/k+ERq84aaZngs873D0l8Zs6gRkfEki3vGDvRES 7/CrdwKrHliCCBWQQDRGUh3in5sXfHyv6jh0A= MIME-Version: 1.0 Received: by 10.216.133.29 with SMTP id p29mr5063348wei.49.1324531497703; Wed, 21 Dec 2011 21:24:57 -0800 (PST) Received: by 10.223.158.129 with HTTP; Wed, 21 Dec 2011 21:24:57 -0800 (PST) In-Reply-To: <4ef30e7b.gG6UGw+kkNWpdv07%perryh@pluto.rain.com> References: <4EF1E3EF.9000405@eskk.nu> <4ef30e7b.gG6UGw+kkNWpdv07%perryh@pluto.rain.com> Date: Wed, 21 Dec 2011 21:24:57 -0800 Message-ID: From: Kevin Oberman To: perryh@pluto.rain.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: mm@freebsd.org, freebsd-ports@freebsd.org, leslie@eskk.nu Subject: Re: Stop in /usr/ports/multimedia/x264 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 05:25:00 -0000 On Thu, Dec 22, 2011 at 3:03 AM, wrote: > Kevin Oberman wrote: > >> I see the following errors during the configure stage: >> =3D=3D=3D> =A0Configuring for x264-0.119.2113 >> [[: not found > > That sure looks as if the configure script needs to be run with bash. > > files/patch-configure does this: > > =A0-#!/bin/bash > =A0+#!/bin/sh > > which presumes that the script does not actually need bash extensions. > However, since it does seem to need those extensions, that part of the > patch should be > > =A0-#!/bin/bash > =A0+#!/usr/local/bin/bash > > and bash needs to be added as a build dependency. =A0(Alternatively, the > configure script could be patched to not use the [[ bash builtin.) > > Maintainer already in Cc: list. OK, but why does it build correctly on all of my other systems? All have bash installed, but none use it to configure x264, so, while I suspect it does cause the errors OTHER then the "[: X264_CSP_Iall: unexpected operator" error. None of the others breaks the build. Off to try configuring with bash. --=20 R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com