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: kerg...@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, 
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.pur...@linuxfoundation.org
> To: 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
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
                                          
_______________________________________________Openembedded-core mailing 
listOpenembedded-core@lists.openembedded.orghttp://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
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to