<div style="font-family: Helvetica; font-size: 13px; ">All installs should be placed relative to ${D}. See one of the many other recipes that define do_install for examples :)<br></div>
<div><div><br></div><div>-- </div><div>Christopher Larson</div><div><br></div></div>
<p style="color: #A0A0A8;">On Monday, March 19, 2012 at 2:57 PM, simran singh wrote:</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
<span><div><div>
<div dir="ltr">
So install something along the lines:<div><br></div><div>do_install(){</div><div> python configure.py --prefix=${libdir}/botan</div><div>}<br><br>When I do that, I get a permission denied error:</div><div>mkdir: cannot create directory /usr/lib/botan</div><div><br></div><div>Sorry I am still significantly new to open embedded and bitbake.</div><div><br></div><div>Thanks,</div><div>Simran<br><br><div><hr>Date: Mon, 19 Mar 2012 14:39:13 -0700<br>From: <a href="mailto:kergoth@gmail.com">kergoth@gmail.com</a><br>To: <a href="mailto:openembedded-core@lists.openembedded.org">openembedded-core@lists.openembedded.org</a><br>Subject: Re: [OE-core] Linking two recipes<br><br>
<div style="font-family:Helvetica;font-size:13px">/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.<br></div>
<div><div><br></div><div>-- </div><div>Christopher Larson</div><div><br></div></div>
<p style="color:#A0A0A8">On Monday, March 19, 2012 at 2:33 PM, simran singh wrote:</p><blockquote type="cite"><div>
<span><div><div>
<div dir="ltr">
Hello Richard,<div><br></div><div>I did try the DEPENDS variable before but still doesnt solve the problem.</div><div>A configure script in recipe B has to run a program that is built under ${D}/usr/botan by recipe A. </div><div>Even if i pass the path to the configure script, it is unable to find the script. ./configure --with-botan=............./usr/botan</div><div>Thanks.</div><div><br></div><div>Simran</div><div><br><br><div>> From: <a href="mailto:richard.purdie@linuxfoundation.org">richard.purdie@linuxfoundation.org</a><br>> To: <a href="mailto:openembedded-core@lists.openembedded.org">openembedded-core@lists.openembedded.org</a><br>> Date: Mon, 19 Mar 2012 21:22:30 +0000<br>> Subject: Re: [OE-core] Linking two recipes<br>> <br>> On Mon, 2012-03-19 at 13:59 -0700, simran singh wrote:<br>> > Hello,<br>> > I have recipes for two applications Recipe A and Recipe B. Recipe B<br>> > requires a lib.so file and init.h file which are installed by Recipe<br>> > A.<br>> > How do I acknowledge this dependency in Recipe B. I tried doing<br>> > do_stage() function in recipe A with no success. Please advice.<br>> > I am attaching the two recipes.<br>> > Thank you for any help.<br>> <br>> recipe B needs to do:<br>> <br>> DEPENDS += "recipeA"<br>> <br>> Cheers,<br>> <br>> Richard<br>> <br>> <br>> <br>> _______________________________________________<br>> Openembedded-core mailing list<br>> <a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.openembedded.org</a><br>> <a href="http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core" target="_blank">http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core</a><br></div></div>                                            </div>
</div><div><div>_______________________________________________</div><div>Openembedded-core mailing list</div><div><a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.openembedded.org</a></div><div><a href="http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core" target="_blank">http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core</a></div></div></div></span>
</div></blockquote><div>
<br>
</div>
<br>_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
<a href="http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core">http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core</a></div></div>                                            </div>
</div><div><div>_______________________________________________</div><div>Openembedded-core mailing list</div><div><a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.openembedded.org</a></div><div><a href="http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core">http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core</a></div></div></div></span>
</blockquote>
<div>
<br>
</div>