From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 4D9D8E00EA4; Thu, 14 Apr 2016 10:54:40 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [216.184.2.64 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from mx1a.swcp.com (mx1a.swcp.com [216.184.2.64]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 0F768E00D7D for ; Thu, 14 Apr 2016 10:54:36 -0700 (PDT) Received: from ame8.swcp.com (ame8.swcp.com [216.184.2.163]) by mx1a.swcp.com (8.14.4/8.14.4/Debian-4) with ESMTP id u3EHu1vj029985; Thu, 14 Apr 2016 11:56:01 -0600 Received-SPF: pass (ame8.swcp.com: authenticated connection) receiver=ame8.swcp.com; client-ip=67.42.135.123; helo=SJDevelopment; envelope-from=sidprice@softtools.com; x-software=spfmilter 2.001 http://www.acme.com/software/spfmilter/ with libspf2-1.2.10; Received: from SJDevelopment ([67.42.135.123]) (authenticated bits=0) by ame8.swcp.com (8.15.2/8.15.2) with ESMTPSA id u3EHsUus039850 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Apr 2016 11:54:31 -0600 (MDT) (envelope-from sidprice@softtools.com) X-Authentication-Warning: ame8.swcp.com: Host [67.42.135.123] claimed to be SJDevelopment From: "Sid Price" To: "'Christopher Larson'" , References: <009201d19673$710b33a0$53219ae0$@softtools.com> In-Reply-To: Date: Thu, 14 Apr 2016 11:54:20 -0600 Message-ID: <009b01d19676$acd9d780$068d8680$@softtools.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQE3+xxjjHLIeA2VRwRBoC0IFaZWXAJLDMkxoKqdqBA= X-Scanned-By: MIMEDefang 2.75 X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (ame8.swcp.com [216.184.2.128]); Thu, 14 Apr 2016 11:54:32 -0600 (MDT) X-Virus-Scanned: clamav-milter 0.98.7 at ame8 X-Virus-Status: Clean Subject: Re: environment setup script X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2016 17:54:40 -0000 Content-Type: multipart/alternative; boundary="----=_NextPart_000_009C_01D19644.623FB5A0" Content-Language: en-us ------=_NextPart_000_009C_01D19644.623FB5A0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Thu, Apr 14, 2016 at 10:39 AM Sid Price > wrote: Hello, I am new to Yocto and relatively new to Linux. I am working my = way through the =E2=80=9CGetting Started=E2=80=9D guide and I have met a = problem. I am trying to run the =E2=80=9Cenvironment-setup = =E2=80=A6=E2=80=9D script for the arm platform. First I notice that when = I list the folder /opt/poky/2.0.1 I see the scripts but they are not = shown as executable. Is this correct? When I try the following command I = am told =E2=80=9CPermission denied=E2=80=9D: =20 /opt/poky/2.0.1/environment-setup-armv5e-poky-linux-gnueabi =20 If I use sudo I see =E2=80=9Ccommand not found=E2=80=9D =20 The setup script has to be *sourced* into your shell, not run. The = instructions most likely included a leading '.' but you missed it. = Either type '. = /opt/poky/2.0.1/environment-setup-armv5e-poky-linux-gnueabi' or 'source = /opt/poky/2.0.1/environment-setup-armv5e-poky-linux-gnueabi' in your = shell. =20 Using =E2=80=9Csource = /opt/poky/2.0.1/environment-setup-armv5e-poky-linux-gnueabi=E2=80=9D = appeared to work, no errors reported. Should I now expect to see new = environment variables when I use =E2=80=9Cprintenv=E2=80=9D, because I = don=E2=80=99t see any of those mentioned in the getting started guide. Sid ------=_NextPart_000_009C_01D19644.623FB5A0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

On Thu, Apr 14, 2016 at 10:39 AM Sid Price <sidprice@softtools.com> = wrote:

Hello, I am = new to Yocto and relatively new to Linux. I am working my way through = the =E2=80=9CGetting Started=E2=80=9D guide and I have met a problem. I = am trying to run the =E2=80=9Cenvironment-setup =E2=80=A6=E2=80=9D = script for the arm platform. First I notice that when I list the folder = /opt/poky/2.0.1 I see the scripts but they are not shown as executable. = Is this correct? When I try the following command I am told = =E2=80=9CPermission denied=E2=80=9D:

 <= /o:p>

/opt/poky/2.= 0.1/environment-setup-armv5e-poky-linux-gnueabi

 <= /o:p>

If I use = sudo I see =E2=80=9Ccommand not = found=E2=80=9D

 

The setup script has to be *sourced* into your shell, = not run. The instructions most likely included a leading '.' but you = missed it. Either type '. = /opt/poky/2.0.1/environment-setup-armv5e-poky-linux-gnueabi' or = 'source /opt/poky/2.0.1/environment-setup-armv5e-poky-linux-gnueabi'= in your shell.

 

Using =E2=80=9Csource = /opt/poky/2.0.1/environment-setup-armv5e-poky-linux-gnueabi=E2=80=9D = appeared to work, no errors reported. Should I now expect to see new = environment variables when I use =E2=80=9Cprintenv=E2=80=9D, because I = don=E2=80=99t see any of those mentioned in the getting started = guide.

Sid

------=_NextPart_000_009C_01D19644.623FB5A0--