[OE-core] Linking two recipes

simran singh kyoonn at hotmail.com
Mon Mar 19 21:57:03 UTC 2012


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 at gmail.com
To: openembedded-core at 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/botanThanks.
Simran

> From: richard.purdie at linuxfoundation.org
> To: openembedded-core at 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 at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
 		 	   		  
_______________________________________________Openembedded-core mailing listOpenembedded-core at lists.openembedded.orghttp://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
                 
                 
                 
                 
                
                 
                
                    

                
            
_______________________________________________
Openembedded-core mailing list
Openembedded-core at lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120319/d658bd93/attachment-0002.html>


More information about the Openembedded-core mailing list