From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from col0-omc3-s2.col0.hotmail.com ([65.55.34.140]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1S9joE-0003gO-86 for openembedded-core@lists.openembedded.org; Mon, 19 Mar 2012 22:08:06 +0100 Received: from COL120-W39 ([65.55.34.136]) by col0-omc3-s2.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 19 Mar 2012 13:59:10 -0700 Message-ID: X-Originating-IP: [70.137.142.215] From: simran singh To: Date: Mon, 19 Mar 2012 13:59:10 -0700 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 19 Mar 2012 20:59:10.0471 (UTC) FILETIME=[21CB0170:01CD0613] Subject: Linking two recipes X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2012 21:08:06 -0000 X-Groupsio-MsgNum: 19158 Content-Type: multipart/mixed; boundary="_525c1da2-0e4f-4213-9684-d0e691f753e9_" --_525c1da2-0e4f-4213-9684-d0e691f753e9_ Content-Type: multipart/alternative; boundary="_9682766c-f1ae-475e-b5ae-cff3eb63eab9_" --_9682766c-f1ae-475e-b5ae-cff3eb63eab9_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello=2CI have recipes for two applications Recipe A and Recipe B. Recipe B= requires a lib.so file and init.h file which are installed by Recipe A.How= do I acknowledge this dependency in Recipe B. I tried doing do_stage() fun= ction in recipe A with no success. Please advice.I am attaching the two rec= ipes.Thank you for any help. Simran = --_9682766c-f1ae-475e-b5ae-cff3eb63eab9_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello=2C
I have recipes for two applications Recipe A and Recipe B. Rec= ipe B requires a lib.so file and init.h file which are installed by Recipe = A.
How do I acknowledge this dependency in Recipe B. I tried doin= g do_stage() function in recipe A with no success. Please advice.
I am attaching the two recipes.
Thank you for any help.

Simran
= --_9682766c-f1ae-475e-b5ae-cff3eb63eab9_-- --_525c1da2-0e4f-4213-9684-d0e691f753e9_ Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="recipeA.bb" REVTQ1JJUFRJT04gPSAiQm90YW4gbGlicmFyeSIKUFIgPSAicjAiClNSQ19VUkkgPSAiZmlsZTov LyR7UE59LSR7UFZ9LnRhci5neiIKCmV4cG9ydCBMREZMQUdTID0gIi1MJHtTVEFHSU5HX0xJQkRJ Un0iCgpTID0gIiR7V09SS0RJUn0iCgojRVhUUkFfT0VNQUtFID0gJ0xJTlVYPSR7U1RBR0lOR19L RVJORUxfRElSfSBFWExERkxBR1M9IiR7TERGTEFHU30iIFwKIwkJTUFDSElORT0ke1RBUkdFVF9B UkNIfSBDQz0iJHtDQ30iIEFSPSIke0FSfSIgUFJFRklYPSIke3ByZWZpeH0iJwoKZG9fY29uZmln dXJlKCkgewoKCW1rZGlyIC1wICR7RH0vdXNyL2JvdGFuCgljZCBCb3Rhbi0xLjEwLjEKCiMJZXhw b3J0IFBBVEg9JHtXT1JLRElSfToke1BBVEh9CiMJZXhwb3J0IENDPWdjYwojCWV4cG9ydCBDWFg9 ZysrCgoJcHl0aG9uIGNvbmZpZ3VyZS5weSAtLXByZWZpeD0ke0R9L3Vzci9ib3RhbgojCW1ha2UK IwltYWtlIGluc3RhbGwKCn0KCiNUQVJHRVRfQ0NfQVJDSCArPSAiJHtMREZMQUdTfSIKCmRvX2Nv bXBpbGUoKSB7CgojCWV4cG9ydCBQQVRIPSR7V09SS0RJUn06JHtQQVRIfQojCWV4cG9ydCBDQz1n Y2MKIwlleHBvcnQgQ1hYPWcrKwoKCWNkIEJvdGFuLTEuMTAuMQoJbWFrZQoJCn0KCmZha2Vyb290 IGRvX2luc3RhbGwoKSB7CgoJY2QgQm90YW4tMS4xMC4xCgltYWtlIGluc3RhbGwKCWNwIC1yICR7 V09SS0RJUn0vQm90YW4tMS4xMC4xLyogJHtEfS91c3IvYm90YW4KCn0KCmRvX3N0YWdlKCkgewoj CWluc3RhbGwgLW0gMDc1NSAke0R9L3Vzci9ib3Rhbi9saWJib3Rhbi0xLjEwLnNvLjAuMSAke1NU QUdJTkdfTElCRElSfS9ib3RhbgoJaW5zdGFsbCAtZCAke1NUQUdJTkdfSU5DRElSfS8KCWluc3Rh bGwgLWQgJHtTVEFHSU5HX0xJQkRJUn0KIwljZCAke0R9L3Vzci9ib3RhbgoJb2VfbGliaW5zdGFs bCAtc28gbGliYm90YW4tMS4xMC5zby4wLjEgJHtTVEFHSU5HX0xJQkRJUn0KCn0KCiNGSUxFU18k e1BOfSArPSAiJHtkYXRhZGlyfS9ib3RhbiIKRklMRVNfJHtQTn0gKz0gIi91c3IvYmluL2JvdGFu IgojRklMRVNfJHtQTn0gPSAiJHtiYXNlX2xpYmRpcn0vbGliZ2NjKi5zby4qIgoKCg== --_525c1da2-0e4f-4213-9684-d0e691f753e9_ Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="recipeB.bb" REVTQ1JJUFRJT04gPSAiU29mdEhTTSIKUFIgPSAicjAiClNSQ19VUkkgPSAiZmlsZTovLyR7UE59 LSR7UFZ9LnRhci5neiIKClMgPSAiJHtXT1JLRElSfSIKCkRFUEVORFMgPSAiYm90YW4gc3FsaXRl MyIKI1JERVBFTkRTID0gImJvdGFuIgoKZXhwb3J0IExERkxBR1MgPSAiLUwke1NUQUdJTkdfTElC RElSfSIKZXhwb3J0IFNUQUdJTkdfTElCRElSCgpkb19jb25maWd1cmUoKSB7CgoJbWtkaXIgLXAg JHtEfS91c3Ivc29mdGhzbQoKCS4vc29mdGhzbS0xLjMuMS9jb25maWd1cmUgLS1ob3N0IC0tcHJl Zml4PSR7RH0vdXNyL3NvZnRoc20gLS13aXRoLWxvZ2xldmVsPTQgIy0td2l0aC1ib3Rhbj0ke1NU QUdJTkdfTElCRElSfS9ib3RhbgoKfQoKZG9fY29tcGlsZSgpIHsKCgltYWtlCgkKfQoKZmFrZXJv b3QgZG9faW5zdGFsbCgpIHsKCgltYWtlIGluc3RhbGwKCn0KCgpGSUxFU18ke1BOfSArPSAiL3Vz ci9iaW4vc29mdGhzbSIKI0ZJTEVTXyR7UE59ICs9ICIvaG9tZS9TaW1yYW4vRnJlZXNjYWxlL1Fv cklRLURQQUEtU0RLLTIwMTExMDI2LXN5c3RlbWJ1aWxkZXIvYnVpbGRfcDQwODBkc19yZWxlYXNl L3dvcmsvcHBjZTUwMG1jLWxpbnV4L2JvdGFuLTEuMC1yMC9pbWFnZS91c3IvYm90YW4iCgoK --_525c1da2-0e4f-4213-9684-d0e691f753e9_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 93-97-173-237.zone5.bethere.co.uk ([93.97.173.237] helo=tim.rpsys.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1S9kAr-00042a-Uy for openembedded-core@lists.openembedded.org; Mon, 19 Mar 2012 22:31:30 +0100 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q2JLMcPK001722 for ; Mon, 19 Mar 2012 21:22:38 GMT Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01114-05 for ; Mon, 19 Mar 2012 21:22:34 +0000 (GMT) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q2JLMS59001716 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 19 Mar 2012 21:22:30 GMT Message-ID: <1332192150.9740.72.camel@ted> From: Richard Purdie To: Patches and discussions about the oe-core layer Date: Mon, 19 Mar 2012 21:22:30 +0000 In-Reply-To: References: X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 X-Virus-Scanned: amavisd-new at rpsys.net Subject: Re: Linking two recipes X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2012 21:31:30 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Mon, 2012-03-19 at 13:59 -0700, simran singh wrote: > Hello, > I have recipes for two applications Recipe A and Recipe B. Recipe B > requires a lib.so file and init.h file which are installed by Recipe > A. > How do I acknowledge this dependency in Recipe B. I tried doing > do_stage() function in recipe A with no success. Please advice. > I am attaching the two recipes. > Thank you for any help. recipe B needs to do: DEPENDS += "recipeA" Cheers, Richard From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from col0-omc3-s10.col0.hotmail.com ([65.55.34.148]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1S9kMa-0004FX-TA for openembedded-core@lists.openembedded.org; Mon, 19 Mar 2012 22:43:37 +0100 Received: from COL120-W27 ([65.55.34.136]) by col0-omc3-s10.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 19 Mar 2012 14:33:37 -0700 Message-ID: X-Originating-IP: [70.137.142.215] From: simran singh To: Date: Mon, 19 Mar 2012 14:33:36 -0700 Importance: Normal In-Reply-To: <1332192150.9740.72.camel@ted> References: , <1332192150.9740.72.camel@ted> MIME-Version: 1.0 X-OriginalArrivalTime: 19 Mar 2012 21:33:37.0223 (UTC) FILETIME=[F1AC5570:01CD0617] Subject: Re: Linking two recipes X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2012 21:43:37 -0000 Content-Type: multipart/alternative; boundary="_a65b718c-4bb8-47bd-829f-80815a4fd876_" --_a65b718c-4bb8-47bd-829f-80815a4fd876_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello Richard=2C I did try the DEPENDS variable before but still doesnt solve the problem.A = configure script in recipe B has to run a program that is built under ${D}/= usr/botan by recipe A. Even if i pass the path to the configure script=2C i= t is unable to find the script. ./configure --with-botan=3D............./us= r/botanThanks. Simran > From: richard.purdie@linuxfoundation.org > To: openembedded-core@lists.openembedded.org > Date: Mon=2C 19 Mar 2012 21:22:30 +0000 > Subject: Re: [OE-core] Linking two recipes >=20 > On Mon=2C 2012-03-19 at 13:59 -0700=2C simran singh wrote: > > Hello=2C > > I have recipes for two applications Recipe A and Recipe B. Recipe B > > requires a lib.so file and init.h file which are installed by Recipe > > A. > > How do I acknowledge this dependency in Recipe B. I tried doing > > do_stage() function in recipe A with no success. Please advice. > > I am attaching the two recipes. > > Thank you for any help. >=20 > recipe B needs to do: >=20 > DEPENDS +=3D "recipeA" >=20 > Cheers=2C >=20 > Richard >=20 >=20 >=20 > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core = --_a65b718c-4bb8-47bd-829f-80815a4fd876_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello Richard=2C

I did try the DEPENDS variable before b= ut still doesnt solve the problem.
A configure script in recipe B= has to run a program that is built under ${D}/usr/botan by recipe A. = =3B
Even if i pass the path to the configure script=2C it is unab= le to find the script. ./configure --with-botan=3D............./usr/botan
Thanks.

Simran


>=3B From: richard.purdie@linuxfoun= dation.org
>=3B To: openembedded-core@lists.openembedded.org
>=3B= Date: Mon=2C 19 Mar 2012 21:22:30 +0000
>=3B Subject: Re: [OE-core] L= inking two recipes
>=3B
>=3B On Mon=2C 2012-03-19 at 13:59 -0700= =2C simran singh wrote:
>=3B >=3B Hello=2C
>=3B >=3B I have r= ecipes for two applications Recipe A and Recipe B. Recipe B
>=3B >= =3B requires a lib.so file and init.h file which are installed by Recipe>=3B >=3B A.
>=3B >=3B How do I acknowledge this dependency in = Recipe B. I tried doing
>=3B >=3B do_stage() function in recipe A wi= th no success. Please advice.
>=3B >=3B I am attaching the two recip= es.
>=3B >=3B Thank you for any help.
>=3B
>=3B recipe B = needs to do:
>=3B
>=3B DEPENDS +=3D "recipeA"
>=3B
>= =3B Cheers=2C
>=3B
>=3B Richard
>=3B
>=3B
>=3B =
>=3B _______________________________________________
>=3B Openem= bedded-core mailing list
>=3B Openembedded-core@lists.openembedded.org=
>=3B http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded= -core
= --_a65b718c-4bb8-47bd-829f-80815a4fd876_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-gy0-f175.google.com ([209.85.160.175]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1S9kQz-0004L1-DB for openembedded-core@lists.openembedded.org; Mon, 19 Mar 2012 22:48:09 +0100 Received: by ghbz2 with SMTP id z2so5831092ghb.6 for ; Mon, 19 Mar 2012 14:39:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:in-reply-to:references:subject:x-mailer :mime-version:content-type; bh=1gxlfjFcIyRkGTkQTrAsO7K2ntxWdhBqGnTcDbHGeTQ=; b=jwVylMNvwz6GogGh1VH7kqz1ueIxhU7ZixBnLqVy0LcLKoVVqEUWmgMBFR2CS26xL/ 6SMZryIk+0efV6E7n2Zlb+/NnGngp+iFbTkV0YxzZ3m+N5/OumQ9LT5s5DIVdezbJAP4 m854fpwh1ASSiYb2ED6OXjqv3pI2E32l8SNpMyNa4sAVP0XQYq4xQJ6qYCdKg/O5cJ8N UjnQUAuRKP/kPBq51J2MneI5kUdpZRpY6mE2x0V46HIwUdR0ZyEAxeQA1A8fG0O0Mp6z Z4meyVEc/qRZDeNSx/CdHOI20zR+5fv2s9dnrD9HwIQXp2HiP17nlRcWnkos6GaqM2uS j9vg== Received: by 10.60.30.66 with SMTP id q2mr15360994oeh.25.1332193157259; Mon, 19 Mar 2012 14:39:17 -0700 (PDT) Received: from frey.local (ip68-110-79-242.ph.ph.cox.net. [68.110.79.242]) by mx.google.com with ESMTPS id g4sm10992685oeg.5.2012.03.19.14.39.16 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 19 Mar 2012 14:39:16 -0700 (PDT) Date: Mon, 19 Mar 2012 14:39:13 -0700 From: Christopher Larson To: Patches and discussions about the oe-core layer Message-ID: In-Reply-To: References: <,> <1332192150.9740.72.camel@ted> X-Mailer: sparrow 1.5 (build 1043.1) MIME-Version: 1.0 Subject: Re: Linking two recipes X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2012 21:48:09 -0000 Content-Type: multipart/alternative; boundary="4f67a781_4db127f8_aa0" --4f67a781_4db127f8_aa0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline /usr/botan isn't a path that'll be placed into the sysroot, which is the standard mechanism by which files from dependencies are accessed (e.g. headers, shared libraries, native scripts). You should install to more standard system locations. -- Christopher Larson On Monday, March 19, 2012 at 2:33 PM, simran singh wrote: > Hello Richard, > > I did try the DEPENDS variable before but still doesnt solve the problem. > A configure script in recipe B has to run a program that is built under ${D}/usr/botan by recipe A. > Even if i pass the path to the configure script, it is unable to find the script. ./configure --with-botan=............./usr/botan > Thanks. > > Simran > > > > From: richard.purdie@linuxfoundation.org (mailto:richard.purdie@linuxfoundation.org) > > To: openembedded-core@lists.openembedded.org (mailto:openembedded-core@lists.openembedded.org) > > Date: Mon, 19 Mar 2012 21:22:30 +0000 > > Subject: Re: [OE-core] Linking two recipes > > > > On Mon, 2012-03-19 at 13:59 -0700, simran singh wrote: > > > Hello, > > > I have recipes for two applications Recipe A and Recipe B. Recipe B > > > requires a lib.so file and init.h file which are installed by Recipe > > > A. > > > How do I acknowledge this dependency in Recipe B. I tried doing > > > do_stage() function in recipe A with no success. Please advice. > > > I am attaching the two recipes. > > > Thank you for any help. > > > > recipe B needs to do: > > > > DEPENDS += "recipeA" > > > > Cheers, > > > > Richard > > > > > > > > _______________________________________________ > > Openembedded-core mailing list > > Openembedded-core@lists.openembedded.org (mailto:Openembedded-core@lists.openembedded.org) > > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org (mailto:Openembedded-core@lists.openembedded.org) > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core > > --4f67a781_4db127f8_aa0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
/usr/botan isn't a path that'll be placed into the sysroot, which is = the standard mechanism by which files from dependencies are accessed (e.g= . headers, shared libraries, native scripts). You should install to more = standard system locations.

-- 
Christopher L= arson

=20

On Monday, March 19, 2= 012 at 2:33 PM, simran singh wrote:

Hello Richard,

I did try the DEPENDS variable before b= ut still doesnt solve the problem.
A configure script in recipe= B has to run a program that is built under =24=7BD=7D/usr/botan by recip= e A. 
Even if i pass the path to the configure script, it = is unable to find the script. ./configure --with-botan=3D............./us= r/botan
Thanks.

Simran

<= br>
> =46rom: richard.purdie=40linuxfoundation.org
> To: openembedded-core=40= lists.openembedded.org
> Date: Mon, 19 Mar 2012 21:22:30 +0000<= br>> Subject: Re: =5BOE-core=5D Linking two recipes
>
> O= n Mon, 2012-03-19 at 13:59 -0700, simran singh wrote:
> > Hello,=
> > I have recipes for two applications Recipe A and Recipe B. = Recipe B
> > requires a lib.so file and init.h file which are in= stalled by Recipe
> > A.
> > How do I acknowledge this = dependency in Recipe B. I tried doing
> > do=5Fstage() function = in recipe A with no success. Please advice.
> > I am attaching t= he two recipes.
> > Thank you for any help.
>
> rec= ipe B needs to do:
>
> DEPENDS +=3D =22recipeA=22
> > Cheers,
>
> Richard
>
>
>
>= ; =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
= > Openembedded-core mailing list
> Openembedded-core=40lists.openembedd= ed.org
> http://lists.linuxtogo.org/cgi-bin/mailma= n/listinfo/openembedded-core
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F
Openembedded-core mailing list
=20 =20 =20 =20
=20

--4f67a781_4db127f8_aa0-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from col0-omc3-s12.col0.hotmail.com ([65.55.34.150]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1S9kjE-0004uo-C5 for openembedded-core@lists.openembedded.org; Mon, 19 Mar 2012 23:07:00 +0100 Received: from COL120-W63 ([65.55.34.137]) by col0-omc3-s12.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 19 Mar 2012 14:57:04 -0700 Message-ID: X-Originating-IP: [70.137.142.215] From: simran singh To: Date: Mon, 19 Mar 2012 14:57:03 -0700 Importance: Normal In-Reply-To: References: <, >, <1332192150.9740.72.camel@ted>, , MIME-Version: 1.0 X-OriginalArrivalTime: 19 Mar 2012 21:57:04.0487 (UTC) FILETIME=[3877C770:01CD061B] Subject: Re: Linking two recipes X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2012 22:07:00 -0000 Content-Type: multipart/alternative; boundary="_958b6297-23a8-499b-b115-91087db38fe9_" --_958b6297-23a8-499b-b115-91087db38fe9_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable So install something along the lines: do_install(){ python configure.py --prefix=3D${libdir}/botan} When I do that=2C I get a permission denied error:mkdir: cannot create dire= ctory /usr/lib/botan Sorry I am still significantly new to open embedded and bitbake. Thanks=2CSimran Date: Mon=2C 19 Mar 2012 14:39:13 -0700 From: kergoth@gmail.com To: openembedded-core@lists.openembedded.org Subject: Re: [OE-core] Linking two recipes /usr/botan isn't a path that'll be placed into the sysroot= =2C which is the standard mechanism by which files from dependencies are ac= cessed (e.g. headers=2C shared libraries=2C native scripts). You should ins= tall to more standard system locations. =20 -- Christopher Larson =20 On Monday=2C March 19=2C 2012 at 2:33 PM=2C simran singh wr= ote: =20 =20 Hello Richard=2C I did try the DEPENDS variable before but still doesnt solve the problem.A = configure script in recipe B has to run a program that is built under ${D}/= usr/botan by recipe A. Even if i pass the path to the configure script=2C i= t is unable to find the script. ./configure --with-botan=3D............./us= r/botanThanks. Simran > From: richard.purdie@linuxfoundation.org > To: openembedded-core@lists.openembedded.org > Date: Mon=2C 19 Mar 2012 21:22:30 +0000 > Subject: Re: [OE-core] Linking two recipes >=20 > On Mon=2C 2012-03-19 at 13:59 -0700=2C simran singh wrote: > > Hello=2C > > I have recipes for two applications Recipe A and Recipe B. Recipe B > > requires a lib.so file and init.h file which are installed by Recipe > > A. > > How do I acknowledge this dependency in Recipe B. I tried doing > > do_stage() function in recipe A with no success. Please advice. > > I am attaching the two recipes. > > Thank you for any help. >=20 > recipe B needs to do: >=20 > DEPENDS +=3D "recipeA" >=20 > Cheers=2C >=20 > Richard >=20 >=20 >=20 > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core =20 _______________________________________________Openembedded-core mailing li= stOpenembedded-core@lists.openembedded.orghttp://lists.linuxtogo.org/cgi-bi= n/mailman/listinfo/openembedded-core =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core = = --_958b6297-23a8-499b-b115-91087db38fe9_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
So install something along the lines:

do_install(){
 =3B  =3B  =3B  =3Bpython configure.py --prefix=3D${l= ibdir}/botan
}

When I do that=2C I get a permission denied= error:
mkdir: cannot create directory /usr/lib/botan
<= br>
Sorry I am still significantly new to open embedded and bitba= ke.

Thanks=2C
Simran


Date: Mon=2C 19 Mar = 2012 14:39:13 -0700
From: kergoth@gmail.com
To: openembedded-core@lis= ts.openembedded.org
Subject: Re: [OE-core] Linking two recipes

/usr/= botan isn't a path that'll be placed into the sysroot=2C which is the stand= ard mechanism by which files from dependencies are accessed (e.g. headers= =2C shared libraries=2C native scripts). You should install to more standar= d system locations.

-- =3B
Christopher L= arson

=20

On Monday=2C March 19=2C 2012 at= 2:33 PM=2C simran singh wrote:

Hello Richard=2C

I did try the DEPENDS variable before b= ut still doesnt solve the problem.
A configure script in recipe B= has to run a program that is built under ${D}/usr/botan by recipe A. = =3B
Even if i pass the path to the configure script=2C it is unab= le to find the script. ./configure --with-botan=3D............./usr/botan
Thanks.

Simran


>= =3B From: richard.pur= die@linuxfoundation.org
>=3B To: openembedded-core@lists.openembedded.org
= >=3B Date: Mon=2C 19 Mar 2012 21:22:30 +0000
>=3B Subject: Re: [OE-c= ore] Linking two recipes
>=3B
>=3B On Mon=2C 2012-03-19 at 13:59= -0700=2C simran singh wrote:
>=3B >=3B Hello=2C
>=3B >=3B I = have recipes for two applications Recipe A and Recipe B. Recipe B
>=3B= >=3B requires a lib.so file and init.h file which are installed by Recip= e
>=3B >=3B A.
>=3B >=3B How do I acknowledge this dependency= in Recipe B. I tried doing
>=3B >=3B do_stage() function in recipe = A with no success. Please advice.
>=3B >=3B I am attaching the two r= ecipes.
>=3B >=3B Thank you for any help.
>=3B
>=3B recip= e B needs to do:
>=3B
>=3B DEPENDS +=3D "recipeA"
>=3B
= >=3B Cheers=2C
>=3B
>=3B Richard
>=3B
>=3B
>= =3B
>=3B _______________________________________________
>=3B Op= enembedded-core mailing list
>=3B Openembedded-core@lists.openembedded.org
>= =3B http://lists.linuxtogo.org/cgi-bin/mailman/lis= tinfo/openembedded-core
_______________________________________________
O= penembedded-core mailing list
=
=20 =20 =20 =20
=20


_______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
=
= --_958b6297-23a8-499b-b115-91087db38fe9_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pz0-f47.google.com ([209.85.210.47]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1S9kkf-0004xE-0U for openembedded-core@lists.openembedded.org; Mon, 19 Mar 2012 23:08:29 +0100 Received: by dado14 with SMTP id o14so10809564dad.6 for ; Mon, 19 Mar 2012 14:59:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:in-reply-to:references:subject:x-mailer :mime-version:content-type; bh=66CEla0vu3DyjCEbAowURJQrqWg14EzQwDrlfk/nLbc=; b=G1OBL5PM+0UmCfeUgctBjFeT1rLIDiAitpR7jAoFfnzX3FlQqL0c73n94zi4P5lCjr 722Gn+i3WV5XxYxYAPJF0abuXSyObG3dJfgeT8cRVAH+d/xzxKLkKnfBelrO0TWwgLIv PSVxrCmrG9xIDL8OcpxaVuHjN30nIzNfcWS/GDJ8Y/1jtxOl4jmvTQxKWytGdnmUwyYZ In6rCFgn4yJ9L997YEqQta1LFJWnK6Nb5+dsIMpQ2YsRXnQ/kJVET46fu2gr07GHRd2r bbfMuazeOaYyHAUr8Los6+spoQKbZjUI8PxFFkq+qjwxPHFhoZxtHcbJXdwigauO9opl 8b+Q== Received: by 10.68.228.69 with SMTP id sg5mr44084084pbc.91.1332194376234; Mon, 19 Mar 2012 14:59:36 -0700 (PDT) Received: from frey.local (ip68-110-79-242.ph.ph.cox.net. [68.110.79.242]) by mx.google.com with ESMTPS id 3sm9235866pbf.47.2012.03.19.14.59.34 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 19 Mar 2012 14:59:35 -0700 (PDT) Date: Mon, 19 Mar 2012 14:59:33 -0700 From: Christopher Larson To: Patches and discussions about the oe-core layer Message-ID: In-Reply-To: References: <,> <,> <1332192150.9740.72.camel@ted> <,> <,> X-Mailer: sparrow 1.5 (build 1043.1) MIME-Version: 1.0 Subject: Re: Linking two recipes X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2012 22:08:29 -0000 Content-Type: multipart/alternative; boundary="4f67ac45_1190cde7_aa0" --4f67ac45_1190cde7_aa0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline All installs should be placed relative to ${D}. See one of the many other recipes that define do_install for examples :) -- Christopher Larson On Monday, March 19, 2012 at 2:57 PM, simran singh wrote: > So install something along the lines: > > do_install(){ > python configure.py --prefix=${libdir}/botan > } > > When I do that, I get a permission denied error: > mkdir: cannot create directory /usr/lib/botan > > Sorry I am still significantly new to open embedded and bitbake. > > Thanks, > Simran > > Date: Mon, 19 Mar 2012 14:39:13 -0700 > From: kergoth@gmail.com (mailto:kergoth@gmail.com) > To: openembedded-core@lists.openembedded.org (mailto:openembedded-core@lists.openembedded.org) > Subject: Re: [OE-core] Linking two recipes > > /usr/botan isn't a path that'll be placed into the sysroot, which is the standard mechanism by which files from dependencies are accessed (e.g. headers, shared libraries, native scripts). You should install to more standard system locations. > > -- > Christopher Larson > > > On Monday, March 19, 2012 at 2:33 PM, simran singh wrote: > > > Hello Richard, > > > > I did try the DEPENDS variable before but still doesnt solve the problem. > > A configure script in recipe B has to run a program that is built under ${D}/usr/botan by recipe A. > > Even if i pass the path to the configure script, it is unable to find the script. ./configure --with-botan=............./usr/botan > > Thanks. > > > > Simran > > > > > > > From: richard.purdie@linuxfoundation.org (mailto:richard.purdie@linuxfoundation.org) > > > To: openembedded-core@lists.openembedded.org (mailto:openembedded-core@lists.openembedded.org) > > > Date: Mon, 19 Mar 2012 21:22:30 +0000 > > > Subject: Re: [OE-core] Linking two recipes > > > > > > On Mon, 2012-03-19 at 13:59 -0700, simran singh wrote: > > > > Hello, > > > > I have recipes for two applications Recipe A and Recipe B. Recipe B > > > > requires a lib.so file and init.h file which are installed by Recipe > > > > A. > > > > How do I acknowledge this dependency in Recipe B. I tried doing > > > > do_stage() function in recipe A with no success. Please advice. > > > > I am attaching the two recipes. > > > > Thank you for any help. > > > > > > recipe B needs to do: > > > > > > DEPENDS += "recipeA" > > > > > > Cheers, > > > > > > Richard > > > > > > > > > > > > _______________________________________________ > > > Openembedded-core mailing list > > > Openembedded-core@lists.openembedded.org (mailto:Openembedded-core@lists.openembedded.org) > > > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core > > _______________________________________________ > > Openembedded-core mailing list > > Openembedded-core@lists.openembedded.org (mailto:Openembedded-core@lists.openembedded.org) > > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core > > > > > > > > > > _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org (mailto:Openembedded-core@lists.openembedded.org) > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core > > --4f67ac45_1190cde7_aa0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
All installs should be placed relative to =24=7BD=7D. See one of the = many other recipes that define do=5Finstall for examples :)

-- 
Christopher L= arson

=20

On Monday, March 19, 2= 012 at 2:57 PM, simran singh wrote:

So install something along the lines:

do=5Finstall()=7B=
       python configure.py --prefix=3D=24=7B= libdir=7D/botan
=7D

When I do that, I get a permission d= enied error:
mkdir: cannot create directory /usr/lib/botan

Sorry I am still significantly new to open embedded = and bitbake.

Thanks,
Simran


Date: Mon, 19 Mar 2012 14:39:13 -0700
=46rom: kergoth=40gmail.com
To: openembedded-core=40list= s.openembedded.org
Subject: Re: =5BOE-core=5D Linking two recipes<= br>
/= usr/botan isn't a path that'll be placed into the sysroot, which is the s= tandard mechanism by which files from dependencies are accessed (e.g. hea= ders, shared libraries, native scripts). You should install to more stand= ard system locations.

-- 
Christopher L= arson

=20

On Monday, March 19, 201= 2 at 2:33 PM, simran singh wrote:

Hello Richard,

I did try the DEPENDS variable before b= ut still doesnt solve the problem.
A configure script in recipe= B has to run a program that is built under =24=7BD=7D/usr/botan by recip= e A. 
Even if i pass the path to the configure script, it = is unable to find the script. ./configure --with-botan=3D............./us= r/botan
Thanks.

Simran

<= br>
> =46rom: richard.purdie=40linuxfoundation.org
> To: openembedded-core=40= lists.openembedded.org
> Date: Mon, 19 Mar 2012 21:22:30 +0000<= br>> Subject: Re: =5BOE-core=5D Linking two recipes
>
> O= n Mon, 2012-03-19 at 13:59 -0700, simran singh wrote:
> > Hello,=
> > I have recipes for two applications Recipe A and Recipe B. = Recipe B
> > requires a lib.so file and init.h file which are in= stalled by Recipe
> > A.
> > How do I acknowledge this = dependency in Recipe B. I tried doing
> > do=5Fstage() function = in recipe A with no success. Please advice.
> > I am attaching t= he two recipes.
> > Thank you for any help.
>
> rec= ipe B needs to do:
>
> DEPENDS +=3D =22recipeA=22
> > Cheers,
>
> Richard
>
>
>
>= ; =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
= > Openembedded-core mailing list
> Openembedded-core=40lists.openembedd= ed.org
> http://lists.linu= xtogo.org/cgi-bin/mailman/listinfo/openembedded-core
=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F
Openembedded-core mailing list
=20 =20 =20 =20

=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F Openembedded-core mailing list Openembedded-core=40lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembe= dded-core
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F
Openembedded-core mailing list
=20 =20 =20 =20
=20

--4f67ac45_1190cde7_aa0-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from col0-omc3-s5.col0.hotmail.com ([65.55.34.143]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1S9kvC-0005Lk-Pi for openembedded-core@lists.openembedded.org; Mon, 19 Mar 2012 23:19:23 +0100 Received: from COL120-W43 ([65.55.34.136]) by col0-omc3-s5.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 19 Mar 2012 15:10:30 -0700 Message-ID: X-Originating-IP: [70.137.142.215] From: simran singh To: Date: Mon, 19 Mar 2012 15:10:29 -0700 Importance: Normal In-Reply-To: References: <,> <,>,<1332192150.9740.72.camel@ted> <,>, <, >, , , MIME-Version: 1.0 X-OriginalArrivalTime: 19 Mar 2012 22:10:30.0378 (UTC) FILETIME=[18D0FCA0:01CD061D] Subject: Re: Linking two recipes X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2012 22:19:23 -0000 Content-Type: multipart/alternative; boundary="_ad07faf1-7b39-4f47-abad-b859c5ba6172_" --_ad07faf1-7b39-4f47-abad-b859c5ba6172_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable This is how I was able to install it: do_install(){ python configure.py --prefix=3D${D}/${libdir}/botan} But still the other recipe is unable to locate the files. Date: Mon=2C 19 Mar 2012 14:59:33 -0700 From: kergoth@gmail.com To: openembedded-core@lists.openembedded.org Subject: Re: [OE-core] Linking two recipes All installs should be placed relative to ${D}. See one of = the many other recipes that define do_install for examples :) =20 -- Christopher Larson =20 On Monday=2C March 19=2C 2012 at 2:57 PM=2C simran singh wr= ote: =20 =20 So install something along the lines: do_install(){ python configure.py --prefix=3D${libdir}/botan} When I do that=2C I get a permission denied error:mkdir: cannot create dire= ctory /usr/lib/botan Sorry I am still significantly new to open embedded and bitbake. Thanks=2CSimran Date: Mon=2C 19 Mar 2012 14:39:13 -0700 From: kergoth@gmail.com To: openembedded-core@lists.openembedded.org Subject: Re: [OE-core] Linking two recipes /usr/botan isn't a path that'll be placed into the sysroot= =2C which is the standard mechanism by which files from dependencies are ac= cessed (e.g. headers=2C shared libraries=2C native scripts). You should ins= tall to more standard system locations. =20 -- Christopher Larson =20 On Monday=2C March 19=2C 2012 at 2:33 PM=2C simran singh wr= ote: =20 Hello Richard=2C I did try the DEPENDS variable before but still doesnt solve the problem.A = configure script in recipe B has to run a program that is built under ${D}/= usr/botan by recipe A. Even if i pass the path to the configure script=2C i= t is unable to find the script. ./configure --with-botan=3D............./us= r/botanThanks. Simran > From: richard.purdie@linuxfoundation.org > To: openembedded-core@lists.openembedded.org > Date: Mon=2C 19 Mar 2012 21:22:30 +0000 > Subject: Re: [OE-core] Linking two recipes >=20 > On Mon=2C 2012-03-19 at 13:59 -0700=2C simran singh wrote: > > Hello=2C > > I have recipes for two applications Recipe A and Recipe B. Recipe B > > requires a lib.so file and init.h file which are installed by Recipe > > A. > > How do I acknowledge this dependency in Recipe B. I tried doing > > do_stage() function in recipe A with no success. Please advice. > > I am attaching the two recipes. > > Thank you for any help. >=20 > recipe B needs to do: >=20 > DEPENDS +=3D "recipeA" >=20 > Cheers=2C >=20 > Richard >=20 >=20 >=20 > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core =20 _______________________________________________Openembedded-core mailing li= stOpenembedded-core@lists.openembedded.orghttp://lists.linuxtogo.org/cgi-bi= n/mailman/listinfo/openembedded-core =20 =20 =20 =20 =20 =20 =20 =20 _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core = =20 _______________________________________________Openembedded-core mailing li= stOpenembedded-core@lists.openembedded.orghttp://lists.linuxtogo.org/cgi-bi= n/mailman/listinfo/openembedded-core =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core = = --_ad07faf1-7b39-4f47-abad-b859c5ba6172_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
This is how I was able to install it:

do_install(){=
 =3B  =3B  =3B  =3Bpython configure.py --prefix= =3D${D}/${libdir}/botan
}

But still the other recipe is unable to locate the files.


Date: Mon=2C 19 Mar 2012 14:59:33 -0700
From: kergoth@gmai= l.com
To: openembedded-core@lists.openembedded.org
Subject: Re: [OE-c= ore] Linking two recipes

All i= nstalls should be placed relative to ${D}. See one of the many other recipe= s that define do_install for examples :)

-- =3B
Christopher L= arson

=20

On Monday=2C March 19=2C 2012 at= 2:57 PM=2C simran singh wrote:

So install something along the lines:

do_install(){
 =3B  =3B  =3B  =3Bpython configure.py --prefix=3D${l= ibdir}/botan
}

When I do that=2C I get a permission denied= error:
mkdir: cannot create directory /usr/lib/botan
<= br>
Sorry I am still significantly new to open embedded and bitba= ke.

Thanks=2C
Simran


Dat= e: Mon=2C 19 Mar 2012 14:39:13 -0700
From: kergoth@gmail.com
To: openembedded-core@lists.openembedded.org
Subje= ct: Re: [OE-core] Linking two recipes

/usr/= botan isn't a path that'll be placed into the sysroot=2C which is the stand= ard mechanism by which files from dependencies are accessed (e.g. headers= =2C shared libraries=2C native scripts). You should install to more standar= d system locations.

-- =3B
Christopher L= arson

=20

On Monday=2C March 19=2C 2012 at= 2:33 PM=2C simran singh wrote:

Hello Richard=2C

I did try the DEPENDS variable before b= ut still doesnt solve the problem.
A configure script in recipe B= has to run a program that is built under ${D}/usr/botan by recipe A. = =3B
Even if i pass the path to the configure script=2C it is unab= le to find the script. ./configure --with-botan=3D............./usr/botan
Thanks.

Simran


>= =3B From: richard.pur= die@linuxfoundation.org
>=3B To: openembedded-core@lists.openembedded.org
= >=3B Date: Mon=2C 19 Mar 2012 21:22:30 +0000
>=3B Subject: Re: [OE-c= ore] Linking two recipes
>=3B
>=3B On Mon=2C 2012-03-19 at 13:59= -0700=2C simran singh wrote:
>=3B >=3B Hello=2C
>=3B >=3B I = have recipes for two applications Recipe A and Recipe B. Recipe B
>=3B= >=3B requires a lib.so file and init.h file which are installed by Recip= e
>=3B >=3B A.
>=3B >=3B How do I acknowledge this dependency= in Recipe B. I tried doing
>=3B >=3B do_stage() function in recipe = A with no success. Please advice.
>=3B >=3B I am attaching the two r= ecipes.
>=3B >=3B Thank you for any help.
>=3B
>=3B recip= e B needs to do:
>=3B
>=3B DEPENDS +=3D "recipeA"
>=3B
= >=3B Cheers=2C
>=3B
>=3B Richard
>=3B
>=3B
>= =3B
>=3B _______________________________________________
>=3B Op= enembedded-core mailing list
>=3B Openembedded-core@lists.openembedded.org
>= =3B http://lists.linuxtogo.org/cgi-bin/mailman/lis= tinfo/openembedded-core
_______________________________________________
O= penembedded-core mailing list
=
=20 =20 =20 =20


_______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinf= o/openembedded-core
_______________________________________________
O= penembedded-core mailing list
=
=20 =20 =20 =20
=20


_______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
=
= --_ad07faf1-7b39-4f47-abad-b859c5ba6172_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 93-97-173-237.zone5.bethere.co.uk ([93.97.173.237] helo=tim.rpsys.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1S9lbe-0006T0-Mb for openembedded-core@lists.openembedded.org; Tue, 20 Mar 2012 00:03:14 +0100 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q2JMsONY002841 for ; Mon, 19 Mar 2012 22:54:24 GMT Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02279-04 for ; Mon, 19 Mar 2012 22:54:20 +0000 (GMT) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q2JMsD5C002834 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 19 Mar 2012 22:54:14 GMT Message-ID: <1332197654.9740.73.camel@ted> From: Richard Purdie To: Patches and discussions about the oe-core layer Date: Mon, 19 Mar 2012 22:54:14 +0000 In-Reply-To: References: <,> <,> ,<1332192150.9740.72.camel@ted> <,> , <, > , , , X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 X-Virus-Scanned: amavisd-new at rpsys.net Subject: Re: Linking two recipes X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2012 23:03:14 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Mon, 2012-03-19 at 15:10 -0700, simran singh wrote: > This is how I was able to install it: > > > do_install(){ > python configure.py --prefix=${D}/${libdir}/botan > } > > > But still the other recipe is unable to locate the files. > In the other recipe, look in ${STAGING_LIBDIR}... Cheers, Richard From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from col0-omc3-s18.col0.hotmail.com ([65.55.34.157]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1SA4qP-0002Ob-8i for openembedded-core@lists.openembedded.org; Tue, 20 Mar 2012 20:35:45 +0100 Received: from COL120-W58 ([65.55.34.137]) by col0-omc3-s18.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 20 Mar 2012 12:25:44 -0700 Message-ID: X-Originating-IP: [67.164.104.98] From: simran singh To: Date: Tue, 20 Mar 2012 12:25:44 -0700 Importance: Normal In-Reply-To: <1332197654.9740.73.camel@ted> References: <,> <,>,,<1332192150.9740.72.camel@ted> <,>,, <, >,, ,, ,, , , <1332197654.9740.73.camel@ted> MIME-Version: 1.0 X-OriginalArrivalTime: 20 Mar 2012 19:25:44.0487 (UTC) FILETIME=[3EC77B70:01CD06CF] Subject: Re: Linking two recipes X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2012 19:35:45 -0000 Content-Type: multipart/alternative; boundary="_7bff059c-a059-419c-af20-d975a39240af_" --_7bff059c-a059-419c-af20-d975a39240af_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello=2C I was able to have the recipes find each other but I think the problem lies= somewhere else as to why the build is failing.But thanks for all the help. Simran > From: richard.purdie@linuxfoundation.org > To: openembedded-core@lists.openembedded.org > Date: Mon=2C 19 Mar 2012 22:54:14 +0000 > Subject: Re: [OE-core] Linking two recipes >=20 > On Mon=2C 2012-03-19 at 15:10 -0700=2C simran singh wrote: > > This is how I was able to install it: > >=20 > >=20 > > do_install(){ > > python configure.py --prefix=3D${D}/${libdir}/botan > > } > > > >=20 > > But still the other recipe is unable to locate the files. > >=20 >=20 > In the other recipe=2C look in ${STAGING_LIBDIR}... >=20 > Cheers=2C >=20 > Richard >=20 >=20 >=20 > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core = --_7bff059c-a059-419c-af20-d975a39240af_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello=2C

I was able to have the recipes find each other = but I think the problem lies somewhere else as to why the build is failing.=
But thanks for all the help.

Simran
=
>=3B From: richard.purdie@= linuxfoundation.org
>=3B To: openembedded-core@lists.openembedded.org<= br>>=3B Date: Mon=2C 19 Mar 2012 22:54:14 +0000
>=3B Subject: Re: [O= E-core] Linking two recipes
>=3B
>=3B On Mon=2C 2012-03-19 at 15= :10 -0700=2C simran singh wrote:
>=3B >=3B This is how I was able to= install it:
>=3B >=3B
>=3B >=3B
>=3B >=3B do_instal= l(){
>=3B >=3B python configure.py --prefix=3D${D}/${libdir}/= botan
>=3B >=3B }
>=3B >=3B
>=3B >=3B
>=3B >= =3B But still the other recipe is unable to locate the files.
>=3B >= =3B
>=3B
>=3B In the other recipe=2C look in ${STAGING_LIBDIR}.= ..
>=3B
>=3B Cheers=2C
>=3B
>=3B Richard
>=3B >=3B
>=3B
>=3B ____________________________________________= ___
>=3B Openembedded-core mailing list
>=3B Openembedded-core@li= sts.openembedded.org
>=3B http://lists.linuxtogo.org/cgi-bin/mailman/l= istinfo/openembedded-core
= --_7bff059c-a059-419c-af20-d975a39240af_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pb0-f47.google.com ([209.85.160.47]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1SGMir-00077l-2h for openembedded-core@lists.openembedded.org; Sat, 07 Apr 2012 05:53:57 +0200 Received: by pbcum15 with SMTP id um15so2606667pbc.6 for ; Fri, 06 Apr 2012 20:44:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=fAA1CTMyEf2pUyIF7rcKEdprOI2AVZd338haCFl2c2o=; b=VPxj42AYZ9LP3gzvYzYA+AMtABdHeTVIPkPzE6dW3ZcjsKgtrLxriBX0XhIM5uTlNP QoBZfUERzIaptmkjqG9KOeyc6lO6/iZwulCaNCrqo4Irey3iQKVpJsSR+nd2KlMZPNPn vhFYSm5LjF9snNiZ2RW0QlBJmzgvRhs7waVquJUUOowIowrDvjU+v94lLhBzqx9WEoZD eeKnpPIPVrHs7RQuWMwFpCpvPRQVEny9xXDZIDKAQtK4Yhq3O1xceQiPjaao2Adtuu7Z k+pLtVa6vxY+ydSZYnXf2IQtjAVHRZ70Kgpx8Gd5hT7COH9grqiiPKSzw2r0A4th1CNE wMAg== Received: by 10.68.201.6 with SMTP id jw6mr531344pbc.92.1333770282814; Fri, 06 Apr 2012 20:44:42 -0700 (PDT) Received: from [192.168.1.79] (99-57-140-209.lightspeed.sntcca.sbcglobal.net. [99.57.140.209]) by mx.google.com with ESMTPS id wo6sm64736pbc.45.2012.04.06.20.44.40 (version=SSLv3 cipher=OTHER); Fri, 06 Apr 2012 20:44:41 -0700 (PDT) Message-ID: <4F7FB826.1000504@gmail.com> Date: Fri, 06 Apr 2012 20:44:38 -0700 From: Khem Raj User-Agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120402 Thunderbird/11.0.1 MIME-Version: 1.0 To: openembedded-core@lists.openembedded.org References: <, > <, >, , <1332192150.9740.72.camel@ted> <, >, , <, >, , , , , , , , <1332197654.9740.73.camel@ted> In-Reply-To: X-Enigmail-Version: 1.4 Subject: Re: Linking two recipes X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2012 03:53:57 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/20/2012 12:25 PM, simran singh wrote: > > Hello, I was able to have the recipes find each other but I think > the problem lies somewhere else as to why the build is failing.But > thanks for all the help. Simran It seems recipeB needs to run some binary from recipeA during its configure step which tells me that you need a native version of recipeA so add BBCLASSEXTEND = "native" to recipeA and then in recipeB add recipeA-native to DEPENDS - -Khem -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9/uCYACgkQuwUzVZGdMxR+sgCdEx+b67XQhyH0V9cE6PtRKVk0 JRsAn0x5DBv9wILS1RGl8vw347lUz1uN =8c5R -----END PGP SIGNATURE-----